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 */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to