From e9aaa6bb7049c84f2e44c43f32e30641bdba9a02 Mon Sep 17 00:00:00 2001 From: marco <marco@5a81b35b-ba03-0410-adc8-b2c5c5119f08> Date: Fri, 23 Apr 2010 08:08:29 +0000 Subject: [PATCH] allow to create invalid EntityViews git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2109 5a81b35b-ba03-0410-adc8-b2c5c5119f08 --- modules/mol/base/pymod/export_entity_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mol/base/pymod/export_entity_view.cc b/modules/mol/base/pymod/export_entity_view.cc index 66bd21c44..293401f1c 100644 --- a/modules/mol/base/pymod/export_entity_view.cc +++ b/modules/mol/base/pymod/export_entity_view.cc @@ -86,7 +86,7 @@ void export_EntityView() Real (EntityView::*get_angle1)(const AtomHandle&, const AtomHandle&, const AtomHandle&) const = &EntityView::GetAngle; Real (EntityView::*get_angle2)(const AtomView&, const AtomView&, const AtomView&) const = &EntityView::GetAngle; - class_<EntityView, bases<EntityBase> >("EntityView", no_init) + class_<EntityView, bases<EntityBase> >("EntityView", init<>()) .def("Apply",apply1) .def("Apply",apply2) .def("Copy", &EntityView::Copy) -- GitLab