ID 337471 - LookFileLightAndConstraintActivator (LFLACA) node forces locations to cook even on collapsed scene graph

Follow

Problem summary:

It seems that the 'restoreLightsDefaultValues' node (specifically the LightsDefaultValuesRestore Op) that is part of the LFLACA, when enabled, triggers the evaluation of the location passed as 'bakingRoot' argument, even if the whole scene graph is collapsed to /root/world.

Steps to reproduce:

  1. Open attached project
  2. bake the lookfile from the LookFileBake node
  3. view the scene from the 'view_or_render_from_here' node
  4. make sure the scene graph is fully collapsed and only /root is shown
  5. force a re-cook by flushing the cache
  6.  notice the print messages in the console indicating that locations have been cooked

Expected behaviour:

Collapsed locations aren't cooked

Actual behaviour:

Items are cooked, this from my terminal when entire scene was collapsed:

Cooking /root/world/geo/group
Cooking /root/world/geo/group/subsgroup
Cooking /root/world/geo/group/subsgroup/asset_root
Cooking /root/world/geo/group/subsgroup/asset_root/geom_grp
Cooking /root/world/geo/group/subsgroup/asset_root/geom_grp/geom
Cooking /root/world/geo/group/subsgroup/asset_root/geom_grp/geom/rig
Cooking /root/world/geo/group/subsgroup/asset_root/geom_grp/geom/rig/light
Cooking /root/world/geo/group/subsgroup/asset_root/rig
Cooking /root/world/geo/group/subsgroup/asset_root/rig/light

Workaround:

No known workaround.

Reproduced versions/platforms:

  • 3.0dev#1790

Customer version/platform:

Not supplied

    We're sorry to hear that

    Please tell us why