Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-25 13:25:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-25 13:25:24 +0400
commitabc059f99aa8f5ad9a959e25262b561c54a7b209 (patch)
treed999965d344df777fff580ef21f0126e6e82d244 /source/blender/makesrna
parent5af5f2f21ccd66d9c8b1325f19c6e236b15ffe25 (diff)
fix [#33299] When I click right button on proportional editing mode button Blender crashes (segmentation fault)
RNA_path_from_ID_to_property() would return an uninitialized pointer.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_access.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index 65b8131ef56..a69bc8f2d21 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -4156,6 +4156,9 @@ char *RNA_path_from_ID_to_property(PointerRNA *ptr, PropertyRNA *prop)
else
path = BLI_sprintfN("[\"%s\"]", propname);
}
+ else {
+ path = NULL;
+ }
return path;
}