Rémi Verschelde
2ca3e47d66
Merge pull request #22642 from YeldhamDev/inspector_metadata
...
Expose "meta" to the Inspector
2019-07-19 14:39:23 +02:00
qarmin
01cc7a996b
Use reference to constant in functions
2019-07-10 11:54:12 +02:00
Ibrahn Sahir
4e4697b1c4
Added release function to PoolVector::Access.
...
For clarity, assign-to-release idiom for PoolVector::Read/Write
replaced with a function call.
Existing uses replaced (or removed if already handled by scope)
2019-07-06 12:04:27 +01:00
qarmin
67b58de0f8
Fix memory leak in Tilemaps
2019-06-28 15:37:09 +02:00
qarmin
4e5310cc60
Some code changed with Clang-Tidy
2019-06-26 15:08:25 +02:00
Rémi Verschelde
4b399034aa
Merge pull request #24560 from guilhermefelipecgs/fix_24549
...
Add EDITMODE_PRIORITY for ATLAS_TILE
2019-06-01 09:49:18 +02:00
Rémi Verschelde
88539cf680
Merge pull request #27972 from ahouts/add-hotkeys-to-tileset-editor
...
add hotkeys to tileset editor
2019-05-28 11:57:23 +02:00
Rémi Verschelde
e0574e1d98
Fix typos with codespell
...
Using codespell 1.15.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-05-19 13:10:35 +02:00
ahouts
c9abff4bae
add hotkeys to tileset editor
2019-05-10 18:08:56 -07:00
dankan1890
12a01a33aa
Tileset-Editor: Added alternative tool for drawing a rectangular shape.
2019-04-21 02:51:49 +02:00
Michael Alexsander Silva Dias
d2a7624687
Fix position of tile names in TileSet editor when zooming in/out
...
Fixes #27713 .
2019-04-11 19:03:03 -03:00
Rémi Verschelde
c8994b56f9
Style: Apply new changes from clang-format 8.0
...
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Rémi Verschelde
de33c37196
Merge pull request #27565 from SpechtMagnus/tileset_autotile_ignore_flags
...
Added ignore flag / wildcard bit to tileset autotile
2019-04-08 10:04:30 +02:00
Magnus Specht
a3af9d5714
+ Added ignore flags to autotile bitmask
...
+ Added ignore functionality to tileset editor
+ Updated tileset editor autotile tooltip
+ Autotile ignore bits are processed and rendered correctl
2019-04-08 00:41:05 +02:00
Michael Alexsander Silva Dias
9501900e1b
Fix crash when using the Tileset Editor when the given shape has no points
2019-04-05 21:32:48 -03:00
Siddharth
fcd39a506a
Update tile_set_editor_plugin.cpp
2019-03-27 22:50:52 +05:30
Siddharth
ba2b09b034
Revert "Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits."
...
This reverts commit 2d995372d8
.
2019-03-27 22:49:19 +05:30
Siddharth
2d995372d8
Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits.
...
Updated tile_set_editor_plugin.cpp And area.cpp
Updated with clang-format
Updated tile_set_editor_plugin.cpp And area.cpp
2019-03-23 20:03:59 +05:30
Mariano Suligoy
6c08f4ea4e
TileSetEditor: Don't draw invalid occlusion shapes. Fixes #24238
2019-03-06 15:31:16 -03:00
Rémi Verschelde
f43ee4aff8
Merge pull request #26639 from YeldhamDev/tileeditor_coordnav_disable
...
Disable coord navigation buttons in TileSet editor when no texture is selected
2019-03-05 16:59:05 +01:00
Gio Aleman
4cf197fa48
Fixed Tileset preview stretching textures
2019-03-05 09:53:08 -05:00
Michael Alexsander Silva Dias
9b52ad5caf
Disable coord navigation buttons in TileSet editor when no texture is selected
2019-03-05 11:22:44 -03:00
Mariano Suligoy
33406131c1
TileSetEditor: Expose to the user OneWayCollision+Margin properties. Fixes #25817 .
2019-03-04 14:10:31 -03:00
Rémi Verschelde
c0e1c66e3d
Merge pull request #26385 from MarianoGnu/tileset_editor
...
TileSetEditor: Improvements and fixes
2019-03-03 11:24:16 +01:00
Mariano Suligoy
7b933d70a8
TileSetEditor: Allow to toggle Convex/Concave collisions. Alternative fix to #24003
2019-03-02 19:40:56 -03:00
Mariano Suligoy
65084a70fd
Allow to change selection of collision shapes added to the same tile. Fixes #26369 .
2019-02-28 22:45:16 -03:00
Mariano Suligoy
33be8b0701
Allow to change selection around all tiles on the texture without clicking on them. Fixes #25203 . Fixes #22077
2019-02-28 20:48:34 -03:00
Michael Alexsander Silva Dias
6cf1a94af0
Make TileSet editor's workspace change size according to region changes
2019-02-27 22:40:54 -03:00
Peter Oberrauner
657f83148c
Allow Creation of Multiple Collision Shapes for Tiles #24003
2019-02-26 23:45:01 +01:00
Mariano Suligoy
5a21847f23
TileSetEditor: Show Edition Context by demand
2019-02-23 00:04:31 -03:00
Juan Linietsky
7f63b0e8cd
Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
...
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
MrCdK
7827c2fd57
Added a create rectangle button to the tileset editor.
...
It makes easier to create collision shapes covering the full tile.
2019-02-20 12:27:53 +01:00
Rémi Verschelde
f1d1ecb383
Merge pull request #24686 from YeldhamDev/autotile_grid_separation_fix
...
Fix incorrect grid snapping in TileSet editor with separation
2019-01-01 19:04:04 +01:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Michael Alexsander Silva Dias
07fdd2c702
Fix incorrect grid snapping in TileSet editor with separation
2018-12-31 13:36:51 -02:00
Michael Alexsander Silva Dias
4a91f94c13
Add undo-redo to the TileSet editor, and other improvements
2018-12-30 10:54:03 -02:00
Michael Alexsander Silva Dias
8aad7ef016
General fixes for the TileSet editor
2018-12-24 18:27:43 -02:00
Guilherme Felipe
bacf5124cf
Add EDITMODE_PRIORITY for ATLAS_TILE
...
When editing ATLAS_TILE, now it's possible to enable priority to
randomize subtiles.
2018-12-23 18:56:18 -02:00
Rémi Verschelde
f09956c86c
Merge pull request #24513 from YeldhamDev/fix_tileset_editor_draw
...
Fix small drawing error in TileSet editor
2018-12-21 10:09:00 +01:00
Michael Alexsander Silva Dias
daf54133c2
Fix small drawing error in TileSet editor
2018-12-20 19:52:56 -02:00
Guilherme Felipe
21bad78bd8
Fixes for TileSetEditor and TileMapEditor
...
[TileSetEditor] Hide Bitmask and Priority for ATLAS_TILE
[TileMapEditor] Hide "Disable autotile" if the selected tile isn't
autotile
Fix #22756 , don't update bitmask when tilemode is ATLAS_TILE
2018-12-20 15:31:45 -02:00
Michael Alexsander Silva Dias
e425f2d498
Expose "meta" to the Inspector
2018-12-08 02:27:20 -02:00
Guilherme Felipe
69f6f787c0
Add Z-Index for Autotile
2018-12-07 18:42:56 -02:00
Michael Alexsander Silva Dias
d514ac405b
Hide "Script" section in the "TilesetEditorContext"
2018-12-07 02:18:02 -02:00
Rémi Verschelde
3f1bec5887
Merge pull request #23977 from YeldhamDev/editor_plugins_improvements
...
General enhancements to the Polygon2D, TextureRegion, and TileSet editors
2018-12-06 16:26:16 +01:00
David Kennedy
29284f628c
Fixes editor crashing when editing autotiles issue #24004
2018-12-06 07:15:48 -03:00
Michael Alexsander Silva Dias
e4d0ecce7a
General enhancements to the Polygon2D, TextureRegion, and TileSet editors
2018-12-06 03:29:27 -02:00
Liangdi
5116c009c9
fix tile set editor crash when drawing polygon shapes
2018-11-08 02:10:13 +08:00
Pedro J. Estébanez
d856ec611a
Let TileSet editor sanitize out tiles with wrong textures
2018-11-02 04:54:28 +01:00
Liangdi
aaa7f625df
support New TileSet Editor zooming use CTRL/CMD + MouseWheel
...
fixed code style for clang-format
apply clang-format
2018-10-26 23:58:58 +08:00
merumelu
27596f6031
TileSetEditor: Don't crash when adding invalid files
2018-10-11 17:15:01 +02:00
Rémi Verschelde
7b081a7fc8
Fix warnings about unhandled enum value in switch [-Wswitch]
...
Fixes GCC 5 warnings of the form:
core/io/http_client.cpp:288:9: warning: enumeration value 'STATUS_SSL_HANDSHAKE_ERROR' not handled in switch [-Wswitch]
core/io/marshalls.cpp:806:9: warning: enumeration value 'AABB' not handled in switch [-Wswitch]
Those can be trivial cases where adding a default fallback is the solution,
or more complex issues/hidden bugs where missed values are actually meant
to be handled.
2018-09-27 18:34:30 +02:00
Yuri Chornoivan
06e73522dc
Fix vformat(), minor typos and word puzzles
2018-08-29 11:50:39 +03:00
Rémi Verschelde
9df5ddae29
Merge pull request #21456 from MarianoGnu/tileset_editor
...
TileSet editor Fixes
2018-08-27 17:49:02 +02:00
Omicron
71397e0e17
Typo in text string
...
reported by Yuri Chornoivan on weblate
2018-08-27 16:12:48 +02:00
Mariano Javier Suligoy
c64ab97063
TileSet editor Fixes
...
Properly draw navigation and oclusion polygons for SINGLE type tiles. Fixes #21398
Add some checks for TileID validation before accessing to it's properties. Fixes #21397
Fix 'Keep inside region' snap option for tiles with SINGLE_TILE mode. Fixes #21402
Restore hability to asign/unasign an script to a tileset. Fixes #20886
2018-08-26 17:10:01 -03:00
Michael Alexsander Silva Dias
6fa1b5eca7
Add option to move Tile/GridMap editors to another side
2018-08-22 19:18:23 -03:00
Mariano Javier Suligoy
810b73c01e
Display tile ID along with name
...
Fixes #20895 .
2018-08-22 14:35:50 +02:00
Michael Alexsander Silva Dias
609d97b6d4
Changes to the TileSet and TextureRegion editors
2018-08-14 14:02:47 -03:00
MAriano Javier Suligoy
ce87a30e45
New TileSet Editor
2018-08-09 20:38:02 -03:00
Bojidar Marinov
d73cdeb248
Fix bugs related to bad handling of rotated/translated shapes in tilemap
...
Fixup #18529 and #12870
2018-06-03 16:32:23 +03:00
Mariano Javier Suligoy
7eddb80b27
Merge pull request #18960 from isaacremnant/autotile_3x3_minimal
...
Restore support for minimal 3x3 autotile sets
2018-05-17 19:57:55 -03:00
isaacremnant
e4f0ac558d
Restore support for minimal 3x3 autotile sets
2018-05-17 09:49:14 -04:00
Rémi Verschelde
5e20a229eb
Merge pull request #18529 from swarnimarun/master
...
Fix StaticBody2D ignore in tileset bug
2018-05-17 09:35:51 +02:00
Swarnim Arun
8529763a0f
Fix tileset bug #18090 to use StaticBody2D position
...
Using staticbody2d position to affect the collision shape position whenever a tileset is created.
Formatting the code
Removed the most get/set from my old code.
2018-05-09 12:12:10 +05:30
Rémi Verschelde
de97339a2d
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
...
Fix Coverity reports of uninitialized scalar variable
2018-05-01 19:14:07 +02:00
Pieter-Jan Briers
20dd2204db
Adds z-index properties to TileSets.
2018-05-01 17:24:57 +02:00
Rémi Verschelde
bf7ca623a6
Fix Coverity reports of uninitialized scalar variable
...
Fixes most current reports on Coverity Scan of uninitialized scalar
variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html
These happen most of the time (in our code) when instanciating structs
without a constructor (or with an incomplete one), and later returning
the instance. This is sometimes intended though, as some parameters are
only used in some situations and should not be double-initialized for
performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-19 15:20:45 +02:00
Poommetee Ketson
ed3b080ca6
Fix converting to tileset crashes Godot if existing file is not tileset
...
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23 21:27:30 +07:00
Rémi Verschelde
535205196f
Merge pull request #17013 from Noshyaar/theme
...
Update icons when theme changed
2018-03-13 13:48:37 +01:00
Rémi Verschelde
8b629bbcbe
Merge pull request #17166 from Noshyaar/tilemap2
...
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-13 12:53:51 +01:00
Poommetee Ketson
54ecfc96ea
TileSetEditorPlgn: use EditorHandle icon as handle
2018-03-02 23:15:32 +07:00
Poommetee Ketson
86938a06aa
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-02 17:14:55 +07:00
Poommetee Ketson
762f241e10
TileSetEditorPlgn: Fix a leak
2018-02-27 09:58:27 +07:00
Poommetee Ketson
2de1dfa42f
Update icons when theme changed
2018-02-25 23:04:16 +07:00
Damar Indra
e69dd47501
Tileset Editor Improvement
2018-02-20 22:33:59 +07:00
damarindra
cceb176be3
fix crash autotile edit mode
2018-02-16 17:48:01 +07:00
Poommetee Ketson
70be6848c2
Fix ObjectDB Instances still exist
...
```
WARNING: cleanup: ObjectDB Instances still exist!
At: core/object.cpp:1989.
Leaked Instance: VSeparator:13837 - Node Name:
Leaked Instance: AutotileEditorHelper:13814
Orphan StringName: VSeparator
Orphan StringName: AutotileEditorHelper
StringName: 2 unclaimed string names at exit.
```
2018-01-22 11:46:05 +07:00
Mariano Suligoy
489eac3f13
TileSetEditorPlugin: take scale in accout when highlighting current selected subtile.
2018-01-17 21:07:43 -03:00
Gilles Roudiere
b06c6602c8
Changes the keep_margin parameter to true by default, so that people are not suprised that set_anchor changes the margins values
2018-01-15 10:37:13 +01:00
damarindra
bea40343ab
fix updating tileset list when assign texture and set autotile true
2018-01-11 05:50:36 +07:00
Rémi Verschelde
abcb87bc43
Merge pull request #15357 from damarindra/autotile-behaviour
...
Fixing unconsistent behaviour on autotile editor
2018-01-07 16:00:00 +01:00
Poommetee Ketson
768fd83e61
Fix typo in new strings
2018-01-06 21:33:11 +07:00
damarindra
97b8be7261
Fixing weird behaviour on autotile editor
2018-01-05 17:53:30 +07:00
damarindra
0ae4ca7066
prevent autotile properties out of bounds
2018-01-05 15:28:36 +07:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
volzhs
1876999b3a
Fix get_edited_scene_root error at starting editor
...
Fix #15300
2018-01-05 03:55:43 +09:00
Michael Alexsander Silva Dias
ca90c737b7
Fixed "Tile Set" button always showing bug introduced with #15309 .
2018-01-04 09:26:24 -02:00
Michael Alexsander Silva Dias
fb68ceebae
Fixed the "Tile Set" button being able to go out of bounds.
2018-01-03 21:56:57 -02:00
Rémi Verschelde
361ade53aa
Merge pull request #15185 from damarindra/master
...
Improve : ease of use TileSet Editor
2018-01-03 12:06:21 +01:00
damarindra
9b04973568
Improve : ease of use TileSet Editor
2018-01-02 16:15:33 +07:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
damarindra
e850360948
Autotile Enhancement
2017-12-28 23:57:23 +07:00
geequlim
52ad2e5418
Add more translatable text for editor plugins.
2017-12-23 22:40:15 +08:00
George Marques
c8d416d152
Fix method not returning value in all paths (autotile editor)
2017-12-17 16:03:46 -02:00
Michael Alexsander Silva Dias
a933b927ca
Fixed Tileset editor button having the wrong text and not being translatable.
2017-12-12 17:06:44 -02:00
volzhs
81a79e0c0e
Fix get_edited_scene_root error at starting editor
2017-12-10 08:01:00 +09:00
Mariano Suligoy
af719a90a7
TileMap Fixes
2017-12-02 20:49:01 -03:00
Mariano Suligoy
bcfb0a09f8
Implement auto-tiling
2017-11-20 06:27:47 -03:00