Commit: d1e68a92aa55146d4adf5be014fda4606a5db54d
Author: Julian Eisel
Date: Mon Oct 3 01:35:02 2016 +0200
Branches: temp_manipulators_core
https://developer.blender.org/rBd1e68a92aa55146d4adf5be014fda4606a5db54d
Fix local ListBase var not initialized
===================================================================
M source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c
===================================================================
diff --git
a/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c
b/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c
index dab7d61..1aa71ce 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c
@@ -419,7 +419,7 @@ wmManipulator
*wm_manipulatormap_find_highlighted_manipulator(
unsigned char *part)
{
wmManipulator *manipulator = NULL;
- ListBase visible_3d_manipulators;
+ ListBase visible_3d_manipulators = {NULL};
for (wmManipulatorGroup *mgroup = mmap->manipulator_groups.first;
mgroup; mgroup = mgroup->next) {
if (wm_manipulatorgroup_is_visible(mgroup, C)) {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs