diff --git a/project.godot b/project.godot index cf4f7041c..9fbaf1b27 100644 --- a/project.godot +++ b/project.godot @@ -15,7 +15,7 @@ config/description="A free & open-source 2D sprite editor" run/main_scene="res://src/Main.tscn" config/use_custom_user_dir=true config/custom_user_dir_name="pixelorama" -config/features=PackedStringArray("4.1") +config/features=PackedStringArray("4.2") run/low_processor_mode=true boot_splash/bg_color=Color(0.145098, 0.145098, 0.164706, 1) boot_splash/image="res://assets/graphics/splash.png" diff --git a/src/Tools/BaseTool.gd b/src/Tools/BaseTool.gd index 13b376de3..0557b8122 100644 --- a/src/Tools/BaseTool.gd +++ b/src/Tools/BaseTool.gd @@ -8,7 +8,8 @@ var cursor_text := "" var _cursor := Vector2i(Vector2.INF) var _draw_cache: Array[Vector2i] = [] ## For storing already drawn pixels -@warning_ignore("unused_private_class_variable") var _for_frame := 0 ## Cache for which frame +@warning_ignore("unused_private_class_variable") +var _for_frame := 0 ## Cache for which frame # Only use _spacing_mode and _spacing variables (the others are set automatically) # The _spacing_mode and _spacing values are to be CHANGED only in the tool scripts (e.g Pencil.gd) diff --git a/src/Tools/Draw.gd b/src/Tools/Draw.gd index 3da3c0fd5..3a46db26d 100644 --- a/src/Tools/Draw.gd +++ b/src/Tools/Draw.gd @@ -9,7 +9,8 @@ var _brush_image := Image.new() var _orignal_brush_image := Image.new() ## Contains the original _brush_image, without resizing var _brush_texture := ImageTexture.new() var _strength := 1.0 -@warning_ignore("unused_private_class_variable") var _picking_color := false +@warning_ignore("unused_private_class_variable") +var _picking_color := false var _undo_data := {} var _drawer := Drawer.new()