[Bf-blender-cvs] [c042f82b893] soc-2019-outliner: Outliner: Redraw on constraint reordering
Nathan Craddock
noreply at git.blender.org
Sun Jun 9 06:38:21 CEST 2019
Commit: c042f82b893a9520a226fc487b08708e5c71b1ee
Author: Nathan Craddock
Date: Sat Jun 8 09:04:55 2019 -0600
Branches: soc-2019-outliner
https://developer.blender.org/rBc042f82b893a9520a226fc487b08708e5c71b1ee
Outliner: Redraw on constraint reordering
Rather than restricting which constraint actions redraw the outliner,
all will (similar to modifiers). This will redraw on constraint
reorder
===================================================================
M source/blender/editors/space_outliner/space_outliner.c
===================================================================
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index 17decb45ff1..d103322d912 100644
--- a/source/blender/editors/space_outliner/space_outliner.c
+++ b/source/blender/editors/space_outliner/space_outliner.c
@@ -145,13 +145,8 @@ static void outliner_main_region_listener(wmWindow *UNUSED(win),
ED_region_tag_redraw(ar);
break;
case ND_CONSTRAINT:
- switch (wmn->action) {
- case NA_ADDED:
- case NA_REMOVED:
- case NA_RENAME:
- ED_region_tag_redraw(ar);
- break;
- }
+ /* all constraint actions now, for reordering */
+ ED_region_tag_redraw(ar);
break;
case ND_MODIFIER:
/* all modifier actions now */
More information about the Bf-blender-cvs
mailing list