You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
This commit is contained in:
@@ -635,7 +635,8 @@ Ref<EditorSpatialGizmo> PathSpatialGizmoPlugin::create_gizmo(Spatial *p_spatial)
|
||||
Ref<PathSpatialGizmo> ref;
|
||||
|
||||
Path *path = Object::cast_to<Path>(p_spatial);
|
||||
if (path) ref = Ref<PathSpatialGizmo>(memnew(PathSpatialGizmo(path)));
|
||||
if (path)
|
||||
ref = Ref<PathSpatialGizmo>(memnew(PathSpatialGizmo(path)));
|
||||
|
||||
return ref;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user