ViewProviderSketch: update geometry layer configuration on visual layer property change
This commit is contained in:
committed by
abdullahtahiriyo
parent
2f34f01c10
commit
a8ebeaa27d
@@ -2761,6 +2761,13 @@ void ViewProviderSketch::updateData(const App::Property *prop)
|
||||
|
||||
void ViewProviderSketch::onChanged(const App::Property *prop)
|
||||
{
|
||||
if (prop == &VisualLayerList) {
|
||||
if(isInEditMode()) {
|
||||
// Configure and rebuild Coin SceneGraph
|
||||
editCoinManager->updateGeometryLayersConfiguration();
|
||||
}
|
||||
return;
|
||||
}
|
||||
// call father
|
||||
ViewProviderPart::onChanged(prop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user