summaryrefslogtreecommitdiff
path: root/tools/editor/project_export.cpp
diff options
context:
space:
mode:
authorsanikoyes <sanikoyes@163.com>2014-10-23 18:04:21 +0800
committersanikoyes <sanikoyes@163.com>2014-10-23 18:04:21 +0800
commit26d399d9858e6cd7a2a28ab75352a2f18a72b11d (patch)
treecb781661016515db5ae44581ce82ed36640c2924 /tools/editor/project_export.cpp
parent371eac9beffdfe416b8555ee006baf0ffae2bef3 (diff)
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
Diffstat (limited to 'tools/editor/project_export.cpp')
-rw-r--r--tools/editor/project_export.cpp4
1 files changed, 4 insertions, 0 deletions
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() {