I am running the example described here:
https://docs.omniverse.nvidia.com/prod_extensions/prod_extensions/ext_replicator/headless_example.html#modifying-hello-world-script-for-running-headlessly
I am getting a lot of messages like
2023-04-03 14:30:12 [Warning] [omni.kit.widget.layers.layer_model] /Replicator/Torus_Xform.xformOp:translate is overridden in a stronger layer (Root Layer).
It already happens after only part of the code is executed:
import omni.replicator.core as rep
with rep.new_layer():
camera = rep.create.camera(position=(10, 0, 0))
-> 2023-04-04 07:07:18 [Warning] [omni.kit.widget.layers.layer_model] /Replicator/Camera_Xform.xformOp:translate is overridden in a stronger layer (Root Layer).
I assume this is no big issue, because the example works fine, but I would like to understand why this happens. It looks like the camera xform is created in the replicator sublayer, and there is an “over” setting the translation in the root layer.
In my opinion we should not see this kind of warnings when we create objects using the replicator.
Thanks for any comment
Bruno