App: refactor MaterialPy to avoid code duplication

This commit is contained in:
wmayer
2024-04-05 13:48:54 +02:00
parent 9a16a7108f
commit 4fe1192e51
3 changed files with 15 additions and 85 deletions

View File

@@ -63,5 +63,8 @@ Satin, Metalized, Neon GNC, Chrome, Aluminium, Obsidian, Neon PHC, Jade, Ruby or
<Parameter Name="Transparency" Type="Float"/>
</Attribute>
<CustomAttributes />
<ClassDeclarations>public:
static App::Color toColor(PyObject* value);
</ClassDeclarations>
</PythonExport>
</GenerateModel>