-
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
Support for Ufe cameras. #1066
Support for Ufe cameras. #1066
Conversation
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.
Looks good, only a few trivial changes to make.
I'd normally ask for automated tests to be included in the pull request, but in this case I understand that time is of the essence and I will assume that they will follow in a later pull request.
lib/mayaUsd/ufe/UsdCameraHandler.h
Outdated
#pragma once | ||
|
||
#include <mayaUsd/base/api.h> | ||
#include <mayaUsd/ufe/UsdCamera.h> |
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.
Is this one needed?
lib/mayaUsd/ufe/UsdCameraHandler.h
Outdated
namespace MAYAUSD_NS_DEF { | ||
namespace ufe { | ||
|
||
//! \brief Interface to create a UsdTransform3d interface object. |
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.
Copy-paste damage in comment.
lib/mayaUsd/ufe/UsdCameraHandler.h
Outdated
//! Create a UsdCameraHandler. | ||
static UsdCameraHandler::Ptr create(); | ||
|
||
// Ufe::Transform3dHandler overrides |
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.
Copy-paste damage.
lib/mayaUsd/ufe/UsdCamera.h
Outdated
UsdCamera& operator=(UsdCamera&&) = delete; | ||
|
||
//! Create a UsdCamera. | ||
static UsdCamera::Ptr create(); |
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.
Do we need this and its associated setItem() call? Seems like needless complexity otherwise.
Logged MAYA-109133 to add automated tests. |
Everything is protected by UFE version checks, so this one is safe to merge. |
No description provided.