From 26d399d9858e6cd7a2a28ab75352a2f18a72b11d Mon Sep 17 00:00:00 2001 From: sanikoyes Date: Thu, 23 Oct 2014 18:04:21 +0800 Subject: Fix Export -> image group panel 1.click group item doe's not refresh group_images 2.Switch to Atlas mode that preview button doe's not shown --- tools/editor/project_export.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/editor') diff --git a/tools/editor/project_export.cpp b/tools/editor/project_export.cpp index 1da29c5e7b..a0031ff456 100644 --- a/tools/editor/project_export.cpp +++ b/tools/editor/project_export.cpp @@ -529,6 +529,8 @@ void ProjectExportDialog::_group_selected() { _update_group(); //? + + _update_group_tree(); } String ProjectExportDialog::_get_selected_group() { @@ -738,6 +740,8 @@ void ProjectExportDialog::_group_changed(Variant v) { EditorNode::get_undo_redo()->add_undo_method(this,"_save_export_cfg"); EditorNode::get_undo_redo()->commit_action(); updating=false; + // update atlas preview button + _update_group(); } void ProjectExportDialog::_group_item_edited() { -- cgit v1.2.3