Materials: Child ignoring parent material
Inherit the material from the parent object when creating a new object, such as during a boolean operation, or when extruding a sketch. fixes #15503
This commit is contained in:
committed by
Yorik van Havre
parent
d67bb37bc7
commit
e4bf988db2
@@ -136,6 +136,7 @@ App::DocumentObjectExecReturn* Boolean::execute()
|
||||
res = res.makeElementRefine();
|
||||
}
|
||||
this->Shape.setValue(res);
|
||||
copyMaterial(base);
|
||||
return Part::Feature::execute();
|
||||
}
|
||||
catch (...) {
|
||||
|
||||
Reference in New Issue
Block a user