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

Unauthored attrs changes #2414

Merged
merged 27 commits into from
Jun 17, 2022
Merged

Unauthored attrs changes #2414

merged 27 commits into from
Jun 17, 2022

Conversation

feldstj
Copy link
Collaborator

@feldstj feldstj commented Jun 13, 2022

No description provided.

@feldstj feldstj added the do-not-merge-yet Development is not finished, PR not ready for merge label Jun 13, 2022
@feldstj feldstj added do-not-merge-yet Development is not finished, PR not ready for merge and removed do-not-merge-yet Development is not finished, PR not ready for merge labels Jun 13, 2022
feldstj and others added 2 commits June 15, 2022 08:25
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
ppt-adsk
ppt-adsk previously approved these changes Jun 15, 2022
@@ -358,6 +358,7 @@ def testAttributeEnumString(self):
# Use our engine method to run the bulk of the test (all the stuff from
# the Attribute base class). We use the visibility attribute which is
# an EnumString type.
import pdb ; pdb.set_trace()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Debugging code, please remove.

Copy link
Collaborator

@hodoulp hodoulp left a comment

Choose a reason for hiding this comment

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

@ppt-adsk & @feldstj Last minute findings.

std::string typeName() const;
std::string defaultValue() const;
bool get(PXR_NS::VtValue& value, PXR_NS::UsdTimeCode time) const;
bool set(const PXR_NS::VtValue& value, PXR_NS::UsdTimeCode time);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should all these new methods be protected by UFE_V4_FEATURES_AVAILABLE?

UsdAttribute(const PXR_NS::UsdAttribute& usdAttr);
~UsdAttribute() = default;

inline bool isAuthored() const { return isValid() && fUsdAttr.IsAuthored(); }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should all the following methods be defined in UFE_ATTRIBUTE_OVERRIDES ?

@feldstj feldstj removed the do-not-merge-yet Development is not finished, PR not ready for merge label Jun 17, 2022
@seando-adsk seando-adsk added ufe-usd Related to UFE-USD plugin in Maya-Usd ready-for-merge Development process is finished, PR is ready for merge labels Jun 17, 2022
@seando-adsk seando-adsk merged commit 58dc000 into dev Jun 17, 2022
@seando-adsk seando-adsk deleted the unauthored_attrs_changes branch June 17, 2022 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge ufe-usd Related to UFE-USD plugin in Maya-Usd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants