forked from qt-creator/qt-creator
Implement texture context menu
Apply to selected model/material, delete, duplicate, and create new options are available in the menu. Fixes: QDS-8342 Change-Id: Ib9bdc1738500a87361000bcd3e89403e3b8ccef8 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -787,7 +787,7 @@ void TextureEditorView::customNotification([[maybe_unused]] const AbstractView *
|
||||
m_dynamicPropertiesModel->setSelectedNode(m_selectedTexture);
|
||||
QTimer::singleShot(0, this, &TextureEditorView::resetView);
|
||||
}
|
||||
} else if (identifier == "apply_texture_to_selected_triggered") {
|
||||
} else if (identifier == "apply_texture_to_selected_model") {
|
||||
applyTextureToSelectedModel(nodeList.first());
|
||||
} else if (identifier == "add_new_texture") {
|
||||
handleToolBarAction(TextureEditorContextObject::AddNewTexture);
|
||||
|
||||
Reference in New Issue
Block a user