Skip to content

Conversation

@thalbern
Copy link
Contributor

@thalbern thalbern commented Jan 20, 2020

Overview

  • BoundsControl can now be used with AppBar:
    -- changed BoundingBox utility to be more generic -> now works on collider bounds instead of bounding box
    -- deprecated old bounding box specific methods in BoundingBoxUtility
    -- changed target of AppBar to work on any component implementing the new IBoundsTargetProvider interface (and made BoundingBox and BoundsControl implement it)

  • fixed nullptr access when modifying certain Bounds Control configuration properties in code

  • fixed handling of show wireframe flag

  • added property get / set to allow for code configured bounding box / bounds control

  • Added tests:
    -- Playmode test for manipulating a bounds control via AppBar
    -- Editmode test that makes sure all bounds control configuration values can be set without anything blowing up

Changes

added missing public setters to configure bounds control in code
…haven't been created yet

finished migration handler (added folder generation and check, added appbar migration)
made app bar use generic target that implements new IBoundsTargetProvider so we can use both boundscontrol and boundingbox with it
deprecated boundingbox specific methods in boundingboxhelper / added generic variants of methods
…so changed type to monobehaviour to prepare for upcoming support of bounds control
…setting of dirty flag - else serialization stomps over our code change
@thalbern thalbern marked this pull request as ready for review January 22, 2020 15:55
@thalbern
Copy link
Contributor Author

/azp run

1 similar comment
@thalbern
Copy link
Contributor Author

/azp run

@thalbern
Copy link
Contributor Author

/azp run stabilization_pr

@thalbern thalbern requested a review from vaoliva January 22, 2020 16:11
@MenelvagorMilsom
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@thalbern
Copy link
Contributor Author

/azp run

Copy link

@david-c-kline david-c-kline left a comment

Choose a reason for hiding this comment

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

just a couple of small comments / questions

@thalbern
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

…added missing braces and fixed some whitespace issues
}


private bool IsInitialized()
Copy link
Contributor

Choose a reason for hiding this comment

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

Couldn't we have this as a private property?

@keveleigh
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@thalbern
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@thalbern thalbern merged commit 3e1e9b2 into microsoft:prerelease/2.3.0_stabilization Jan 24, 2020
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.

5 participants