diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-27 06:49:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-27 06:49:59 +0300 |
commit | 414017ac869f292eaabaefc44e15d2aebd6fbd52 (patch) | |
tree | 61d3e38bc0e73de7451853a2337dd6795604e9f7 /source/blender/makesrna | |
parent | ee367084a7ee499d99f32b4343b4e7905f6afa5c (diff) |
Cleanup: clang-format
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_depsgraph.c | 9 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 11 |
2 files changed, 9 insertions, 11 deletions
diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c index d226e2aa832..85071e8cd19 100644 --- a/source/blender/makesrna/intern/rna_depsgraph.c +++ b/source/blender/makesrna/intern/rna_depsgraph.c @@ -505,11 +505,10 @@ static void rna_def_depsgraph_instance(BlenderRNA *brna) PropertyRNA *prop; srna = RNA_def_struct(brna, "DepsgraphObjectInstance", NULL); - RNA_def_struct_ui_text( - srna, - "Dependency Graph Object Instance", - "Extended information about dependency graph object iterator " - "(Warning: All data here is 'evaluated' one, not original .blend IDs)"); + RNA_def_struct_ui_text(srna, + "Dependency Graph Object Instance", + "Extended information about dependency graph object iterator " + "(Warning: All data here is 'evaluated' one, not original .blend IDs)"); prop = RNA_def_property(srna, "object", PROP_POINTER, PROP_NONE); RNA_def_property_struct_type(prop, "Object"); diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index f85acf07955..21e9328d043 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -2969,12 +2969,11 @@ static void rna_def_object(BlenderRNA *brna) RNA_def_property_float_funcs( prop, "rna_Object_dimensions_get", "rna_Object_dimensions_set", NULL); RNA_def_property_ui_range(prop, 0.0f, FLT_MAX, 1, RNA_TRANSLATION_PREC_DEFAULT); - RNA_def_property_ui_text( - prop, - "Dimensions", - "Absolute bounding box dimensions of the object.\n" - "Warning: Assigning to it or its members multiple consecutive times " - "will not work correctly, as this needs up-to-date evaluated data"); + RNA_def_property_ui_text(prop, + "Dimensions", + "Absolute bounding box dimensions of the object.\n" + "Warning: Assigning to it or its members multiple consecutive times " + "will not work correctly, as this needs up-to-date evaluated data"); RNA_def_property_update(prop, NC_OBJECT | ND_TRANSFORM, "rna_Object_internal_update"); /* delta transforms */ |