Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_270.c
| Show First 20 Lines • Show All 595 Lines • ▼ Show 20 Lines | for (scr = main->screen.first; scr; scr = scr->id.next) { | ||||
| /* Free old deprecated 'channel' region... */ | /* Free old deprecated 'channel' region... */ | ||||
| BKE_area_region_free(NULL, ar); | BKE_area_region_free(NULL, ar); | ||||
| BLI_freelinkN(&sl->regionbase, ar); | BLI_freelinkN(&sl->regionbase, ar); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| if (!DNA_struct_elem_find(fd->filesdna, "bSteeringActuator", "float", "acceleration")) { | |||||
| Object *ob; | |||||
| for (ob = main->object.first; ob; ob = ob->id.next) { | |||||
| bActuator *act; | |||||
| for (act = ob->actuators.first; act; act = act->next) { | |||||
| if (act->type == ACT_STEERING) { | |||||
| bSteeringActuator *sact = act->data; | |||||
| sact->acceleration = 1000.f; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
sergey: No need to bump subversion yet. Just use `DNA_struct_elem_find` for until next bump is actually… | |||||
Not Done Inline Actionsif this flag is new, why does it need to be cleared? campbellbarton: if this flag is new, why does it need to be cleared? | |||||
Not Done Inline ActionsIt is not need to be cleared. I just removed lordloki: It is not need to be cleared. I just removed | |||||
Not Done Inline ActionsOk. lordloki: Ok. | |||||
No need to bump subversion yet. Just use DNA_struct_elem_find for until next bump is actually needed.
P.S. Rule of thumb is: subversion bump is only done when major changes to DNA are made.