Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_fluidsim_util.c
| Show First 20 Lines • Show All 507 Lines • ▼ Show 20 Lines | if (G.background == 1) { | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /* display org. object upon failure which is in new mesh */ | /* display org. object upon failure which is in new mesh */ | ||||
| return NULL; | return NULL; | ||||
| } | } | ||||
| BKE_mesh_copy_settings(newmesh, orgmesh); | |||||
| /* Fluid simulation has a texture space that based on the bounds of the fluid mesh. | |||||
| * This does not seem particularly useful, but it's backwards compatible. */ | |||||
| BKE_mesh_texspace_calc(newmesh); | |||||
| /* load vertex velocities, if they exist... | /* load vertex velocities, if they exist... | ||||
| * TODO? use generate flag as loading flag as well? | * TODO? use generate flag as loading flag as well? | ||||
| * warning, needs original .bobj.gz mesh loading filename */ | * warning, needs original .bobj.gz mesh loading filename */ | ||||
| if (displaymode == OB_FSDOM_FINAL) { | if (displaymode == OB_FSDOM_FINAL) { | ||||
| fluidsim_read_vel_cache(fluidmd, newmesh, targetFile); | fluidsim_read_vel_cache(fluidmd, newmesh, targetFile); | ||||
| } | } | ||||
| else { | else { | ||||
| if (fss->meshVelocities) { | if (fss->meshVelocities) { | ||||
| ▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines | |||||