Commit graph

22779 commits

Author SHA1 Message Date
Guilherme Felipe 508761e0cd Fix set_default_cursor_shape always sending motion event 2019-07-29 14:00:37 -03:00
Rémi Verschelde b90ef52ece Find trailing whitespace and indentation in gdnative_api.json 2019-07-29 18:48:21 +02:00
Rémi Verschelde e5e1d7c178
Merge pull request #30928 from NilsIrl/remove_useless
Remove useless variable and line in OptionButton
2019-07-29 18:43:48 +02:00
Kaligule a2c81a7455 Add a reference to pow to the description of exp.
This might be especially usefull since godot script doesn't support ** or ^ as operators, so beginners might search for the exponential function, when what they really need is the pow function.

This is exactly what happened to me and since I couldn't find helpfull information in the documentation I had to look it up online, where I found the answer on a helpfull [reddit thread](https://www.reddit.com/r/godot/comments/3mvwz0/how_do_i_do_exponents_in_godot/).

@akien-mga told me how to reference methods here:
godotengine#30909
2019-07-29 18:17:52 +02:00
NilsIrl abceb74b49 Remove useless variable and line in OptionButton 2019-07-29 17:41:28 +02:00
Rémi Verschelde a19c15d105
Merge pull request #30926 from NilsIrl/if_to_switch
Change if to switch in OptionButton
2019-07-29 17:30:21 +02:00
NilsIrl dfecd62235 Change if to switch in OptionButton 2019-07-29 16:47:47 +02:00
Rémi Verschelde 639127de09
Merge pull request #30898 from clayjohn/max-lights-reflections
Add project setting for max lights and reflections in GLES3
2019-07-29 16:01:53 +02:00
Hadrien e02c5ef48a Optimize DirAccessUnix::get_next() for some file systems
On some file systems, like ext4 on Linux, readdir() gives enough
information to determine the entry type in order to avoid doing
a stat() system call.

Use this information and call stat() only if necessary: for file
systems that do not support this feature and for links.
2019-07-29 15:02:26 +02:00
NilsIrl d69409338b Improve platform selection in the GDNativeLibrary dock
* Replace button text with currently selected platforms
* Expand button size horizontally
2019-07-29 14:54:08 +02:00
Rémi Verschelde 5d172d5d9a
Merge pull request #30918 from Chaosus/fix_crash
Fix filter crash in EditorFileDialog for MeshLib/TileSet conversion
2019-07-29 13:25:11 +02:00
Chaosus aec53acd7d Fix filter crash in EditorFileDialog for MeshLib/TileSet conversion 2019-07-29 13:43:08 +03:00
Rémi Verschelde d06da7193d
Merge pull request #30869 from NilsIrl/#30841
Replace radion buttons with checkboxes in GDNativeLibrary editor
2019-07-29 10:11:56 +02:00
Rémi Verschelde 47df673d73
Merge pull request #30870 from raphael10241024/fix_shadow
update algorithm about paking float to vec4 to fix shadow slipping
2019-07-29 10:11:15 +02:00
Rémi Verschelde 75e80e7665
Merge pull request #30876 from santouits/no
Remove physics thread getting the gl context
2019-07-29 09:59:33 +02:00
Rémi Verschelde 5ad1abed47
Merge pull request #30877 from JosephCatrambone/master
Bugfix GLTF import: Do not reindex when blend shapes are present.
2019-07-29 09:56:25 +02:00
Rémi Verschelde 698d87bdeb
Merge pull request #30879 from Calinou/simplify-font-editor-settings
Simplify editor settings related to font hinting and antialiasing
2019-07-29 09:55:08 +02:00
Rémi Verschelde 8547a351eb
Merge pull request #30774 from aaronfranke/set-obsolete
Make Set methods obsolete
2019-07-29 09:04:26 +02:00
clayjohn cb4d145c22 toggle CPUParticles2D visibility when redrawing 2019-07-28 18:31:52 -07:00
clayjohn 1a981ef268 add project setting for max lights and reflections in gles3 2019-07-28 17:54:25 -07:00
Aaron Franke 7dbbb5eac7
[Mono] Deprecate Set methods
These silently fail, so they should be removed. I accidentally added most of these last year, trying to make everything else consistent with Quat, sorry!

