mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
Expose root object as Python class.
To make it possible to always call get_name on a sub operation.
This commit is contained in:
parent
2eeab96efa
commit
a10de0db7d
6 changed files with 159 additions and 3 deletions
|
|
@ -90,7 +90,7 @@ std::vector<double> CyPy_RootEntity::sequence_asVector(const Py::Object& o)
|
|||
|
||||
Py::Object CyPy_RootEntity::get_name()
|
||||
{
|
||||
return Py::String("obj");
|
||||
return Py::String(m_value->getName());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue