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>2020-06-13 05:50:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-13 05:50:19 +0300
commita35de34eb78aba5e08938066c0ecdcb05f677a8f (patch)
tree7f207e463990d5050174fe0dfa9cc220f64c7b58
parentdea2c3f256435f6384c1b42e9073a014489011b0 (diff)
Cleanup: clang-format, unused variable
-rw-r--r--source/blender/makesdna/DNA_cloth_types.h3
-rw-r--r--source/blender/makesrna/intern/rna_ID.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_cloth_types.h b/source/blender/makesdna/DNA_cloth_types.h
index 2b66bb771e1..9d9ee711339 100644
--- a/source/blender/makesdna/DNA_cloth_types.h
+++ b/source/blender/makesdna/DNA_cloth_types.h
@@ -109,7 +109,8 @@ typedef struct ClothSimSettings {
pressure=( (current_volume/target_volume) - 1 + uniform_pressure_force) *
pressure_factor */
float pressure_factor;
- /* Density of the fluid inside or outside the object for use in the hydrostatic pressure gradient. */
+ /* Density of the fluid inside or outside the object for use in the hydrostatic pressure
+ * gradient. */
float fluid_density;
short vgroup_pressure;
char _pad7[6];
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c
index bc4ba6dd387..97536e31003 100644
--- a/source/blender/makesrna/intern/rna_ID.c
+++ b/source/blender/makesrna/intern/rna_ID.c
@@ -1421,7 +1421,6 @@ static void rna_def_ID_override_library_property(BlenderRNA *brna)
static void rna_def_ID_override_library(BlenderRNA *brna)
{
StructRNA *srna;
- PropertyRNA *prop;
srna = RNA_def_struct(brna, "IDOverrideLibrary", NULL);
RNA_def_struct_ui_text(