[Bf-blender-cvs] [0bc64487464] soc-2019-outliner: Outliner: Silence warning on visibility

Nathan Craddock noreply at git.blender.org
Tue Jun 18 18:58:54 CEST 2019


Commit: 0bc644874649ad1440868213a324edc3f2496e95
Author: Nathan Craddock
Date:   Tue Jun 18 10:58:22 2019 -0600
Branches: soc-2019-outliner
https://developer.blender.org/rB0bc644874649ad1440868213a324edc3f2496e95

Outliner: Silence warning on visibility

Missing a break within a switch.

===================================================================

M	source/blender/editors/space_outliner/outliner_tree.c

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index f4e55c3e6b7..1ea08b87e5c 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -2010,6 +2010,7 @@ static int outliner_exclude_filter_get(SpaceOutliner *soops)
       break;
     case SO_FILTER_OB_INVISIBLE:
       exclude_filter |= SO_FILTER_OB_STATE_INVISIBLE;
+      break;
     case SO_FILTER_OB_SELECTED:
       exclude_filter |= SO_FILTER_OB_STATE_SELECTED;
       break;



More information about the Bf-blender-cvs mailing list