1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-23 05:53:14 +00:00

remove " _ " before my variable name

hope this was the problem
This commit is contained in:
RorotoSic 2024-03-02 19:42:12 +01:00
parent eb77d05cc3
commit 39e3e7e38d

View file

@ -37,11 +37,11 @@ func _flip_rotate_updated(
): ):
$BrushTexture.set_flip_h(flip_x) $BrushTexture.set_flip_h(flip_x)
$BrushTexture.set_flip_v(flip_y) $BrushTexture.set_flip_v(flip_y)
var _rotation_BrushTexture = 0 var rotation_BrushTexture = 0
if rotate_90 == true: if rotate_90 == true:
_rotation_BrushTexture += 90 rotation_BrushTexture += 90
if rotate_180 == true: if rotate_180 == true:
_rotation_BrushTexture += 180 rotation_BrushTexture += 180
if rotate_270 == true: if rotate_270 == true:
_rotation_BrushTexture += 270 rotation_BrushTexture += 270
$BrushTexture.rotation_degrees = _rotation_BrushTexture $BrushTexture.rotation_degrees = rotation_BrushTexture