-
Notifications
You must be signed in to change notification settings - Fork 202
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
Unauthored attrs changes #2414
Conversation
to the UsdAttribute class. Also applied some code review feedback.
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
test/lib/ufe/testAttribute.py
Outdated
@@ -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() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debugging code, please remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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); |
There was a problem hiding this comment.
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(); } |
There was a problem hiding this comment.
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
?
No description provided.