Commit graph

15585 commits

Author SHA1 Message Date
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
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
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
Marcelo Fernandez
da1f1619fe Fix clang compile error 2018-08-09 08:50:06 -03:00
Juan Linietsky
a71a5fc0c3 Ability to pass custom variables to expression. 2018-08-08 17:47:51 -03:00
Juan Linietsky
934c641a15 -Add Expression class, used to evaluate expressions
-Added expression evaluation to EditorSpinSlider, fixes #20813, fixes #18932
2018-08-08 17:35:23 -03:00
Thomas Herzog
77e38f9ddf
Merge pull request #20819 from dragmz/unhack-gles2-unhack
Fix mat4 uniform writes
2018-08-08 22:17:51 +02:00
Marcin Zawiejski
a0afaaeeb9 Fix mat4 uniform writes 2018-08-08 21:39:43 +02:00
Thomas Herzog
1800664e80
Merge pull request #20805 from karroffel/gles2-misc-fixes
unhacking some GLES2 code
2018-08-08 17:28:35 +02:00
Thomas Herzog
73fe08be2e GLES2 refactors
This commit unhacks some parts of the 3D rendering.

Most notably:

 - possibility to use negative texture units
   (no longer weird manual index allocation for user samplers)

 - refactoring of light code, now sorts in a different way,
   should yield better performance

 - fixes a crash while saving (because of "Illegal instruction" execution)
   when using a decent compiler (clang, it's clang. Thanks GCC for not telling me about UB).
2018-08-08 17:09:44 +02:00
Thomas Herzog
e9c083ad62
Merge pull request #20808 from Calinou/fix-ttr-typo
Fix a typo in a TTR() call
2018-08-08 16:47:32 +02:00
Hugo Locurcio
c541430315
Fix a typo in a TTR() call 2018-08-08 16:30:23 +02:00
Juan Linietsky
b67f982723
Merge pull request #20681 from DavidSichma/master
Keeping track of discard
2018-08-08 09:54:59 -03:00
Juan Linietsky
978505a90a
Merge pull request #20727 from muiroc/fix_sw_sat_table
fixed godotphysics sat dispatch table
2018-08-08 09:49:48 -03:00
Juan Linietsky
51da08856a
Merge pull request #20737 from Calinou/use-standard-button-texts
Use a standard "OK" text for confirmation buttons in error dialogs
2018-08-08 09:46:22 -03:00
Juan Linietsky
913a7dbd8f
Merge pull request #20787 from Calinou/tweak-default-material-properties
Tweak the default SpatialMaterial properties
2018-08-08 09:44:31 -03:00
Juan Linietsky
9bd5315d30
Merge pull request #20786 from groud/skybox_default_change
Changes the default skybox to avoid the blue shade
2018-08-07 15:35:04 -03:00
Juan Linietsky
14fd797c53
Merge pull request #20381 from AndreaCatania/phymat_2
Improved Physics material
2018-08-07 15:31:26 -03:00
Andrea Catania
5e65e28eed Removed physics material combination mode. Added rough and absorbent parameter to material. Fixed 'change' signal connection 2018-08-07 19:38:04 +02:00
Juan Linietsky
e0456f7976 Make sure warn deprecated uses a volatile bool (for multithreading) 2018-08-07 12:25:48 -03:00
Juan Linietsky
254eb46de3 Several improvements to inspector.
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3)
-Some clean ups with fonts and styles
2018-08-07 12:22:46 -03:00
Hugo Locurcio
31c12f05c4
Tweak the default SpatialMaterial properties
Roughness is now set to 1 by default and albedo is now white,
even on meshes that do not have any materials defined.

This means there is no longer a visual difference between a
mesh with no materials defined and a mesh with a default
SpatialMaterial defined.
2018-08-07 17:04:30 +02:00
Thomas Herzog
6ffd2d3529
Merge pull request #20636 from goodyttoor/hdr_import
Fix #20564 HDR import fail
2018-08-07 16:37:38 +02:00
groud
8af2047966 Changes the default skybox to avoid the blue shade 2018-08-07 14:47:59 +02:00
Chris Bradfield
619ba76f46
Merge pull request #20779 from Noshyaar/stretch
[DOCS] SceneTree stretching constants
2018-08-06 21:17:45 -07:00
Poommetee Ketson
5ed0861e81 [DOCS] SceneTree stretching constants 2018-08-07 10:17:55 +07:00
Juan Linietsky
5b70ad9d34 Respect process order for out of order skeleton bones (fixes GLTF2 import issues). 2018-08-06 22:35:09 -03:00
Juan Linietsky
00c573c255 Several fixes to GLTF2 importer 2018-08-06 18:41:37 -03:00
Juan Linietsky
edde52c8de Added proper import support for 3D and Array textures 2018-08-06 14:56:06 -03:00
Rémi Verschelde
80a8636aa3
Merge pull request #20714 from Calinou/travis-use-xcode-9.4
Use Xcode 9.4 on Travis CI
2018-08-06 11:31:30 +01:00
Juan Linietsky
07a982e614
Merge pull request #20597 from karroffel/tex3d
add 3D textures
2018-08-06 07:20:00 -03:00