kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Rémi Verschelde
3417f34a37
Merge pull request #80529 from KoBeWi/unfortunate_fix_is_unfortunate 🤦♂️
...
Fix TileSet not disappearing on deselecting TileMap
2023-08-29 12:43:10 +02:00
Rémi Verschelde
9229ea121c
Merge pull request #77986 from KoBeWi/outside_the_texture,_only_death_awaits
...
Cleanup tiles outside the texture
2023-08-28 20:37:04 +02:00
kobewi
52d41cc555
Add option to cleanup tiles outside the texture
2023-08-28 15:15:45 +02:00
Rémi Verschelde
6636ccc3ea
Merge pull request #80943 from rakkarage/tileset-atlas-merge-rgb8
...
Convert TileSet Atlas Merge input images to RGBA8 to match output, if needed
2023-08-28 15:04:16 +02:00
Rémi Verschelde
bcbe1fd5e0
Merge pull request #80754 from KoBeWi/TileSetImprovementsCollectionSource
...
Improve scene tiles workflow
2023-08-28 15:03:26 +02:00
Rémi Verschelde
a7ded904de
Merge pull request #79678 from thiagola92/auto_create_tilesets_for_multiple_atlas
...
Auto create tile for multiple atlases
2023-08-28 15:02:37 +02:00
Rémi Verschelde
2d42357464
Merge pull request #77316 from rakkarage/tileset_atlas_merge
...
Include animation frames in tile atlas merge.
2023-08-28 15:01:24 +02:00
Rémi Verschelde
0655a7d7d3
Merge pull request #80517 from YuriSizov/tsa-randomly-picked-you-for-mandatory-inspection-i-think-not
...
Avoid unnecessary inspector updates when loading or switching scenes
2023-08-28 12:05:06 +02:00
thiagola92
c8a94ea3e8
Support auto create tiles when adding multiple atlases
...
TileSet add button support multiple files
Join most of the code of `_drop_data_fw()` and `_texture_file_selected()` in a new function `_load_texture_files()`
Rename `init_source` to `init_new_atlases`
2023-08-27 10:45:03 -03:00
Yuri Sizov
6da4ad1662
Merge pull request #80968 from rakkarage/alternative-icon-scale
...
Call `add_child` after `set_rect` to fix size bug
2023-08-25 21:26:50 +02:00
Pippo Pesic
0044217a7f
Add `px` suffix to TileSet `Separation` value
...
Add px suffix to TileSet separation value
2023-08-25 08:58:11 -07:00
Rakka Rage
e93d2a04df
Call `add_child` after `set_rect` to fix size bug
2023-08-25 10:10:47 -04:00
Rakka Rage
dc2aa69c46
Convert TileSet Atlas Merge input images to RGBA8 to match output, if needed
2023-08-23 19:26:57 -04:00
Rakka Rage
c17848f07d
Include animation frames in tile atlas merge.
2023-08-23 16:19:24 -04:00
kobewi
a88e3b8604
Improve scene tiles workflow
2023-08-18 13:55:30 +02:00
Rémi Verschelde
8d0c9a4c87
Merge pull request #80317 from KoBeWi/taking_shortcuts
...
Ensure TileMap editor shortcuts are handled
2023-08-17 11:24:39 +02:00
Rémi Verschelde
c78be12f42
Merge pull request #80610 from lawnjelly/fix_tilemap_editor_plugin_crash2
...
Fix `TileMapEditorPlugin` crash by storing tilemap ID instead of pointer
2023-08-14 15:31:19 +02:00
lawnjelly
356fc728a4
Fix `TileMapEditorPlugin` crash by storing tilemap ID instead of pointer
...
Store the tilemap ObjectID instead of raw pointer, and check it is valid before access.
2023-08-14 12:56:52 +01:00
lawnjelly
fa7be20ee1
Fix crash on exit where TileSet calls destroyed TileSetAtlasSourceEditor
...
Removes signal from TileSet on destroying TileSetAtlasSourceEditor, to prevent TileSet calling function in destroyed TileSetAtlasSourceEditor.
2023-08-14 10:25:50 +01:00
Yuri Sizov
2445414aa0
Avoid unnecessary inspector updates when loading or switching scenes
...
This should result in some noticeable performance improvements,
aside from fixing bugs due to conflicts in logic.
This also simplifies some related code identified while debugging.
2023-08-12 13:32:59 +02:00
kobewi
6b7829b5ff
Fix TileSet not disappearing on deselecting TileMap
2023-08-12 00:47:26 +02:00
kobewi
f02133a4a2
Fix TileSet with TileMap handling
2023-08-09 23:50:45 +02:00
kobewi
181eecc51b
Ensure TileMap editor shortcuts are handled
2023-08-06 03:38:03 +02:00
kobewi
91328a86cd
Ignore null "id" in tile source proxy
2023-08-01 22:52:16 +02:00
Yuri Sizov
6731accf80
Merge pull request #79419 from KoBeWi/no_ID_for_you
...
Unexpose tile source ID
2023-08-01 17:25:11 +02:00
kobewi
2a5db5949f
Rework modifying tile source ID
2023-07-31 20:57:09 +02:00
kobewi
d39b040114
Edit TileSet source on double click
2023-07-30 02:27:40 +02:00
Yuri Sizov
6c11fcd01a
Merge pull request #74717 from KoBeWi/tilesetmap_handler_plugin
...
Add separate editor plugin for TileMap and TileSet
2023-07-27 19:11:37 +02:00
Yuri Sizov
cd074f965f
Merge pull request #79904 from KoBeWi/how_to_create_huge_tiles_using_a_simple_trick
...
Add help label about creating multiple/big tiles
2023-07-27 15:22:40 +02:00
Yuri Sizov
f29a0ad21c
Merge pull request #79512 from KoBeWi/tile_expanded_universe
...
Add option to expand tile polygon editors
2023-07-27 15:22:36 +02:00
Yuri Sizov
7fe88c7710
Merge pull request #79899 from KoBeWi/snapped_in_half
...
Improve atlas tile size dragging
2023-07-26 18:40:38 +02:00
Yuri Sizov
bc0e646076
Merge pull request #78827 from Rindbee/fix-history-mismatch
...
Fix history mismatch
2023-07-26 18:39:32 +02:00
kobewi
ec24d50469
Add separate editor plugin for TileMap and TileSet
2023-07-26 17:23:41 +02:00
kobewi
df69073589
Add help label about creating multiple/big tiles
2023-07-25 22:55:29 +02:00
kobewi
965847b6e9
Improve atlas tile size dragging
2023-07-25 22:06:38 +02:00
Yuri Sizov
0cbdad47f9
Merge pull request #79837 from KoBeWi/CursorShaper
...
Fix `get_cursor_shape()` in tile atlas editor
2023-07-24 19:33:41 +02:00
Yuri Sizov
dbff173597
Merge pull request #79676 from KoBeWi/MissingNo.Layers
...
Add placeholder items to TileSet layer list
2023-07-24 19:33:09 +02:00
kobewi
4408f82c93
Fix get_cursor_shape() in tile atlas editor
2023-07-23 23:06:23 +02:00
kobewi
f837624d75
Add option to expand tile polygon editors
2023-07-22 22:21:05 +02:00
Yuri Sizov
ce92f052ec
Merge pull request #79562 from KoBeWi/click_here_yo
...
Improve message when no tile is selected to edit
2023-07-21 17:54:43 +02:00
Yuri Sizov
5ae617627d
Merge pull request #78519 from groud/add_white_rect_to_tilemap_selection
...
Add white rect to TileMap selection tool
2023-07-21 17:54:17 +02:00
kobewi
bb64588796
Add placeholder items to TileSet layer list
...
Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2023-07-20 14:31:00 +02:00
Gilles Roudière
0fc56646f1
Add white rect to TileMap selection tool
2023-07-19 17:42:29 +02:00
kobewi
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +02:00
kobewi
7b8c70c668
Improve message when no tile is selected to edit
2023-07-17 02:41:36 +02:00
Hendrik Brucker
7e21eb7e00
Extract and reorganize texture resource classes
2023-07-14 20:04:21 +02:00
Yuri Sizov
a927b22f65
Merge pull request #77257 from rakkarage/tile_animation_sync
...
Add `TileSetAtlasSource::TileAnimationMode` options and allow to shuffle tile animations
2023-07-12 21:02:31 +02:00
Rindbee
28db5e7649
Fix history mismatch
...
Set the properties of the resource's proxy instead of setting the resource's
properties directly. (For action "Set ...")
Update the path of the edited scene when saving the scene. (For action "Add
atlas source")
2023-07-11 05:45:37 +08:00
kobewi
bdb7e62029
Streamline creating tile atlas sources
2023-07-10 15:36:00 +02:00
Rémi Verschelde
81c6694014
Merge pull request #78522 from MewPurPur/improve-tileset-labels
...
Improve string drawing in the tiledata editor
2023-07-07 16:03:02 +02:00
Rindbee
fec731bf33
Make sure the shortcut key respects the context in `TileSetAtlasSourceEditor`
2023-07-02 06:40:14 +08:00
Gilles Roudière
bca1f91291
Fixes crash in TileSetAtlasSourceEditor
2023-06-22 15:03:53 +02:00
MewPurPur
1649dcad0b
Improve string printing in the tiledata editor
2023-06-21 17:43:45 +02:00
Yuri Sizov
4fc045e9b5
Merge pull request #76152 from timothyqiu/tile-resize-clamp
...
Fix tile resizing towards atlas boundary
2023-06-21 11:19:24 +02:00
Gilles Roudière
94b1bc0d68
Fix TileMap draw preview when switching CI editor tool
2023-06-20 12:12:01 +02:00
Haoyu Qiu
ac36776729
Fix tile resizing towards atlas boundary
2023-06-20 00:36:37 +08:00
Haoyu Qiu
8b5d5dc2c4
Fix crash when opening a TileSet with invalid tiles
2023-06-13 18:50:08 +08:00
kobewi
0972e15df5
Improve some tile editor hint labels
2023-06-07 15:59:19 +02:00
kobewi
16ac217aa0
Draw materials in tile atlas view
2023-06-07 01:03:55 +02:00
Rakka Rage
6dbae30000
Add tile_animation_mode option:
...
- to tile animation properties
- when "Default" each animation starts at time 0.
- when "Random Start Times" each animation starts at random time.
2023-06-06 09:31:18 -04:00
ProbablyWorks
882ffdfaae
set the grow direction of the center view button after setting the anchors
2023-06-01 21:44:16 -04:00
Yuri Sizov
8d6c472f6a
Merge pull request #77135 from KoBeWi/Vector∞
...
Refactor vector editor properties
2023-05-31 12:36:37 +02:00
kobewi
267728a240
Refactor vector editor properties
2023-05-31 00:14:28 +02:00
Rémi Verschelde
c79f96d23a
Merge pull request #77592 from nklbdev/fix_update_animation_duration_in_every_selected_tile
...
Fix update animation frame duration in every selected tile
2023-05-30 09:33:20 +02:00
Nikolay Lebedev
779c39f478
Fix update animation frame duration in every selected tile
2023-05-29 23:15:40 +05:00
Rémi Verschelde
95d745f8dc
Merge pull request #77382 from rakkarage/tileset_merge_crash
...
Fix crash when using tile atlas merge with recreated alt tile
2023-05-26 11:23:03 +02:00
kobewi
010ce46ffa
Add get_edited_property_value() shorthand method
2023-05-26 09:18:53 +02:00
Rémi Verschelde
f92634a709
Merge pull request #77389 from vmedea/tooltip-pattern-index
...
Add pattern index tooltip to tilemap and tileset editor
2023-05-24 08:49:33 +02:00
Rémi Verschelde
692a76d9a5
Merge pull request #77385 from rakkarage/tileset-atlas-merge-filter
...
Make tile atlas merge dialog use filter nearest on right side, like left. To avoid blurry tiles.
2023-05-24 08:49:03 +02:00
Pedro J. Estébanez
e725b4b02b
Allow threads to mark themselves as safe for nodes
2023-05-24 00:22:58 +02:00
Rakka Rage
855d78e458
Make tile atlas merge dialog use filter nearest mipmaps on both sides. To avoid blurry tiles.
2023-05-23 14:46:02 -04:00
mara
93248684b4
Add pattern index tooltip to tilemap and tileset editor
...
Just a little UI convenience feature. Knowing the index (without having
to count manually) is convenient when working with tile patterns
programmatically, especially when having lots of them.
2023-05-23 19:28:06 +02:00
Rakka Rage
88d2ed433d
Fix crash when using tile atlas merge with recreated alt tile
2023-05-23 10:32:02 -04:00
Rémi Verschelde
7f6b283212
Merge pull request #74264 from timothyqiu/self-awareness
...
Allow EditorInspector to change its property name style when necessary
2023-05-08 13:52:23 +02:00
Rémi Verschelde
b791a7acb8
Merge pull request #70488 from KoBeWi/SNAP!
...
Add proper snapping to tile polygon editor
2023-05-08 13:52:11 +02:00
Rémi Verschelde
b639076e04
Merge pull request #68800 from KoBeWi/tinfo
...
Add info label to TileMap editor
2023-05-08 12:19:52 +02:00
kobewi
24224381ec
Add proper snapping to tile polygon editor
2023-05-01 21:36:33 +02:00
Haoyu Qiu
d24ee551ec
Allow EditorInspector to change its property name style when necessary
...
Previously, an EditorInspector's property name can only be set from
outside. Inspectors used for settings needs to respond to changes in
editor settings. So a few boilerplate code is almost always needed,
including watching for a certain editor setting in `_notification()`.
This commit adds a `set_use_settings_style()` function to tell the
inspector to watch for editor settings changes on its own.
2023-04-29 10:51:00 +08:00
Rémi Verschelde
5bb46d6064
Merge pull request #76176 from YuriSizov/editor-extracted-interface-commencing
...
Decouple `EditorInterface` from `EditorPlugin`
2023-04-18 23:41:20 +02:00
Yuri Sizov
9e6b680cfb
Merge pull request #74814 from kleonc/tilemap-fix-rendering-odd-sized-tiles
...
`TileMap` Fix rendering odd-sized tiles
2023-04-18 16:27:44 +02:00
Yuri Sizov
49d7041d34
Decouple EditorInterface from EditorPlugin
...
- Simplify some includes in the process.
- Also exposes EditorInterface.movie_maker_enabled as a property.
2023-04-17 21:59:09 +02:00
Yuri Sizov
4154039832
Improve includes of EditorNode (and everything else)
...
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00
Yuri Sizov
9b500ab53c
Fix premature theme item access in editor tools
2023-04-03 18:01:11 +02:00
kleonc
c72b09639a
TileSet editor AtlasMergingDialog crash fix
2023-03-28 20:07:26 +02:00
kleonc
224c66324b
TileMapEditor Fix preview rendering and transform calculations
2023-03-16 14:52:38 +01:00
kleonc
c49a7feae3
TileMap Fix rendering odd-sized tiles
2023-03-12 16:20:38 +01:00
Haoyu Qiu
bef7f14885
Add missing TTRs in tiles editor and array inspector
2023-03-09 14:38:54 +08:00
Rémi Verschelde
eafc88c835
Merge pull request #73514 from AThousandShips/tile_origin_fix
...
Fix TileSetEditor paiting texture_origin Vector2i
2023-03-03 11:02:24 +01:00
Ninni Pipping
fb317546fe
Fix TileSetEditor paiting texture_origin Vector2i
2023-03-02 12:06:27 +01:00
Rémi Verschelde
7e11cc8aa0
Merge pull request #74039 from daBlesr/tilemap-remember-previosuly-selected-tile
...
Remember previously selected TileMap tile.
2023-03-02 11:41:48 +01:00
Niels Drost
66374c8dce
TileSet editor was out of sync with TileMap and incorrectly overwrote old selected TileSet after an edit call with a null pointer.
2023-02-28 22:30:46 +01:00
nklbdev
834a6c5983
fix typo `set_polygon` in GenericTilePolygonEditor
2023-02-25 00:57:34 +05:00
kobewi
56251cf08c
Fix tile atlas merging crash
2023-02-20 18:22:44 +01:00
Haoyu Qiu
ccc3bdebb3
Add missing i18n in tiles editor
2023-02-15 23:08:03 +08:00
kobewi
be6d5bbba6
Fix some TileMap errors and crashes
2023-02-14 00:39:41 +01:00
SnailRhymer
db8d308830
Fix random placement behaviour in new TileMap Editor
...
Fix a bug where scattering could be set to e.g. 0.9 but a tile would still always be placed, as the check rand > 0.9 would be run on every mouse movement until it was successful.
2023-02-10 19:08:03 +01:00
Rémi Verschelde
44d5d4e3cd
Merge pull request #73007 from KoBeWi/typos_be_like
...
Fix error spam when deselecting TileMap
2023-02-10 15:06:40 +01:00
Gilles Roudière
89ccdc7d34
Fix TileMap patterns creation
2023-02-10 10:46:19 +01:00
kobewi
f92392ce23
Fix error spam when deselecting TileMap
2023-02-10 01:07:48 +01:00