forked from qt-creator/qt-creator
QmlDesigner: Update 3D edit view on state change
Change-Id: I56b16afe4d9ccab802d6e07f60b57e46a353cc26 Fixes: QDS-2378 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -1261,6 +1261,13 @@ void Qt5InformationNodeInstanceServer::changeIds(const ChangeIdsCommand &command
|
||||
}
|
||||
}
|
||||
|
||||
void Qt5InformationNodeInstanceServer::changeState(const ChangeStateCommand &command)
|
||||
{
|
||||
Qt5NodeInstanceServer::changeState(command);
|
||||
|
||||
render3DEditView();
|
||||
}
|
||||
|
||||
// update 3D view size when it changes in creator side
|
||||
void Qt5InformationNodeInstanceServer::update3DViewState(const Update3dViewStateCommand &command)
|
||||
{
|
||||
|
@@ -62,6 +62,7 @@ public:
|
||||
void changeAuxiliaryValues(const ChangeAuxiliaryCommand &command) override;
|
||||
void changePropertyBindings(const ChangeBindingsCommand &command) override;
|
||||
void changeIds(const ChangeIdsCommand &command) override;
|
||||
void changeState(const ChangeStateCommand &command) override;
|
||||
|
||||
private slots:
|
||||
void handleSelectionChanged(const QVariant &objs);
|
||||
|
Reference in New Issue
Block a user