[Bf-blender-cvs] [5ffcd36] fluid-mantaflow: clean up for variable names
Sebastián Barschkis
noreply at git.blender.org
Mon Aug 8 15:52:48 CEST 2016
Commit: 5ffcd36578fd45a80c55db90d81700b38f7713e5
Author: Sebastián Barschkis
Date: Sun Aug 7 20:34:54 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rB5ffcd36578fd45a80c55db90d81700b38f7713e5
clean up for variable names
===================================================================
M source/blender/makesdna/DNA_smoke_types.h
M source/blender/makesrna/intern/rna_smoke.c
===================================================================
diff --git a/source/blender/makesdna/DNA_smoke_types.h b/source/blender/makesdna/DNA_smoke_types.h
index 52021ca..5085f32 100644
--- a/source/blender/makesdna/DNA_smoke_types.h
+++ b/source/blender/makesdna/DNA_smoke_types.h
@@ -209,7 +209,7 @@ typedef struct SmokeDomainSettings {
/* behavior */
#define MOD_SMOKE_FLOW_BEHAVIOR_INFLOW 0
#define MOD_SMOKE_FLOW_BEHAVIOR_OUTFLOW 1
-#define MOD_SMOKE_FLOW_BEHAVIOR_STATIC 2
+#define MOD_SMOKE_FLOW_BEHAVIOR_GEOMETRY 2
/* flow source */
#define MOD_SMOKE_FLOW_SOURCE_PARTICLES 0
diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c
index e804e98..2e270ca 100644
--- a/source/blender/makesrna/intern/rna_smoke.c
+++ b/source/blender/makesrna/intern/rna_smoke.c
@@ -459,11 +459,11 @@ static void rna_def_smoke_domain_settings(BlenderRNA *brna)
};
static EnumPropertyItem smoke_domain_colli_items[] = {
- {SM_BORDER_OPEN, "BORDEROPEN", 0, "Open", "Smoke doesn't collide with any border"},
+ {SM_BORDER_OPEN, "BORDEROPEN", 0, "Open", "Fluid doesn't collide with any border"},
{SM_BORDER_VERTICAL, "BORDERVERTICAL", 0, "Vertically Open",
- "Smoke doesn't collide with top and bottom sides"},
- {SM_BORDER_CLOSED, "BORDERCLOSED", 0, "Collide All", "Smoke collides with every side"},
- {SM_BORDER_HORIZONTAL, "BORDERHORIZONTAL", 0, "Horizontally Open", "Smoke doesn't collide with left, right, front and back sides"},
+ "Fluid doesn't collide with top and bottom sides"},
+ {SM_BORDER_CLOSED, "BORDERCLOSED", 0, "Collide All", "Fluid collides with every side"},
+ {SM_BORDER_HORIZONTAL, "BORDERHORIZONTAL", 0, "Horizontally Open", "Fluid doesn't collide with left, right, front and back sides"},
{0, NULL, 0, NULL, NULL}
};
@@ -833,7 +833,7 @@ static void rna_def_smoke_flow_settings(BlenderRNA *brna)
static EnumPropertyItem smoke_flow_behaviors[] = {
{MOD_SMOKE_FLOW_BEHAVIOR_INFLOW, "INFLOW", 0, "Inflow", "Add fluid to simulation"},
{MOD_SMOKE_FLOW_BEHAVIOR_OUTFLOW, "OUTFLOW", 0, "Outflow", "Delete fluid from simulation"},
- {MOD_SMOKE_FLOW_BEHAVIOR_STATIC, "STATIC", 0, "Static", "Only use given geometry for fluid"},
+ {MOD_SMOKE_FLOW_BEHAVIOR_GEOMETRY, "GEOMETRY", 0, "Geometry", "Only use given geometry for fluid"},
{0, NULL, 0, NULL, NULL}
};
More information about the Bf-blender-cvs
mailing list