diff --git a/qglengine/widgets/scene_tree.cpp b/qglengine/widgets/scene_tree.cpp index e32307c..94f1047 100644 --- a/qglengine/widgets/scene_tree.cpp +++ b/qglengine/widgets/scene_tree.cpp @@ -87,6 +87,7 @@ void SceneTree::assignQGLView(QGLView * v) { connect(view->scene(), SIGNAL(treeChanged()), this, SLOT(objectsTreeChanged())); connect(view->scene(), SIGNAL(__objectDeleted(ObjectBase*)), this, SLOT(__objectDeleted(ObjectBase*))); view->setContextActions(actionsSelection()); + checkActions(); } @@ -272,6 +273,7 @@ void SceneTree::checkActions() { ui->actionRemove->setEnabled(has_1); ui->actionClone ->setEnabled(has_1); ui->actionGroup->setEnabled(has_m); + ui->actionTransfer_transform_to_children->setEnabled(has_1); ui->actionSelect_parent->setEnabled(has_1); ui->actionSelect_by_mesh->setEnabled(has_1); ui->actionSelect_by_material->setEnabled(has_1);