franMarz / TexTools-Blender

TexTools is a UV and Texture toolset created several years ago for Blender and Max by @renderhjs. In this open repository, originally created by @SavMartin, we develop the current version of this popular Blender add-on.
Other
2.05k stars 139 forks source link

Moved hiding/unhiding cage objects before and after the baking loop. #229

Closed sdml closed 1 month ago

sdml commented 2 months ago

Fixes #228:

  1. Moved hiding caged objects rendering before the main baking loop.
  2. Moved unhiding caged objects to the "finally" block.
  3. Added render_state object to keep track of initial state of cage objects rendering (to prevent unhiding objects hidden manually by the user)
franMarz commented 1 month ago

Thank you.