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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-02-19 00:28:04 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-02-19 00:28:04 +0300
commitb6b910f8649cd28edfdd5c10252014a22d2eb0c4 (patch)
treefc4f108c727d222dadef2b5df318ea45c39f3e92 /source/blender/makesrna
parent66698e9d71c3ff900ff45a01051899f22399950f (diff)
RNA: fix for bug in particle code, hopefully this solves the crash?
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 6f3bbc5bf44..fbf4e048f96 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -34,6 +34,7 @@
#include "DNA_particle_types.h"
#ifdef RNA_RUNTIME
+
static void rna_PartSettings_start_set(struct PointerRNA *ptr, float value)
{
ParticleSettings *settings = (ParticleSettings*)ptr->data;
@@ -176,7 +177,8 @@ static void rna_def_particle_data(BlenderRNA *brna)
{PARS_DEAD, "DEAD", "Dead", ""},
{PARS_UNBORN, "UNBORN", "Unborn", ""},
{PARS_ALIVE, "ALIVE", "Alive", ""},
- {PARS_DYING, "DYING", "Dying", ""}
+ {PARS_DYING, "DYING", "Dying", ""},
+ {0, NULL, NULL, NULL}
};
srna = RNA_def_struct(brna, "Particle", NULL);