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.
This commit is contained in:
Sergey Sharybin 2019-04-19 15:36:18 +02:00
parent 4c4adeaa65
commit 03c81a4fff
1 changed files with 0 additions and 9 deletions

View File

@ -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);