Thought I would add to this, though clearly you already have a fix. cleanUpScene.mel is code called by OptimizeSceneSize with the appropriate options checked.
The optimize options are shown in the screenshot below. I don't think a lot of people look in this option box, and there's actually some good stuff in there. Like duplicate shading group consolidation!
Remove empty: "Transforms" is the option that will clear out empty groups (after all, groups are just transform nodes any way )
As a test, you might try creating some empty groups, open up the OptimizeSceneSize option box, check Transforms, and press "Optimize Now" button next to it. It should do the trick, and with that option set, should always do so when running a full OptimizeScene without having to open back up the option box menu....if that makes sense. Either way, glad you found a resolution, and hope this is helpful additional info!
Replies
@huffer Tried that aswel. Doesn't do anything again.
Thought I would add to this, though clearly you already have a fix. cleanUpScene.mel is code called by OptimizeSceneSize with the appropriate options checked.
The optimize options are shown in the screenshot below. I don't think a lot of people look in this option box, and there's actually some good stuff in there. Like duplicate shading group consolidation!
Remove empty: "Transforms" is the option that will clear out empty groups (after all, groups are just transform nodes any way
As a test, you might try creating some empty groups, open up the OptimizeSceneSize option box, check Transforms, and press "Optimize Now" button next to it. It should do the trick, and with that option set, should always do so when running a full OptimizeScene without having to open back up the option box menu....if that makes sense.
Either way, glad you found a resolution, and hope this is helpful additional info!