PD: fix shape appearance of datum features, shape binder and sub-shape binder

This commit is contained in:
wmayer
2024-04-06 02:20:52 +02:00
parent b7bc6ad1e6
commit 780481f6ed
3 changed files with 16 additions and 0 deletions

View File

@@ -101,6 +101,10 @@ ViewProviderDatum::~ViewProviderDatum()
void ViewProviderDatum::attach(App::DocumentObject *obj)
{
if (auto geo = dynamic_cast<App::GeoFeature*>(obj)) {
geo->setMaterialAppearance(ShapeAppearance[0]);
}
ViewProviderGeometryObject::attach ( obj );
// TODO remove this field (2015-09-08, Fat-Zer)