USD export: ignore selected-only for dome lights
Updated the dome light export logic to disregard the selected-only option, since the world material can't be selected as an object. Pull Request: https://projects.blender.org/blender/blender/pulls/123199
This commit is contained in:
committed by
Michael Kowalski
parent
5afd84b960
commit
6c29892909
@@ -428,7 +428,7 @@ pxr::UsdStageRefPtr export_to_stage(const USDExportParams ¶ms,
|
||||
/* Creating dome lights should be called after writers have
|
||||
* completed, to avoid a name collision when creating the light
|
||||
* prim. */
|
||||
if (!params.selected_objects_only && params.convert_world_material) {
|
||||
if (params.convert_world_material) {
|
||||
world_material_to_dome_light(params, scene, usd_stage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user