don-tnowe / godot-sprite-painter

Image editor right inside Godot 4.
MIT License
79 stars 8 forks source link

Navigation in the editor is broken and not working correctly #21

Open DearFox opened 4 months ago

DearFox commented 4 months ago

Moving the canvas in the drawing editor seems broken and behaves strangely I didn't notice this a few hours ago, it seems, or did this error just appear? I thought that I had broken something in the plugin, but reinstalling it didn't solve it.

This is what happens when I try to move around the canvas using the middle mouse button: wr6udrtuyk Essentially I'm just moving around the 2D scene from behind, not counting the scaling which is duplicated.

Here I use spacebar to move. This partially works correctly, however the move may stop working at random times or something, I'm not exactly sure, maybe when the cursor hits something else the move may break. er8t07yher8hyh

DearFox commented 4 months ago

This is the Output I get. I don't know if there are any errors or warnings associated with this failure

Godot Engine v4.2.2.stable.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
  modules/gltf/register_types.cpp:63 - Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
--- Debug adapter server started ---
--- GDScript language server started on port 6005 ---
  scene/main/node.cpp:1536 - Index p_index = 1 is out of bounds ((int)data.children_cache.size() = 1).
  res://addons/sprite_painter/src/floating/type_context/context_spriteframes.gd:37 - Invalid get index 'item_selected' (on base: 'LineEdit').
  res://addons/sprite_painter/src/floating/type_context_settings.gd:42 - Invalid get index 'edited_object' (on base: 'Window').
  scene/gui/control.cpp:1442 - Nodes with non-equal opposite anchors will have their size overridden after _ready(). 
  If you want to set size, change the anchors or consider using set_deferred().
  scene/gui/control.cpp:1442 - Nodes with non-equal opposite anchors will have their size overridden after _ready(). 
  If you want to set size, change the anchors or consider using set_deferred().
  scene/gui/control.cpp:1442 - Nodes with non-equal opposite anchors will have their size overridden after _ready(). 
  If you want to set size, change the anchors or consider using set_deferred().
  core/io/image.cpp:2505 - Loaded resource as image file, this will not work on export: 'res://Mika_front.png'. Instead, import the image file as an Image resource and load it normally as a resource.
  core/io/image.cpp:2505 - Loaded resource as image file, this will not work on export: 'res://Mika_front.png'. Instead, import the image file as an Image resource and load it normally as a resource.