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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-07-21 16:54:42 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-07-21 16:54:42 +0300
commit5605c26fcdae0426510aaa2a87da1fe372b2d9c0 (patch)
treebf1e11db9d6e09fbe186d2acd1281f2a6dafb877 /source/blender/makesrna/intern/rna_object.c
parentcd301bf654d7009814589d469ab2b4c9e6be5d63 (diff)
Fix function declaration of some modifiers
Those functions did not use evaluation context. Also fixed lots of unused variables warnings caused by commented out code which needs to be ported away from DerivedMesh and to evaluation context.
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r--source/blender/makesrna/intern/rna_object.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 79403b3253e..de07785081e 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -862,6 +862,9 @@ static void rna_Object_particle_update(Main *UNUSED(bmain), Scene *scene, Pointe
#if 0
Object *ob = (Object *)ptr->id.data;
PE_current_changed(NULL, scene, ob);
+#else
+ (void) scene;
+ (void) ptr;
#endif
}