fix some on properties and signal connection
This commit is contained in:
@@ -208,6 +208,7 @@ void Viewport::SetupPipeline(vtkRenderWindowInteractor* iren)
|
||||
auto* self = static_cast<Viewport*>(clientdata);
|
||||
for (auto* p : self->m_Puppets) {
|
||||
if (p->IsSelected()) {
|
||||
p->SyncFromVtk();
|
||||
p->Update();
|
||||
}
|
||||
}
|
||||
@@ -518,6 +519,7 @@ void Viewport::SelectPuppet(Puppet* prop)
|
||||
}
|
||||
|
||||
Render();
|
||||
OnSelectionChanged(prop);
|
||||
}
|
||||
|
||||
void Viewport::SetGridVisible(bool visible)
|
||||
|
||||
Reference in New Issue
Block a user