Also, a few tiny nitpicking changes are included, like whitespace and misspellings.
2019-07-28 17:49:22 -04:00
Rémi Verschelde becbb7b525
Merge pull request #30891 from bojidar-bg/30875-tilemap-rightclick-pan
Make it so that 2D viewport does not pan while editing tilemaps
2019-07-28 21:51:44 +02:00
Rémi Verschelde d8e7e344bc
Merge pull request #30889 from Faless/ws/client_free_crash
Fix WebSocketClient crash when unref during signal
2019-07-28 21:49:51 +02:00
Bojidar Marinov 68b5f101c7
Make it so that 2D viewport does not pan while editing tilemaps
Fixes #30875
2019-07-28 17:00:05 +03:00
Tomasz Chabora 7e329a7251 Clarify is_action_pressed() for multiple assigned buttons 2019-07-28 15:37:08 +02:00
Fabio Alessandrelli d6c9b377b9 Fix WebSocketClient crash when unref during signal
Always call disconnect before emitting signals, to avoid calling it on a
freed object if the user decides to unreference it in a signal.
2019-07-28 15:23:20 +02:00
Rémi Verschelde 331a703f5d
Merge pull request #30887 from homer666/sorting-order-editor-settings
Update "Sorting Order" dropdown in Editor Settings
2019-07-28 10:14:50 +02:00
homer666 4553f2e6b8 Update "Sorting Order" dropdown in Editor Settings 2019-07-28 17:40:06 +10:00
RaphaelHunter 47df933c27 update algorithm about paking float to vec4 to fix shadow shift and change rgba_shdow options 2019-07-28 11:43:01 +08:00
Hugo Locurcio 6c374f91dd
Simplify editor settings related to font hinting and antialiasing
A single setting is now used to control the font hinting/antialiasing
settings of both main and code fonts. This means there are 2 settings
in total (instead of 4).

Font settings were also reordered for clarity.
2019-07-28 01:10:51 +02:00
Joseph Catrambone c2e91005ef Bugfix in GLTF import: Flipping boolean check. Reindexing should _NOT_ happen when blend shapes are present. 2019-07-27 14:34:54 -07:00
santouits 472cda9047 Remove physics thread getting the gl context 2019-07-27 22:08:10 +03:00
Kanabenki a8ac739a5e Add Undo Close Tab option in tabs context menu 2019-07-27 16:51:24 +02:00
NilsIrl ba63e0a5a2 Replace radion buttons with checkboxes in GDNativeLibrary editor 2019-07-27 16:46:14 +02:00
Rémi Verschelde 6c9ccf18f8
Merge pull request #25327 from groud/frame_row_column
Add frame_coords accessor to Sprite
2019-07-27 14:09:45 +02:00
groud 11cb4eb363 Add frame_cords accessors to Sprite and Sprite3D 2019-07-27 13:05:02 +02:00
Rémi Verschelde 94aabf56a0
Merge pull request #30865 from godotengine/revert-28952-update-margins
Revert "Update Control margins when size is overridden by change to minsize"
2019-07-27 12:57:35 +02:00
Rémi Verschelde f494d5f10b
Revert "Update Control margins when size is overridden by change to minsize" 2019-07-27 12:55:03 +02:00
Rémi Verschelde 1107799de5
Merge pull request #30849 from bojidar-bg/7898-mixed-indentation
Disallow using of both tabs and spaces for indentation in the same file
2019-07-27 10:48:31 +02:00
Rémi Verschelde 0a190ae3aa
Merge pull request #30857 from cbscribe/kcc_doc_process
[DOCS] Correct "fixed process" reference in KinematicBody doc
2019-07-27 08:36:17 +02:00
Chris Bradfield 7f4059ceb7 [DOCS] Correct "fixed process" reference in KinematicBody doc 2019-07-26 18:50:12 -07:00
Ignacio Roldán Etcheverry 6f727c0476
Merge pull request #30855 from neikeq/issue-30853
C#: Fix Transform2D.AffineInverse()
2019-07-27 02:31:28 +02:00
Ignacio Etcheverry d54df7b904 C#: Fix Transform2D.AffineInverse() 2019-07-27 02:15:29 +02:00
Bojidar Marinov f12f3cf726
Disallow using of both tabs and spaces for indentation in the same file
Closes #7898
2019-07-26 21:24:34 +03:00
Rémi Verschelde e4ec59b6ae
Merge pull request #30763 from Calinou/editor-add-version-info
Display version information in the editor at all times
2019-07-26 19:08:42 +02:00
Rémi Verschelde 140e7e5edf
Merge pull request #30788 from Chaosus/direction_to_gdnative
Added Vector2/3.direction_to methods to GDNative
2019-07-26 18:58:25 +02:00
Rémi Verschelde 39579d2a6d
Merge pull request #30839 from Calinou/simplify-dim-editor-settings
Simplify editor settings related to window dimming
2019-07-26 18:55:31 +02:00
Rémi Verschelde 67ce3f7424
Merge pull request #30846 from YeldhamDev/filediag_tooltip_changes
Small adjustments to tooltips in '(Editor)FileDialog'
2019-07-26 18:54:33 +02:00
Rémi Verschelde 8c2566875e
Merge pull request #30828 from aaronfranke/oh-snap
Snap transform gizmo values in the 3D editor
2019-07-26 18:53:15 +02:00
Ignacio Roldán Etcheverry 6697ad2c4f
Merge pull request #30842 from neikeq/fix-custom-props-msbuild
Mono: Fix custom defines for Mono's MSBuild; remove xbuild
2019-07-26 18:33:52 +02:00