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>2019-04-19 16:36:18 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-04-19 16:41:31 +0300
commit03c81a4fff46f0d9bba4691916446b752e1bb9f5 (patch)
tree23c9da6376ae6eab8aa33ef0934bd0609f61716e /source/blender
parent4c4adeaa651ac777f6c2d7517bca30e9ba8004bc (diff)
Cleanup: Remove dead code
There is no more sorting happening, so the comment is out of date by manu reasons. If something extra is needed there it would need to be done differently anyway.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_object_force.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c
index 4cafa42c9fc..393e6d90ec6 100644
--- a/source/blender/makesrna/intern/rna_object_force.c
+++ b/source/blender/makesrna/intern/rna_object_force.c
@@ -532,15 +532,6 @@ static void rna_FieldSettings_dependency_update(Main *bmain, Scene *scene, Point
else {
Object *ob = (Object *)ptr->id.data;
- /* do this before scene sort, that one checks for CU_PATH */
-# if 0 /* XXX */
- if (ob->type == OB_CURVE && ob->pd->forcefield == PFIELD_GUIDE) {
- Curve *cu = ob->data;
- cu->flag |= (CU_PATH | CU_3D);
- do_curvebuts(B_CU3D); /* all curves too */
- }
-# endif
-
rna_FieldSettings_shape_update(bmain, scene, ptr);
DEG_relations_tag_update(bmain);