Merge branch 'foliage-gizmo-resize' of https://github.com/Tryibion/FlaxEngine into Tryibion-foliage-gizmo-resize
This commit is contained in:
@@ -198,6 +198,12 @@ namespace FlaxEditor.Tools.Foliage
|
|||||||
PaintEnd();
|
PaintEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Increase or decrease brush size with scroll
|
||||||
|
if (Input.GetKey(KeyboardKeys.Shift) && !Input.GetMouseButton(MouseButton.Right))
|
||||||
|
{
|
||||||
|
Mode.CurrentBrush.Size += dt * Mode.CurrentBrush.Size * Input.Mouse.ScrollDelta * 5f;
|
||||||
|
}
|
||||||
|
|
||||||
// Perform detailed tracing to find cursor location for the foliage placement
|
// Perform detailed tracing to find cursor location for the foliage placement
|
||||||
var mouseRay = Owner.MouseRay;
|
var mouseRay = Owner.MouseRay;
|
||||||
var ray = Owner.MouseRay;
|
var ray = Owner.MouseRay;
|
||||||
|
|||||||
Reference in New Issue
Block a user