refactor: rename Puppet class to Prop3D across the codebase

This commit is contained in:
AndreaRigoni
2026-04-08 15:47:33 +00:00
parent 77f00a2b8a
commit f7ba4b1a17
63 changed files with 412 additions and 413 deletions

View File

@@ -88,7 +88,7 @@ void QViewportPane::toggleDisplayPanel() {
void QViewportPane::setObject(uLib::Object* obj) {
m_displayEditor->setObject(obj, true);
// Auto-show panel if it's a puppet and we want to highlight this feature?
// Auto-show panel if it's a prop3d and we want to highlight this feature?
// User asked for "hiding panel", so maybe we don't auto-show.
}
@@ -179,9 +179,9 @@ void QViewportPane::AttemptSplit(Qt::Orientation orientation) {
if (currentVtk) {
auto* newVtk = qobject_cast<uLib::Vtk::QViewport*>(newPane->currentViewport());
if (newVtk) {
// Copy puppets
for (auto* puppet : currentVtk->getPuppets()) {
newVtk->AddPuppet(*puppet);
// Copy prop3ds
for (auto* prop3d : currentVtk->getProp3Ds()) {
newVtk->AddProp3D(*prop3d);
}
// Copy camera
if (currentVtk->GetRenderer() && newVtk->GetRenderer()) {