Skip to content

Commit afb3504

Browse files
committed
set visibility of nodes according to whether or not the GO is enabled
1 parent cd0309f commit afb3504

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,8 @@ protected int ExportComponents (
792792
return -1;
793793
}
794794

795+
fbxNode.SetVisibility (unityGo.activeSelf);
796+
795797
ExportTransform ( unityGo.transform, fbxNode, newCenter, exportType);
796798

797799
// try exporting mesh as an instance, export regularly if we cannot

0 commit comments

Comments
 (0)