Fixed an issue where only the first piece of geometry had its construction history deleted. This caused issues when baking multiple pieces of geometry in Maya 2022.3.
@@ -19,7 +19,6 @@ houdiniEngine_bakeAsset(string $assetNode)
if(`objectType -isAType "shape" $desc`) {
delete -ch $desc;
$hasShape = 1;
- break;
}
if(`objectType -isAType "instancer" $desc`) {
$hasShape = 1;
