diff options
author | Ton Roosendaal <ton@blender.org> | 2011-04-07 17:14:08 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-04-07 17:14:08 +0400 |
commit | 545b0a483dc62c61181c0a0683646c4532f1661e (patch) | |
tree | 8a672603de9e160b202c3b96e2cbce9591ae717d /source/blender/makesrna/intern/rna_modifier.c | |
parent | 5c2b8baa4be7b8d2c9011d7a6d6ae22747918b19 (diff) |
Bugfix #26748
Boolean modifier should be restricted to Mesh objects only.
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index c4a5e4966d3..c41fa86a9a4 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -1129,7 +1129,7 @@ static void rna_def_modifier_boolean(BlenderRNA *brna) prop= RNA_def_property(srna, "object", PROP_POINTER, PROP_NONE); RNA_def_property_ui_text(prop, "Object", "Mesh object to use for Boolean operation"); - RNA_def_property_pointer_funcs(prop, NULL, "rna_BooleanModifier_object_set", NULL, NULL); + RNA_def_property_pointer_funcs(prop, NULL, "rna_BooleanModifier_object_set", NULL, "rna_Mesh_object_poll"); RNA_def_property_flag(prop, PROP_EDITABLE|PROP_ID_SELF_CHECK); RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update"); |