Skip to content

Commit 68c8406

Browse files
authored
Restore xml and python different naming conventions (#241)
1 parent 91d722a commit 68c8406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ py::object addObjectKwargs(Node* self, const std::string& type, const py::kwargs
214214

215215
if (name.empty())
216216
{
217-
const auto resolvedName = self->getNameHelper().resolveName(object->getClassName(), name);
217+
const auto resolvedName = self->getNameHelper().resolveName(object->getClassName(), name, sofa::core::ComponentNameHelper::Convention::python);
218218
object->setName(resolvedName);
219219
}
220220

0 commit comments

Comments
 (0)