1 2 3 4 5 6 7 8 9 10
| // Do not process the main display geo twice! if (editGeoInfo.isDisplayGeo) continue;
// We only handle editable curves for now //if (editGeoInfo.type != HAPI_GeoType.HAPI_GEOTYPE_CURVE) continue; if (editGeoInfo.type != HAPI_GeoType.HAPI_GEOTYPE_CURVE && editGeoInfo.type != HAPI_GeoType.HAPI_GEOTYPE_INTERMEDIATE) continue; // modify this //session.CookNode(editNodeID, HEU_PluginSettings.CookTemplatedGeos);
// Add this geo to the geo info array editableGeoInfos.Add(editGeoInfo);
|