Skip to content

Commit eb83067

Browse files
committed
[Sofa.Core/Bindings] FIXUP merge error on Binding_Node
1 parent df0277e commit eb83067

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Node.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,6 @@ py::object addObjectKwargs(Node* self, const std::string& type, const py::kwargs
224224
fillBaseObjectdescription(desc, kwargs);
225225
auto object = ObjectFactory::getInstance()->createObject(self, &desc);
226226

227-
auto finfo = PythonEnvironment::getPythonCallingPointAsFileInfo();
228-
object->setInstanciationSourceFileName(finfo->filename);
229-
object->setInstanciationSourceFilePos(finfo->line);
230-
231227
/// After calling createObject the returned value can be either a nullptr
232228
/// or non-null but with error message or non-null.
233229
/// Let's first handle the case when the returned pointer is null.

0 commit comments

Comments
 (0)