Material: PartDesign DiffuseColor custom attribute

PartDesign features did not inherit the custom attribute for
DiffuseColors as expected. The inheritance chain was incorrect. Also
added tests to ensure it's available.

fixes #15364
This commit is contained in:
David Carter
2024-07-27 20:28:07 -04:00
committed by Chris Hennes
parent aef0dff13a
commit 233fcd1416
4 changed files with 107 additions and 4 deletions

View File

@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="ViewProviderDocumentObjectPy"
Father="ViewProviderPartExtPy"
Name="ViewProviderPy"
Twin="ViewProvider"
TwinPointer="ViewProvider"
Include="Mod/PartDesign/Gui/ViewProvider.h"
Namespace="PartDesignGui"
FatherInclude="Gui/ViewProviderDocumentObjectPy.h"
FatherNamespace="Gui">
FatherInclude="Mod/Part/Gui/ViewProviderPartExtPy.h"
FatherNamespace="PartGui">
<Documentation>
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
<UserDocu>This is the father of all PartDesign ViewProvider classes</UserDocu>