Merge branch 'blender-v4.2-release'

This commit is contained in:
Jesse Yurkovich 2024-07-05 11:21:12 -07:00
commit 8d26b2b80d

@ -98,8 +98,8 @@ void USDTransformWriter::do_write(HierarchyContext &context)
mul_m4_m4m4(parent_relative_matrix, context.parent_matrix_inv_world, context.matrix_world); mul_m4_m4m4(parent_relative_matrix, context.parent_matrix_inv_world, context.matrix_world);
} }
/* USD Xforms are by default set with an identity transform; only write if necessary. */ /* USD Xforms are by default the identity transform; only write if necessary when static. */
if (!compare_m4m4(parent_relative_matrix, UNIT_M4, 0.000000001f)) { if (is_animated_ || !compare_m4m4(parent_relative_matrix, UNIT_M4, 0.000000001f)) {
set_xform_ops(parent_relative_matrix, xform); set_xform_ops(parent_relative_matrix, xform);
} }