Commit graph

1639 commits

Author SHA1 Message Date
Rémi Verschelde
8498fcf831
Merge pull request #29015 from dfelinto/fix-ui-lowercase
Fix upper/lowercase in some UI strings
2019-05-20 17:56:56 +02:00
Rémi Verschelde
79cc95c6a7
Merge pull request #27559 from groud/anchor_mode
Improve the anchors and margin workflow
2019-05-20 17:44:56 +02:00
Rémi Verschelde
fead547ba5
Merge pull request #28972 from erammos/28943_script_editor_plugin
minor change in scriptEdtiorPlugin ref #28943
2019-05-20 11:22:47 +02:00
MrCdK
f8a9844d80 Renamed EditorResourcePreviewGenerator.should_generate_small_preview() to generate_small_preview_automatically()
Added can_generate_small_preview() so the generator uses generate() or generate_from_path() if it returns true
Added can_generate_small_preview() and generate_small_preview_automatically() to the scripting languages
2019-05-20 11:08:39 +02:00
Dalai Felinto
5b6e7935d1 Fix upper/lowercase in some UI strings
Note: I was tempted to also change "Align with View" since we use the word
"With" with uppercase in "Align Selection With View".

However I believe "With" should be lower case and the old stripg
(Align Selection ...) is the one to be fixed.
2019-05-19 18:08:11 -03:00
Rémi Verschelde
a940b4cf64
Merge pull request #28997 from akien-mga/codespell
Fix typos with codespell
2019-05-19 22:04:14 +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
Chaosus
719a9a9c1c Added Fresnel and OneMinus to visual shaders 2019-05-19 13:44:30 +03:00
Elias Rammos
20ebfefad1 minor change in scriptEdtiorPlugin ref #28943 2019-05-18 14:46:45 +03:00
Max Hilbrunner
580b0c651d
Merge pull request #28920 from hmumm/dragging-directory-adds-it-to-script
Directories can now be dragged into the script editor
2019-05-17 19:51:18 +02:00
Ibrahn Sahir
cbf2d3cdc4 Removed an unused and leaked CheckButton instance in theme editor plugin 2019-05-17 15:39:48 +01:00
Tomasz Chabora
3bc0445e05 Allow to undo TextEdit.set_text 2019-05-16 23:05:17 +02:00
Hayden
c9b9ba26db Directories can now be dragged into the script editor 2019-05-16 10:44:05 -05:00
dankan1890
81e48e2cf3 ScriptEditor: Changed the shortcut for contextual help in ALT + F1, to resolve the conflict with the help menu opening shortcut. 2019-05-15 14:27:24 +02:00
Ranoller
7a8e4f64b8 Fix tilemap displaced textures and shapes with origin point BOTTOM_LEFT and CENTER and other casuistry
This commit fix https://github.com/godotengine/godot/issues/22989 fixing displaced textures and not coincident shapes in tilemap. Fix too: https://github.com/godotengine/godot/issues/15249, https://github.com/godotengine/godot/issues/28206, https://github.com/godotengine/godot/issues/28610 and probably others
2019-05-15 04:14:27 +02:00
Michael Alexsander Silva Dias
c66bcedb7a Make "Onion Skinning" toggle its own button 2019-05-14 00:42:05 -03:00
Gilles Roudiere
e875f05c3b Improve the anchors and margin workflow 2019-05-13 18:55:31 +02:00
Rémi Verschelde
3fa84efb03
Merge pull request #28831 from dankan1890/spriteframes_sheet_fix
AnimatedSprite: Add from spritesheets now work as expected. Fix #28030
2019-05-13 12:13:07 +02:00
dankan1890
abeb61f220 AnimatedSprite: Add from spritesheets now work as expected. Fix #28030 2019-05-12 02:33:05 +02:00
freestraws
537ee747be Apply sprite frames editor FPS value correctly upon _animation_select 2019-05-11 16:32:32 -04:00
ahouts
c9abff4bae add hotkeys to tileset editor 2019-05-10 18:08:56 -07:00
Timo Schwarzer
ca80ebe9f6
Fix AnimationPlayer editor length and step synchronization 2019-05-06 21:39:24 +02:00
Tomasz Chabora
0bfcf8bc2f Add bookmarks for easier code navigation 2019-05-05 18:57:53 +02:00
Ranoller
d33b4f4de8
FIX Script editor doesn´t send unsaved script #28693
This commit fix #28693.
Script editor doesn´t send unsaved version of a script in editor_script_changed signal (sends disk stored version) unless you close other script and apply_scripts() is performed.
2019-05-05 06:56:19 +02:00
Rémi Verschelde
84401e8cdf
Merge pull request #28629 from YeldhamDev/findfiles_always_available
Make "Find in Files" always available in the script editor
2019-05-03 23:00:45 +02:00
Chaosus
8a8b7af638 Fix collapse visual shader tree 2019-05-03 11:10:08 +03:00
Chaosus
e57d761f9b Fix build visual_shader_editor_plugin 2019-05-03 08:50:00 +03:00
Michael Alexsander Silva Dias
52651509f0 Make "Find in Files" always available in the script editor 2019-05-02 20:07:06 -03:00
Chaosus
62b7132947 Fix input entries when switching to new visual shader 2019-05-02 10:00:08 +03:00
Chaosus
3c159ea379 Added missed inputs for other modes in visual shaders 2019-05-01 17:04:39 +03:00
Rémi Verschelde
ae41e35191
Merge pull request #27676 from qarmin/small_fixes_2
Small fixes to static analyzer bugs
2019-05-01 08:19:04 +02:00
Rémi Verschelde
36d4f86ed9
Merge pull request #27707 from Calinou/tweak-message-wording
Improve wording of various messages and make casing more consistent
2019-04-30 11:10:36 +02:00
Rémi Verschelde
ac0369e9ff
Merge pull request #27845 from samdze/master
Make TileMap overridable "set_cell" function called on undo/redo
2019-04-30 10:55:53 +02:00
Rémi Verschelde
5313ce232d
Merge pull request #27870 from mawenzy/pr_gotoline
Bind goto_line function for Script Editor
2019-04-30 10:53:23 +02:00
Rémi Verschelde
d647f7ce71
Merge pull request #28491 from guilhermefelipecgs/ux_tile_map
[TileMapEditor] Improve tool picking usability
2019-04-30 10:09:05 +02:00
Rémi Verschelde
7018de8425
Merge pull request #28016 from YeldhamDev/spritesheet_dialog_improvements
Small improvements to the new Sprite Sheet dialog
2019-04-29 18:40:59 +02:00
Rémi Verschelde
23147ae2c3
Merge pull request #28101 from MunWolf/debugger_cursor
Added a marker in text_edit that tells which row is executing.
2019-04-29 18:38:38 +02:00
Guilherme Felipe
99958c99da [TileMapEditor] Improve tool picking usability
When KEY_CONTROL is released, go back to the last tool.

Also add a tooltip for paint button with shortcuts for line draw and
rectangle paint.
2019-04-29 12:38:33 -03:00
Rémi Verschelde
85c27f9c90
Merge pull request #28452 from Sintinium/undoredo-lock
Undo support for locking and grouping for both 2D and 3D
2019-04-29 16:23:28 +02:00
Rémi Verschelde
18e88c8563
Merge pull request #18992 from aaronfranke/mono-equal-approx
[Core] [Mono] Improve and use approximate equality methods
2019-04-29 10:16:46 +02:00
Samuele Zolfanelli
e2dd0c101e Make TileMap overridable "set_cell" function called on undo/redo 2019-04-27 17:20:32 +02:00
Sintinium
d1fa546dc9 Undo support for locking and grouping for both 2D and 3D 2019-04-26 18:16:59 -05:00
Chaosus
7a9735eef4 Fix uniform title color in visual shaders(regression) 2019-04-26 10:53:40 +03:00
Rémi Verschelde
77f576e2a1
Merge pull request #28418 from guilhermefelipecgs/fix_scroll
Fix scroll for texture_region and polygon_2d editor
2019-04-25 22:58:03 +02:00
Rémi Verschelde
ae8f8530af
Merge pull request #28417 from guilhermefelipecgs/more_switch_on_hover
Set switch_on_hover to true for the remaining menus
2019-04-25 22:57:07 +02:00
Aaron Franke
b659e1eb2b
Use approximate equallity methods in many places 2019-04-25 13:20:29 -04:00
Rémi Verschelde
cce2e4b07c
Merge pull request #22301 from YeldhamDev/button_popup_highlight
Enable toggle behaviour for buttons that trigger popups
2019-04-25 17:47:23 +02:00
Guilherme Felipe
f662f1505e Fix scroll for texture_region and polygon_2d editor 2019-04-25 10:51:27 -03:00
Guilherme Felipe
32b9b3159a Set switch_on_hover to true for the remaining menus 2019-04-25 10:27:33 -03:00
Rémi Verschelde
42194e2f09
Merge pull request #28354 from gdupr/gui_improvements_in_asset_editor
GUI improvements in the asset library editor.
2019-04-25 13:34:12 +02:00
Rémi Verschelde
5fe971145c
Merge pull request #28347 from homer666/tilemap-hide-menu
Hide "TileMap" menu properly in CanvasItem view
2019-04-25 13:32:04 +02:00
Rémi Verschelde
cfc6ae8920
Merge pull request #28336 from guilhermefelipecgs/fix_play_pos
[StateMachine] Fix play position
2019-04-25 13:28:58 +02:00
Rémi Verschelde
7dc7cbea0a
Merge pull request #28410 from guilhermefelipecgs/fix_typo
[Tilemap] Fix typo
2019-04-25 12:17:53 +02:00
Rémi Verschelde
c26f0c9bbd
Merge pull request #28377 from YeldhamDev/connection_info_script_changes
Make small changes to the new connection info on script feature
2019-04-25 10:41:27 +02:00
Yuri Roubinsky
9f3899b20a
Merge pull request #28411 from Chaosus/fix_vs_crash
Fix crash regression in visual shader
2019-04-25 07:48:59 +03:00
Chaosus
446f8a2cc2 Fix crash regression in visual shader 2019-04-25 07:46:18 +03:00
Guilherme Felipe
6fb19bebbb [Tilemap] Fix typo 2019-04-24 21:30:50 -03:00
Michael Alexsander Silva Dias
11bac340d0
Merge pull request #28363 from YeldhamDev/themeeditor_namepopup_size_fix
Fix "Name" popup's size in theme editor
2019-04-24 17:22:18 -03:00
Chaosus
3a3df84d3b Fix connection lines glitch in visual shaders 2019-04-24 12:47:54 +03:00
Yuri Roubinsky
93e7eb0ddb
Merge pull request #28375 from Chaosus/fix_vs_loopback
Disallow loopback connection in visual shaders
2019-04-24 09:41:06 +03:00
Chaosus
21ca9f6c7c Disallow loopback connection in visual scripts and visual shaders 2019-04-24 09:14:45 +03:00
Michael Alexsander Silva Dias
4bca3236d1 Make small changes to the new connection info on script feature 2019-04-24 03:13:25 -03:00
Chaosus
9ac770be45 Removes preview from existing transform nodes in visual shader 2019-04-24 08:08:29 +03:00
Michael Alexsander Silva Dias
dac9a5ba96 Fix "Name" popup's size in theme editor 2019-04-23 20:21:31 -03:00
Rémi Verschelde
80f91c9d36
Merge pull request #28351 from Paulb23/fix_state_crash
Fix crash when restoring script editor state
2019-04-23 23:23:32 +02:00
Rémi Verschelde
0453e6eddc
Merge pull request #28348 from Chaosus/fix_vs_transform_preview
Removed incorrect "Transform" preview from visual shaders
2019-04-23 23:19:31 +02:00
Rikhardur Bjarni Einarsson
9bfa63496a Added a marker in text_edit that tells which row is executing. 2019-04-23 21:51:01 +01:00
gdupr
b89d8bb56c Separated description from the preview content and centered the playbutton for video thumbnails in the Asset Library Editor 2019-04-23 21:53:15 +02:00
Paulb23
2fedd2559c Fix crash when restoring script editor state 2019-04-23 20:52:30 +01:00
Tomasz Chabora
a93ff8d210 Add undo for Sprite Editor 2019-04-23 21:10:44 +02:00
Chaosus
be11b6f04d Removed incorrect "Transform" preview from visual shaders 2019-04-23 21:52:06 +03:00
homer666
1aaab30a2b Hide "Tilemap" menu properly in CanvasItem view 2019-04-24 04:31:53 +10:00
Chaosus
eb53c0fb32 Enlarge Vector3 constant node in visual shaders 2019-04-23 21:21:17 +03:00
Guilherme Felipe
0fcbf4da8f [StateMachine] Fix play position
Continuation of 771fbd282a
2019-04-23 14:59:16 -03:00
Hein-Pieter van Braam
2ea75764c0
Merge pull request #24796 from guilhermefelipecgs/fix_play_pos_sm
Show play position of sub state machine
2019-04-23 06:32:07 +03:00
Hein-Pieter van Braam
696d9d20cf
Merge pull request #25510 from groud/tilemap_editor_enhancement
Move some tilemap options to the toolbar
2019-04-23 06:26:46 +03:00
Hein-Pieter van Braam
c794107988
Merge pull request #25744 from YeldhamDev/enhanced_theme_preview
Enhance theme preview
2019-04-23 06:23:00 +03:00
Hein-Pieter van Braam
a112eb599f
Merge pull request #28064 from DarknessCatt/issue-27077
Moving Polygon2D vertices along axis
2019-04-23 05:55:57 +03:00
Mariano Javier Suligoy
1bbe95b452
Merge pull request #28178 from dankan1890/tileset_editor_add_1
Tileset-Editor: Added alternative tool for drawing a rectangular shape.
2019-04-22 14:08:50 -03:00
Rémi Verschelde
a342131eba
Merge pull request #27673 from qarmin/small_fixes
Small fixes, mostly duplicated code
2019-04-22 12:00:34 +02:00
Rémi Verschelde
22457b907e
Merge pull request #28234 from Paulb23/connection_info_on_script
Display connection information in the script editor
2019-04-22 11:52:13 +02:00
Hugo Locurcio
0fc0641e7d
Fix rotation offset/snap fields being cut off in Configure Snap dialog 2019-04-22 00:51:48 +02:00
Hugo Locurcio
35a0162167
Improve wording of various messages and make casing more consistent
This also adds the number of selected projects to the confirmation
dialog that appears before removing projects.
2019-04-21 14:37:14 +02:00
Rémi Verschelde
e292cc0a0a
Merge pull request #28028 from homer666/visual-shader-editor-member-dialog-fixes
Misc. improvements to visual shader's "Add Node" dialog
2019-04-21 13:48:51 +02:00
Rémi Verschelde
78eb25a4a8
Merge pull request #27860 from Calinou/improve-3d-snapping
Make 3D snapping finer when holding Shift
2019-04-21 13:12:10 +02:00
Rémi Verschelde
71bbe6eb01
Merge pull request #27979 from Paulb23/remember_script_state
Restore script editor state between sessions
2019-04-21 13:01:43 +02:00
Rémi Verschelde
7879968136
Merge pull request #28026 from Dentoid/insert_keyframe_fix
Fix for "Insert Keyframe" shortcut doing nothing
2019-04-21 12:58:24 +02:00
Rémi Verschelde
e003324a1e
Merge pull request #28245 from guilhermefelipecgs/open_menu
Small ux improvement
2019-04-21 12:50:45 +02:00
Rémi Verschelde
db3dd67d47
Merge pull request #28130 from JFonS/add_3d_grouping
Add grouping to 3D editor
2019-04-21 09:30:15 +02:00
Michael Alexsander Silva Dias
aa7d10b2bc Small improvements to the new Sprite Sheet dialog 2019-04-21 00:32:45 -03:00
dankan1890
12a01a33aa Tileset-Editor: Added alternative tool for drawing a rectangular shape. 2019-04-21 02:51:49 +02:00
Guilherme Felipe
d835738045 Small ux improvement 2019-04-20 17:43:23 -03:00
Paulb23
a6562cd004 Display connection information in the script editor 2019-04-20 13:13:54 +01:00
Rémi Verschelde
c1444ebeaf Fix typo in SpriteFrameEditor preview draw
As spotted by @DennisWG.
2019-04-20 09:08:07 +02:00
JFonS
42043a22e8 Add grouping to 3D editor 2019-04-17 18:24:28 +02:00
lupoDharkael
2ad302cec4 Don't allow class_name in built-in scripts 2019-04-17 17:06:21 +02:00
Matheus Lima Cunha
0110a88547 Move vertex along a single axis while editing and holding shift 2019-04-16 20:26:22 -03:00
lupoDharkael
145a45fd3f Fix code completion not working with class_name 2019-04-16 22:27:13 +02:00
mawenzy
d87021de93 Bind goto_line function for Script Editor #9153
- added doc for ScriptEditor:goto_line
2019-04-16 17:32:10 +02:00
Rémi Verschelde
6420768887
Merge pull request #28073 from lupoDharkael/early-validation
Validate scripts when they are loaded in the text editor
2019-04-16 10:10:57 +02:00
homer666
557122fdda Misc improvements to visual shader Add Node dialog 2019-04-16 15:40:54 +10:00
lupoDharkael
f137166251 Validate scripts when they are loaded in the text editor 2019-04-16 02:14:58 +02:00
James Buck
ae646261e3 Fix setting of PopupMenu item IDs in editor 2019-04-15 14:36:42 -05:00
Michael Alexsander Silva Dias
55c7590763
Merge pull request #27944 from YeldhamDev/tile_name_position_fix
Fix position of tile names in TileSet editor when zooming in/out
2019-04-15 15:35:48 -03:00
Yuri Roubinsky
f213055e11
Merge pull request #28005 from Chaosus/vs_delete
Restored possibilty to delete multiple nodes in visual shaders via Delete key
2019-04-15 07:31:17 +03:00
Juan Linietsky
296c74072c Implement autokeying in Animation editor. 2019-04-15 00:49:03 -03:00
Anders Stenberg
645c656571 Proper passing of the "transform_key_request"
signal from SpatialEditorViewport to InspectorDock
2019-04-14 22:27:59 +02:00
Juan Linietsky
4203266923 Add support for FPS snap in Animation Editor. 2019-04-14 16:43:38 -03:00
Chaosus
24faddc211 Added possibilty to delete multiple nodes in visual shaders via Delete key 2019-04-14 09:49:51 +03:00
Juan Linietsky
3f76d2c2f3 Ability to create sprite frames in AnimatedSprite from sprite sheet. 2019-04-13 22:15:31 -03:00
Chaosus
87f87839a6 Added conditional nodes to visual shaders 2019-04-13 18:17:20 +03:00
Paulb23
6ea253aa77 Restore script editor state between sessions 2019-04-13 13:07:12 +01: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
Juan Linietsky
5823b5d77d Bundled VHACD library for convex decomposition.
Modified both MeshInstance tools as well as importer to use it instead of QuickHull.
2019-04-10 17:47:28 -03:00
Rémi Verschelde
07b76c0376
Merge pull request #27170 from timoschwarzer/allow-whitespaces-in-warning-ignore-comments
Allow whitespaces in warning-ignore comments
2019-04-10 18:16:10 +02:00
Hugo Locurcio
156faf535c
Make 3D snapping finer when holding Shift
This also changes the default rotation and scale snapping increments
to better make use of fine snapping possibilities.
2019-04-09 17:57:19 +02: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
38104bb89d Fix TTR string for class reference tooltip
Fixes #27852.
2019-04-09 16:06:39 +02:00
Rémi Verschelde
def6655964
Merge pull request #27553 from ShyRed/sprite2polygon
Add Sprite to CollisionPolygon2D and LightOccluder2D converter
2019-04-09 12:14:58 +02:00
qarmin
856a8226a5 Small fixes, mostly dupicated code 2019-04-08 11:03:37 +02:00
Rémi Verschelde
853af06f5a
Merge pull request #27770 from KoBeWi/moving_pan_v2
Allow panning while moving a node
2019-04-08 10:07:24 +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
Guilherme Felipe
ccbf57611b [AnimationNodeBlendTreeEditor] Usability improvements
- Add possibility to exclude multiple (selected) nodes.
- Add context menu (Right click) to add nodes.
2019-04-07 23:28:23 -03: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
Tomasz Chabora
7abd0a3976 Allow panning while moving a node 2019-04-07 16:43:21 +02:00
Chaosus
54bf313e07 Small hotfix to visual shader entries.. 2019-04-07 16:25:32 +03:00
Rémi Verschelde
3dabe862af
Merge pull request #26164 from Chaosus/vshader_improvements
Major update for visual shader system
2019-04-07 14:24:23 +02:00
Rémi Verschelde
6475c990a2
Merge pull request #25311 from qarmin/third_point
Add third point to change size RectangleShape2D in two axis
2019-04-07 13:04:59 +02:00
Chaosus
5fd671b8a7 Major improvements for visual shader system 2019-04-07 08:17:38 +03:00
Rémi Verschelde
f1dc158ebd
Merge pull request #27602 from YeldhamDev/tileset_emptypoly_crash_fix
Fix crash when using the Tileset Editor when the given shape has no points
2019-04-06 20:51:38 +02:00
Rémi Verschelde
c20c2870a7
Merge pull request #27699 from LATRio/fix_region_editor_margin
Fix TextureRegion margin bug
2019-04-06 20:45:20 +02:00
Timo
1c178da72c
Merge pull request #26609 from nekomatata/shadow_offset
Support for shadow offset in box style
2019-04-06 19:36:57 +02:00
Rémi Verschelde
72be5ddc43
Merge pull request #26650 from YeldhamDev/filesys_tooltips
Small tooltip changes to filesystem-related UI componentes in editor
2019-04-06 13:03:59 +02:00
ShyRed
c218c631f6 Add converters / generators to Sprite
Adds the following menu options to the Sprite editor: "Convert to Mesh2D", "Convert to Polygon2D", "Create CollisionPolygon2D Sibling" and "Create LightOccluder2D Sibling"
2019-04-06 10:48:07 +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
Rémi Verschelde
e16fc72cef
Merge pull request #26903 from guzzard/polygon-point-hover
Display vertex number when hovering point in collision polygon
2019-04-05 16:50:54 +02:00
Rémi Verschelde
a71d8b561d
Merge pull request #26927 from qarmin/fix_perspective_button_hide
Fix perspective button hide when it actually should be disabled
2019-04-05 16:45:29 +02:00
Rémi Verschelde
945f7f83d3
Merge pull request #27330 from qarmin/fix_bones_not_showing_after_create
Show bones after creating
2019-04-05 16:39:55 +02:00
Rémi Verschelde
a61ad365f5
Merge pull request #27677 from akien-mga/Wimplicit-fallthrough
Fix -Wimplicit-fallthrough warnings from GCC 8
2019-04-05 16:12:45 +02:00
LATRio
f38173fb19 Fix TextureRegion margin bug introduced in #27122 2019-04-05 22:33:53 +09:00
Rémi Verschelde
570fa6a477
Merge pull request #27254 from piyushdagar/fix-animation
Fixes Adding animation to AnimatedSprite doesn't update inspector immmediately #26381
2019-04-05 15:28:28 +02:00
Juan Linietsky
19a6a6286a Ability to make CanvasLayers have pseudo 3D depth. 2019-04-05 10:25:51 -03:00
Rémi Verschelde
fc370b3feb Fix -Wimplicit-fallthrough warnings from GCC 8
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.

The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.

Fixes #26135.
2019-04-05 15:14:53 +02:00
Mariano Javier Suligoy
bfc3ba5af0
Merge pull request #27365 from Byteron/tile_map_negative_offset
TileMap, negative Y and X Offset
2019-04-05 09:24:32 -03:00
Aaron Winter
63e0fd7675 added negative X and negative Y offset to TileMap
clang-format

added negative X and negative Y offset to TileMap
2019-04-05 10:37:35 +02:00
Mariano Javier Suligoy
1ab9b86a21
Merge pull request #27500 from samdze/master
Allow TileMap to override set_cell behaviour while using TileMap editor
2019-04-04 23:17:29 -03:00
Mariano Javier Suligoy
60fbbba398
Merge pull request #27201 from siddharth952/issue1
Fixed Tileset Editor bug related to polygon size
2019-04-04 23:09:50 -03:00
Mariano Javier Suligoy
a6e9af7222
Merge pull request #27122 from LATRio/fix_texture_region_zoom
Fix zooming in TextureRegion
2019-04-04 23:09:25 -03:00
qarmin
8460d0678c Small fixes to static analyzer bugs 2019-04-04 22:00:16 +02:00
Rémi Verschelde
d9b9c9f98a
Merge pull request #27567 from Calinou/selection-boxes-use-accent-color
Use the editor theme's accent color for 2D/3D selections and rotations
2019-04-04 17:45:01 +02:00