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>2018-01-18 06:02:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-01-18 06:02:26 +0300
commit6880a549ba4bb4150c17df196a1d6d24e66d8486 (patch)
tree98bc80105ec0b7d623082f5f4f70d72a32258f49 /source/blender/makesdna
parent9b04a4707077e0c1e61c1aa85d506a6661efa7de (diff)
Fix weight particle brush versioning
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 0f15ac0ff7f..1ce94fb226f 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -1070,7 +1070,7 @@ typedef struct ParticleEditSettings {
short totaddkey;
short brushtype;
- ParticleBrushData brush[7]; /* 7 = PE_TOT_BRUSH */
+ ParticleBrushData brush[7];
void *paintcursor; /* runtime */
float emitterdist, rt;
@@ -2236,9 +2236,6 @@ typedef enum eGPencil_Placement_Flags {
#define PE_BRUSH_SMOOTH 5
#define PE_BRUSH_WEIGHT 6
-/* this must equal ParticleEditSettings.brush array size */
-#define PE_TOT_BRUSH 6
-
/* ParticleBrushData.flag */
#define PE_BRUSH_DATA_PUFF_VOLUME 1