Skip to content

Commit

Permalink
Fix an issue in C++ code found by linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
lanierd-adsk committed Sep 6, 2024
1 parent 856fe67 commit 50302e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ HdSceneIndexPrim LightsManagementSceneIndex::GetPrim(const SdfPath& primPath) co
case LightingMode::kSelectedLightsOnly: {
const Ufe::GlobalSelection::Ptr& globalUfeSelection = Ufe::GlobalSelection::get();
const Ufe::Selection& ufeSelection = *globalUfeSelection;
if (0 == ufeSelection.size() > 0) {
if (0 == ufeSelection.size()) {
// Nothing is selected
_DisableLight(prim);
return prim;
Expand Down

0 comments on commit 50302e4

Please sign in to comment.