Closed Louspirit closed 1 year ago
Hello, I'm sorry to say that I will not review/accept any github changes to my project, that would require me to treat this free plugin as my second job. If you found a bug, please provide reproduction steps. This function was unit tested on all proper treeID's in a depth 3 Octree, so please make sure you're passing a correct TreeID.
On Mon, Feb 27, 2023 at 4:26 PM Guillaume Escarieux < @.***> wrote:
Exception was "Depth higher than Octree Depth" in GetVoxelSizeByDepth().
Change is at line 391.
You can view, comment on, or merge this pull request online at:
https://github.com/NonStaticGH/CPathHostProject/pull/7 Commit Summary
- be7db0e https://github.com/NonStaticGH/CPathHostProject/pull/7/commits/be7db0ee531b43756f9807b3815871154136ae41 fix: WorldLocationFromTreeID for condition was causing exception
File Changes
(1 file https://github.com/NonStaticGH/CPathHostProject/pull/7/files)
- M CPath_UE5HostProject/Plugins/CPathfinding/Source/CPathfinding/Private/CPathVolume.cpp https://github.com/NonStaticGH/CPathHostProject/pull/7/files#diff-49374fb309b8795ae33ff87b6fef294415922f9494e81218a6de4ea9fd558e16 (65)
Patch Links:
- https://github.com/NonStaticGH/CPathHostProject/pull/7.patch
- https://github.com/NonStaticGH/CPathHostProject/pull/7.diff
— Reply to this email directly, view it on GitHub https://github.com/NonStaticGH/CPathHostProject/pull/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3I6RJINKN44X7Q2WH5S6GTWZTBQ5ANCNFSM6AAAAAAVJRO3KI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
You are welcome to take your time reviewing the PR. Isn't participation from the community a potential gain of time/scope/stability to the product you publicly released?😉
I just changed <=
to <
where I believe the only for loop followed by a GetVoxelSizeByDepth()
method.
Because with this condition, let's say octree depth is set to 2: the for loop will let pass one time too many and set currDepth to 3. Which is over the octree depth, causing the error.
Can I suggest implementing labels for the Github repo? It could help sorting and prioritize PR and issues. In this case, something like BugFix
.
You are wrong, and this is not the way to report bugs. Please provide the issue description and steps to reproduce, in engine, without making any changes in the code. You are free to modify your local copy of the plugin, but I will not be accepting pull requests.
Exception was "Depth higher than Octree Depth" in GetVoxelSizeByDepth().
Change is at line 391.