clang-format: Disable alignment of operands, too unreliable
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
This commit is contained in:
@@ -246,8 +246,8 @@ Quaternion Node3D::get_quaternion() const {
|
||||
void Node3D::set_global_transform(const Transform3D &p_transform) {
|
||||
Transform3D xform =
|
||||
(data.parent && !data.top_level_active) ?
|
||||
data.parent->get_global_transform().affine_inverse() * p_transform :
|
||||
p_transform;
|
||||
data.parent->get_global_transform().affine_inverse() * p_transform :
|
||||
p_transform;
|
||||
|
||||
set_transform(xform);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user