Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pointcloud] Fixes in Pointcloud Gem #62

Merged
merged 6 commits into from
Sep 18, 2024
Merged

Conversation

zakmat
Copy link
Member

@zakmat zakmat commented Sep 5, 2024

This PR applies several fixes into Pointcloud Gem:

  • rectifies a regression where PointcloudConfigurationBus was not enabled for Editor Component
  • Removes log flooding with failed re-enable of feature processor by querying before enable attempt
  • fixes bounds calculation for invalid pointclouds - applying transform was making them valid but incorrect.

The PR also cleans up headers a little and add some comments

* add comments
* clean up headers

Signed-off-by: Mateusz Żak <[email protected]>
* this avoids flooding logs with warnings

Signed-off-by: Mateusz Żak <[email protected]>
* it will make them valid - but incorrect

Signed-off-by: Mateusz Żak <[email protected]>
* shorten the Gems Bus header filename

Signed-off-by: Mateusz Żak <[email protected]>
Copy link
Contributor

@norbertprokopiuk norbertprokopiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of included changes are fine but i have some doubts about local bounds checking. current solution makes it impossible to select point cloud if point (0,0,0) is outside of camera frustum

* asset change should be signaled to the PointcloudController
* currently the change is needed to update cached local bounds to fix selection

Signed-off-by: Mateusz Żak <[email protected]>
Copy link
Contributor

@norbertprokopiuk norbertprokopiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works as expected

@zakmat zakmat merged commit 6d6a10b into main Sep 18, 2024
1 check passed
@zakmat zakmat deleted the mzak/fix_pointcloud_editor_bus branch September 18, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants