diff options
author | Ton Roosendaal <ton@blender.org> | 2005-12-07 23:28:48 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-12-07 23:28:48 +0300 |
commit | 89974f154669d38ddb36ff839a5c8191affb6691 (patch) | |
tree | 4a9d5dcff4e4ba168decd9b9247ee3f7f7ce8edb /source/blender/src/editgroup.c | |
parent | 44c9b42f605a6c9b1ca57de949c524352edf4e25 (diff) |
Orange fixes;
- protected editing library data names in outliner
- layer-bone recode caused selection from posemode not to flush correctly
to editmode
Diffstat (limited to 'source/blender/src/editgroup.c')
-rw-r--r-- | source/blender/src/editgroup.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/src/editgroup.c b/source/blender/src/editgroup.c index 4370da8a419..f946a952b5b 100644 --- a/source/blender/src/editgroup.c +++ b/source/blender/src/editgroup.c @@ -42,14 +42,15 @@ #include "DNA_scene_types.h" #include "DNA_view3d_types.h" +#include "BKE_depsgraph.h" #include "BKE_group.h" #include "BKE_global.h" #include "BKE_main.h" -#include "BIF_space.h" #include "BIF_interface.h" -#include "BIF_toolbox.h" #include "BIF_editgroup.h" +#include "BIF_space.h" +#include "BIF_toolbox.h" #include "blendef.h" #include "mydevice.h" @@ -72,6 +73,8 @@ void add_selected_to_group(Group *group) allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWBUTSOBJECT, 0); + DAG_scene_sort(G.scene); + BIF_undo_push("Add to Group"); } void rem_selected_from_group(void) @@ -90,8 +93,10 @@ void rem_selected_from_group(void) } } + DAG_scene_sort(G.scene); allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWBUTSOBJECT, 0); + BIF_undo_push("Remove from Group"); } void group_operation_with_menu(void) |