Gui: expose ViewProviderGeometryObject::getUserDefinedMaterial() to Python

This commit is contained in:
wmayer
2024-04-25 17:56:58 +02:00
parent e85954e8a3
commit e591b95228
5 changed files with 21 additions and 3 deletions

View File

@@ -96,6 +96,7 @@ public:
/// Get the python wrapper for that ViewProvider
PyObject* getPyObject() override;
static App::Material getUserDefinedMaterial();
protected:
/// get called by the container whenever a property has been changed
@@ -110,7 +111,6 @@ protected:
private:
void setSoMaterial(const App::Material& source);
App::Material getDefaultMaterial() const;
bool isSelectionEnabled() const;
protected: