Merge pull request #1882 from aws-lumberyard-dev/pruiksma/fix_punctual_light_unhiding_transform

Fixing simple light types appearing back at 0,0,0 after hiding/unhiding.
main
Jon B 5 years ago committed by GitHub
commit da26231a65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -134,6 +134,11 @@ namespace AZ
// For lights that get their transform from the shape bus, force an OnShapeChanged to update the transform.
OnShapeChanged(ShapeChangeReasons::TransformChanged);
}
else
{
// OnShapeChanged() already calls this for delegates with a shape bus
HandleShapeChanged();
}
}
}

Loading…
Cancel
Save