diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-19 16:36:18 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-19 16:41:31 +0300 |
commit | 03c81a4fff46f0d9bba4691916446b752e1bb9f5 (patch) | |
tree | 23c9da6376ae6eab8aa33ef0934bd0609f61716e | |
parent | 4c4adeaa651ac777f6c2d7517bca30e9ba8004bc (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.
-rw-r--r-- | source/blender/makesrna/intern/rna_object_force.c | 9 |
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); |