add the ocean modifier to bpath visitor
This commit is contained in:
@@ -431,6 +431,10 @@ void bpath_traverse_id(Main *bmain, ID *id, BPathVisitor visit_cb, const int fla
|
||||
ClothModifierData *clmd= (ClothModifierData*) md;
|
||||
BPATH_TRAVERSE_POINTCACHE(clmd->ptcaches);
|
||||
}
|
||||
else if (md->type==eModifierType_Ocean) {
|
||||
OceanModifierData *omd= (OceanModifierData*) md;
|
||||
rewrite_path_fixed(omd->cachepath, visit_cb, absbase, bpath_user_data);
|
||||
}
|
||||
}
|
||||
|
||||
if (ob->soft) {
|
||||
|
||||
Reference in New Issue
Block a user