Add support for plane geometry.
PiperOrigin-RevId: 750994019 Change-Id: Ia3b085bed5b8e2fcdb00ffc69dd5551a7fa3c30d
This commit is contained in:
committed by
Copybara-Service
parent
9e72874801
commit
8df3614781
@@ -70,10 +70,11 @@ template <typename T>
|
||||
void ExpectAttributeEqual(pxr::UsdStageRefPtr stage, const char* path,
|
||||
const T& value) {
|
||||
auto attr = stage->GetAttributeAtPath(pxr::SdfPath(path));
|
||||
EXPECT_TRUE(attr.IsValid());
|
||||
EXPECT_TRUE(attr.IsValid()) << "Attribute " << path << " is not valid";
|
||||
T attr_value;
|
||||
attr.Get(&attr_value);
|
||||
EXPECT_EQ(attr_value, value);
|
||||
EXPECT_EQ(attr_value, value) << "Attribute " << path << " has value "
|
||||
<< attr_value << ". Expected: " << value;
|
||||
}
|
||||
|
||||
// Specialization for SdfAssetPath, so that we can compare only the asset path
|
||||
|
||||
Reference in New Issue
Block a user