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

Various bugfix from Gabe #571

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

lopezt-unity
Copy link
Collaborator

Purpose of this PR

Fixed

  • [STO-3427] Fixing a bug where Polyshape creation tool was not working with orthographic camera.
    polyshape-iso

  • [STO-3429] Fixing a bug where increment snapping was ignored when drawing ProBuilder shapes.
    pbshape-incremental

  • [STO-3432] Fixing a bug where Polyshape creation tool was not placing properly the first point on a custom grids.
    polyshape-grid

Links

Jira:

  • [STO-3427]
  • [STO-3429]
  • [STO-3432]

Comments to Reviewers

[List known issues, planned work, provide any extra context for your code.]

Copy link
Contributor

@gabrielw-us gabrielw-us left a comment

Choose a reason for hiding this comment

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

Huzzah, thanks!

Comment on lines +12 to +14
- [STO-3427] Fixing a bug where Polyshape creation tool was not working with orthographic camera.
- [STO-3429] Fixing a bug where increment snapping was ignored when drawing ProBuilder shapes.
- [STO-3432] Fixing a bug where Polyshape creation tool was not placing properly the first point on a custom grids.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- [STO-3427] Fixing a bug where Polyshape creation tool was not working with orthographic camera.
- [STO-3429] Fixing a bug where increment snapping was ignored when drawing ProBuilder shapes.
- [STO-3432] Fixing a bug where Polyshape creation tool was not placing properly the first point on a custom grids.
- [STO-3427] Fixed a bug where Polyshape creation tool was not working with orthographic camera.
- [STO-3429] Fixed a bug where increment snapping was ignored when drawing ProBuilder shapes.
- [STO-3432] Fixed a bug where Polyshape creation tool was not placing properly the first point on a custom grids.

@@ -472,6 +470,16 @@ void OnOverlayGUI(UObject target, SceneView view)
EditorGUILayout.EndVertical();
}

internal void SetShapeHeight()
{
UndoUtility.RecordObject(polygon, "Set Height");
Copy link
Contributor

@modrimkus-unity modrimkus-unity Oct 10, 2024

Choose a reason for hiding this comment

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

Did some manual testing around Undo (as Undo was touched) and seems there's issues:

Screen.Recording.2024-10-10.at.4.51.47.PM.mov

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.

3 participants