summaryrefslogtreecommitdiff
path: root/editor/plugins/tiles
AgeCommit message (Collapse)Author
2022-10-15Fix case where mutex is never unlockedMarc Gilleron
2022-10-15Merge pull request #63332 from KoBeWi/static_images_aka_photosRémi Verschelde
Make some Image methods static
2022-10-15Separate Line and CurveLinear iconskobewi
2022-10-14Make some Image methods statickobewi
2022-10-13Merge pull request #59468 from EricEzaM/fix-zoom-shortcutsRémi Verschelde
Fix zoom in/out keyboard shortcuts not working
2022-10-11Fix source sort not saving in TileMap editorkobewi
2022-10-10Fix crashing when editing the `TileSet` fieldKongfa Waroros
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-04Disconnect TileSet from source editor if no sourceskobewi
2022-10-03Merge pull request #66713 from KoBeWi/remembuh_meRémi Verschelde
Remember tile source sort between sessions
2022-10-03Merge pull request #66656 from magian1127/4.0DelAutotileRémi Verschelde
TileMap mouse right can delete autotile
2022-10-02Remember tile source sort between sessionskobewi
2022-09-30Merge pull request #65903 from groud/improve_terrain_paintingRémi Verschelde
Right-click to erase TileSet terrains and bugfixes
2022-09-30TileMap mouse right can delete autotileMagian
2022-09-27Fix mouse release leaving dock areaGuilherme Sousa
2022-09-24Fix zoom in/out keyboard shortcuts not working since the introduction of ↵Eric M
EditorZoomWidget. Add KP shortcuts to zoom in/out.
2022-09-20Merge pull request #66159 from MewPurPur/fix-animated-tiles-offset-unitRémi Verschelde
Remove px unit from animation_separation in TileSet atlas editor
2022-09-20Remove px unit from animation_separation in TileSet atlas editor (as it's ↵VolTer
tile-based, not pixel-based)
2022-09-17Fix atlas view drawing roots having zoom applied twiceMinusKube
2022-09-16Right-click to erase TileSet terrains and bugfixesGilles Roudière
2022-09-10Fix broken patterns on TileMap layer changekobewi
2022-09-08Make `Vector2i` values paired with `EDSCALE` be just `Vector2`Michael Alexsander
2022-09-08Merge pull request #65241 from bruvzg/no_keymap_ambiguityRémi Verschelde
Fix key mapping changes when moving from macOS to other platform.
2022-09-07Fix key mapping changes when moving from macOS to other platformbruvzg
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-07Remove / Replace old Navigation Debug Visualizationsmix8
- removes / replaces leftovers from old navigation debug code - cleanes SceneTree and ProjectSettings from old navigation debug
2022-09-07Fix tile source selection from pickingkobewi
2022-09-06Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOTMicky
For consistency. Every other exposed `one_shot` is spaced out like this.
2022-09-06Merge pull request #64661 from Mickeon/rename-tilemap-worldRémi Verschelde
Rename TileMap/GridMap.`world_to_map` and opposite to `local_to_map`
2022-09-05Rename TileMap/GridMap.`world_to_map` and opposite to `local_to_map`Micky
For both TileMap and GridMap: - `world_to_map` -> `local_to_map` - `map_to_world` -> `map_to_local` Also changes any mention of "world" in this context to "local" to avoid future confusion. Finally, updates the docs of both methods for consistency. In particular, adding a note on how to convert the returned values from local to global coordinates and vice versa.
2022-09-04Replace Rect2(i) has_no_area with has_areaAaron Franke
2022-09-02Add `is_zero_approx` methods to `Vector2`, `3`, and `4`Jonathan Nicholl
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-29Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde
NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
2022-08-28Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde
Rename `hint_tooltip` to `tooltip_text` & setter getter
2022-08-27Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record
2022-08-27Rename `hint_tooltip` to `tooltip_text` & setgetMicky
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
2022-08-26Merge pull request #64601 from MinusKube/alternative-tile-popup-bugRémi Verschelde
Fix alternative tile popup menu not being openable
2022-08-25Fix alternative tile popup menu not being openableMinusKube
2022-08-25Fix tileset image and background sometimes disappearingMinusKube
2022-08-22Add per-scene UndoRedokobewi
2022-07-29Merge pull request #63415 from ajreckof/expose_tilemap_custom_data_methodsRémi Verschelde
Expose TileMap methods related to the name of custom data layers
2022-07-29Merge pull request #63595 from reduz/remove-signal-connect-bindsRémi Verschelde
Remove Signal connect binds
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-29expose TileMap methods related to the name of custom data layersajreckof
2022-07-29Make the alternative tile control correctly handle right-click dragging.Estelle Linkpy Reid
2022-07-28Merge pull request #58361 from V-Sekai/tileset_editor_selectionRémi Verschelde
Fix tileset editor visiblity and selection context
2022-07-28Merge pull request #57698 from ↵Rémi Verschelde
bluenote10/feature/rename_translated_to_translated_local
2022-07-26Merge pull request #63496 from groud/fix_tile_set_not_savingRémi Verschelde
Fix TileSet not loading correctly when embedded in a scene
2022-07-26Fix TileSet not loading correctly when embedded in a sceneGilles Roudière
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.