diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-30 04:20:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-30 04:20:05 +0400 |
commit | 9a9e04edfba277e6315be8a4a400fbda2b1423d3 (patch) | |
tree | 719e7a62bf41441f4f7b66905eec55f430a61b06 /source/blender/blenloader/intern/readfile.c | |
parent | eec131899647cdf17c50553e265a925857f35cfe (diff) |
patch [#23060] ColorRamp python access functions
from Dan Eicher (dna)
elem = color_ramp.elements.new(position=0.3)
color_ramp.elements.remove(elem)
- Modified the patch to make generic functions for adding and removing (inline code was in 3 different places)
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 3227d4b25bb..c050f25256a 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -11078,10 +11078,6 @@ static void do_versions(FileData *fd, Library *lib, Main *main) if((smd->type & MOD_SMOKE_TYPE_DOMAIN) && smd->domain) { - GroupObject *go = NULL; - Base *base = NULL; - Scene *scene = NULL; - smd->domain->vorticity = 2.0f; smd->domain->time_scale = 1.0f; |