svn merge ^/trunk/blender -r47003:47047
[blender.git] / source / blender / makesrna / intern / makesrna.c
index 9d5eadf73c02c52cbd799d11b689da96758318c1..3d92f6b0ec1d146025e88ea36eefa4538f719654 100644 (file)
@@ -821,7 +821,7 @@ static char *rna_def_property_set_func(FILE *f, StructRNA *srna, PropertyRNA *pr
 
                                if (prop->flag & PROP_ID_SELF_CHECK) {
                                        rna_print_id_get(f, dp);
-                                       fprintf(f, "    if (id==value.data) return;\n\n");
+                                       fprintf(f, "    if (id == value.data) return;\n\n");
                                }
 
                                if (prop->flag & PROP_ID_REFCOUNT) {