Closed robertlong closed 1 year ago
Hello @robertlong is this configureable in the settings? If not it needs an option to turn it on/off (can be on by default)
It is configurable in the settings, but this commented line forces it to ignore the setting.
Here's where you should be able to enable/disable exporting disabled objects.
And this is where that setting is used: https://github.com/prefrontalcortex/UnityGLTF/blob/master/UnityGLTF/Assets/UnityGLTF/Runtime/Scripts/GLTFSceneExporter.cs#L825
So uncommenting that line will allow for skipping disabled game objects
Thank you!
This check is used to ignore disabled nodes in the export. I'm not sure why it was commented out, but I've uncommented it so that we can ignore disabled nodes again.