Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Show First 20 Lines • Show All 3,926 Lines • ▼ Show 20 Lines | for (bScreen *screen = bmain->screens.first; screen; screen = screen->id.next) { | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| { | { | ||||
| /* Versioning code until next subversion bump goes here. */ | /* Versioning code until next subversion bump goes here. */ | ||||
jbakker: cann't we use `DNA_struct_elem_find` ? | |||||
| /* Pose brush smooth iterations */ | |||||
| if (!DNA_struct_elem_find(fd->filesdna, "Brush", "float", "pose_smooth_itereations")) { | |||||
| for (Brush *br = bmain->brushes.first; br; br = br->id.next) { | |||||
| br->pose_smooth_iterations = 4; | |||||
| } | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
cann't we use DNA_struct_elem_find ?