Fix more typos
This commit is contained in:
@@ -294,7 +294,7 @@ public:
|
||||
* tracking of external objects, therefore the link will not by auto broken
|
||||
* when external document is closed. Only use this for temporary case, or
|
||||
* if you handle signalDeleteDocument yourself, or use one of the
|
||||
* ProeprtyXLink related property.
|
||||
* PropertyXLink related property.
|
||||
*/
|
||||
void setAllowExternal(bool allow);
|
||||
|
||||
|
||||
@@ -303,7 +303,7 @@ PyObject* GeometryPy::getExtensionOfName(PyObject *args)
|
||||
try {
|
||||
std::shared_ptr<GeometryExtension> ext(this->getGeometryPtr()->getExtension(std::string(o)));
|
||||
|
||||
// we create a copy and trasnfer this copy's memory management responsibility to Python
|
||||
// we create a copy and transfer this copy's memory management responsibility to Python
|
||||
PyObject* cpy = static_cast<GeometryExtensionPy *>(ext->getPyObject())->copy(Py::new_reference_to(Py::Tuple(size_t(0))));
|
||||
|
||||
return cpy;
|
||||
|
||||
Reference in New Issue
Block a user