[Bf-blender-cvs] [9ff8d4a] master: fix enum type / values mismatch
Mike Erwin
noreply at git.blender.org
Fri Jul 22 00:52:58 CEST 2016
Commit: 9ff8d4a9578619786a39abfd40174e227df38152
Author: Mike Erwin
Date: Thu Jul 21 18:26:54 2016 -0400
Branches: master
https://developer.blender.org/rB9ff8d4a9578619786a39abfd40174e227df38152
fix enum type / values mismatch
Found with PVS-Studio T48917
===================================================================
M source/blender/editors/space_outliner/outliner_tools.c
===================================================================
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index 111e60e..e38886a 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -1345,7 +1345,7 @@ static int outliner_lib_operation_exec(bContext *C, wmOperator *op)
Scene *scene = CTX_data_scene(C);
SpaceOops *soops = CTX_wm_space_outliner(C);
int scenelevel = 0, objectlevel = 0, idlevel = 0, datalevel = 0;
- eOutlinerIdOpTypes event;
+ eOutlinerLibOpTypes event;
/* check for invalid states */
if (soops == NULL)
More information about the Bf-blender-cvs
mailing list