feat: implement MultiSelectionProp to support grouped object transformation and selection in Viewport

This commit is contained in:
AndreaRigoni
2026-04-10 20:42:24 +00:00
parent f8f92ebf3d
commit e320c932d2
7 changed files with 305 additions and 15 deletions

View File

@@ -136,6 +136,10 @@ Prop3D *ObjectsContext::CreateProp3D(uLib::Object *obj) {
if (!obj)
return nullptr;
if (auto* p3d = dynamic_cast<Prop3D*>(obj)) {
return p3d;
}
if (auto *vox = dynamic_cast<uLib::Abstract::VoxImage *>(obj)) {
return new VoxImage(vox);
} else if (auto *box = dynamic_cast<uLib::ContainerBox *>(obj)) {