Juan Linietsky
15530ce2c5
Fix gizmos submenu
2018-08-12 10:20:32 -03:00
Rémi Verschelde
2a4cd769a1
Merge pull request #20940 from akien-mga/resourceloader-exists
...
Fix ResourceLoader::exists() false negative and readd deprecated has()
2018-08-12 15:15:39 +02:00
Nick Hahn
66eba18969
Fix handling of normals that approach 1
2018-08-12 12:45:43 +02:00
Rémi Verschelde
d29ea4337f
Fix ResourceLoader::exists() false negative and readd deprecated has()
2018-08-12 12:44:38 +02:00
Marcelo Fernandez
a9f071c41b
MinGW compile fix
2018-08-11 22:51:16 -03:00
Marcelo Fernandez
eb3ab7cbbd
Fix compile error with PulseAudio driver and clang
2018-08-11 21:47:26 -03:00
Juan Linietsky
64595f0f6a
Merge pull request #20928 from JFonS/gizmo_enabling
...
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 19:20:08 -03:00
JFonS
ac51da2eb6
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 23:07:00 +02:00
Adrien Destugues
a294a842cb
Rebase patches for fixing haiku build.
2018-08-11 17:20:51 +02:00
Fluffel
a164d593c0
[DOCS] get_indexed, tween
2018-08-11 08:48:37 -05:00
Rémi Verschelde
73cf0fd305
Merge pull request #19106 from SaracenOne/audio_mic
...
[WIP] Experimental microphone support
2018-08-11 15:24:41 +02:00
Juan Linietsky
b6b1d14ca1
Merge pull request #20753 from Faless/ws_fix
...
Fix WebSocket crash due to non PDO init after CowData PR
2018-08-11 09:45:12 -03:00
Łukasz Rutkowski
81fb81de9d
Do not use theme to set LineEdit right_icon
2018-08-11 12:04:26 +02:00
Łukasz Rutkowski
e8a435c8cd
Add clear text button to LineEdit
...
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
Aaron Franke
cf136a91d6
[Core] Completely kill math_2d.h, change includes
2018-08-11 03:08:34 -05:00
Chaosus
aaf62fcecc
Fix ReferenceRect border
2018-08-11 10:37:03 +03:00
Aaron Franke
14fe7230f4
[Core] Move Vector2i and Rect2i out of math_2d.h
2018-08-11 00:33:01 -05:00
Aaron Franke
2eb8a9749e
[Core] Move Rect2 and Transform2D to their own files
...
Math2D includes Transform2D, which includes Rect2, which includes Vector2.
2018-08-10 23:40:50 -05:00
Aaron Franke
9170d932e3
[Core] Grammar, move defs to defs
...
Math constant definitions belong in `math_defs.h`. Also, the grammer in these files really needed some updating.
2018-08-10 22:42:02 -05:00
Juan Linietsky
0fc1c4eda8
Merge pull request #20149 from Overblob/shader_float_typing
...
Shader language - Add optional float typings
2018-08-10 18:21:28 -03:00
Aaron Franke
28fc195339
[Core] Change math_2d includes to vector2 includes where relevant
2018-08-10 14:59:29 -05:00
Aaron Franke
9d1b5f4e3b
[Core] Move Vector2 to its own file
...
Makes 2D math code easier to read and makes Vector2 consistent with Vector3. In the future, we may move other things out of math_2d as well.
2018-08-10 14:59:29 -05:00
Juan Linietsky
52e6f1f25c
Merge pull request #20072 from RandomShaper/fix-camera-offsets
...
Fix camera offsets not applied always
2018-08-10 16:24:39 -03:00
Juan Linietsky
783fd23dea
Merge pull request #19993 from vnen/gdscript-warnings
...
System for GDScript warnings
2018-08-10 16:22:41 -03:00
George Marques
eb48119821
Added system for GDScript warnings
...
- Count and panel per script.
- Ability to disable warnings per script using special comments.
- Ability to disable warnings globally using Project Settings.
- Option to treat enabled warnings as errors.
2018-08-10 16:00:47 -03:00
Juan Linietsky
7e33b2085c
Merge pull request #20861 from RandomShaper/improve-bitmap
...
Improve BitMap: expose methods + prevent stack overflow
2018-08-10 15:58:53 -03:00
Juan Linietsky
852378109f
Added function ResourceLoader.exists(), to check if a resource exists. Closes #19140
2018-08-10 15:57:43 -03:00
Pedro J. Estébanez
b48d421ca0
Transform fill_bits from recursive to iterative
...
Avoids crashes when generating polygons from big bitmaps.
2018-08-10 18:57:44 +02:00
Pedro J. Estébanez
42bf5cd790
Expose additional BitMap methods
...
Bonus: Restrict debug prints to debug builds
2018-08-10 18:57:44 +02:00
Juan Linietsky
767fb2fa0b
Merge pull request #20889 from godotengine/revert-18914-master
...
Revert "added get_creation_time function for gdscript"
2018-08-10 13:30:00 -03:00
Juan Linietsky
ea3d997f9d
Revert "added get_creation_time function for gdscript"
2018-08-10 13:29:49 -03:00
Juan Linietsky
275e0d5ee4
Merge pull request #18914 from notwarp/master
...
added get_creation_time function for gdscript
2018-08-10 13:28:47 -03:00
Juan Linietsky
b9730a6956
Make line edit always vertically aligned, makes no sense otherwise. Fixes #17188
2018-08-10 13:15:26 -03:00
Juan Linietsky
c02fb271fd
apply a threshold for floor angle, fixes #16037 , fixes #15632
2018-08-10 13:07:52 -03:00
Juan Linietsky
c76f444c4e
Merge pull request #14704 from poke1024/colorconstants
...
Allow some non-integer built-in constants in gdscript
2018-08-10 12:57:20 -03:00
Juan Linietsky
b4006f68b3
Merge pull request #15536 from poke1024/fix3327
...
Fix SortArray crashing with bad comparison functions
2018-08-10 12:51:11 -03:00
Noshyaar
6e0adf3656
Merge pull request #20842 from marcelofg55/osx_build_err
...
Fix clang compile error
2018-08-10 18:05:16 +07:00
Thomas ten Cate
44d761e55c
Reset caret blink when Ctrl+moving the cursor
...
There was a hardcoded exception to never reset caret blinking if Ctrl
(`command`) was pressed. This broke on Ctrl+arrows,
Ctrl+Home/End/PgUp/PgDn, Ctrl+C, Ctrl+V, Ctrl+Backspace and Ctrl+Delete.
Resetting blink only for those Ctrl operations that actually touch the
cursor somehow would clutter the code a lot, so I removed the check
entirely. That means we now also reset blinking on unrelated operations
like Ctrl+O, but that seems pretty harmless. I actually like the
additional bit of feedback even in that case (most of these will
immediately defocus the editor anyway, so you never see it).
Fixes #18100
2018-08-10 11:23:13 +02:00
Juan Linietsky
b293dd363e
Merge pull request #20585 from MarianoGnu/tileset_editor
...
New TileSet Editor
2018-08-09 21:35:57 -03:00
Juan Linietsky
ae67c0b303
too much information, made it less information
2018-08-09 20:50:31 -03:00
MAriano Javier Suligoy
ce87a30e45
New TileSet Editor
2018-08-09 20:38:02 -03:00
Juan Linietsky
432f2f1a67
Information sign for MarianoGNU
2018-08-09 20:31:35 -03:00
Guilherme Felipe
85f4d33276
Fix border artifacts at the edge of deep parallax.
2018-08-09 20:24:52 -03:00
Tomasz Chabora
929b416fdb
Add some curly braces to make dictionary printing less ambiguous
2018-08-09 21:44:41 +02:00
Juan Linietsky
fbb5ca4d97
Merge pull request #20584 from JFonS/gizmo_enabling
...
New gizmo structure and gizmo disabling menu
2018-08-09 16:27:59 -03:00
JFonS
59fd18ab1a
New gizmo structure and new gizmo disabling menu
2018-08-09 20:58:39 +02:00
Hugo Locurcio
dcca20027c
Improve the 3D manipulator gizmo
...
Its size now takes into account the editor scale and the viewport's
half resolution setting. It is now also more detailed.
2018-08-09 16:34:18 +02:00
James
796088a911
interpolation was not removed because of id mismatch
2018-08-09 14:48:56 +02:00
Marcelo Fernandez
da1f1619fe
Fix clang compile error
2018-08-09 08:50:06 -03:00
Hugo Locurcio
147f7fbdcf
Tweak some editor button texts
2018-08-09 11:22:11 +02:00