Commit graph

15559 commits

Author SHA1 Message Date
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
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
Hein-Pieter van Braam b5a20d21f2
Merge pull request #20573 from hpvb/fix-nested-vector-cow
Fix nested Vectors
2018-08-05 22:31:51 +02:00
Juan Linietsky d5d83b754d Ensure index is only saved when scene is inherited, or parent node is not from the edited scene. Closes #17562. 2018-08-05 11:58:13 -03:00
Hugo Locurcio 1368bcfc53
Use a standard "OK" text for confirmation buttons in error dialogs
[ci skip]
2018-08-05 16:49:22 +02:00
Max Hilbrunner 464d59935d
Merge pull request #20645 from Ertain/master
Added and modified AudioStream descriptions
2018-08-05 13:09:41 +02:00
Max Hilbrunner a1440760ed
Merge pull request #20697 from PJB3005/18-08-03-tile_map_docs
Improve TileMap.get_used_cells docs.
2018-08-05 12:28:03 +02:00
muiroc 14a227e9e7 fixed godotphysics sat dispatch table 2018-08-05 00:02:14 +02:00
Thomas Herzog a3bd9c27a3
Merge pull request #20721 from willnationsdev/fix-image-loader
ResourceFormatLoaderImage::get_resource_type now uses file path
2018-08-04 22:34:21 +02:00
willnationsdev 417e5457b8 ResourceFormatLoaderImage::get_resource_type now uses file path 2018-08-04 15:14:28 -05:00
Thomas Herzog 150da987c9
Merge pull request #20715 from godotengine/AndreaCatania-patch-1
Fixed typo in SkeletonIK
2018-08-04 22:07:34 +02:00
Andrea Catania 4073e44332
Fixed typo in SkeletonIK 2018-08-04 19:35:53 +02:00
Hugo Locurcio 2450debc0e
Use Xcode 9.4 on Travis CI
See <https://blog.travis-ci.com/2018-07-19-xcode9-4-default-announce>.
2018-08-04 18:31:44 +02:00
Juan Linietsky 7c712a25bc
Merge pull request #18699 from AndreaCatania/ik
Inverse kinematic
2018-08-04 10:45:14 -03:00
Andrea Catania c1860fe88b Fixed process priority 2018-08-04 14:51:44 +02:00
Juan Linietsky c41397596d
Merge pull request #20693 from AndreaCatania/soft_fix2
Fixed SoftBody pinned point offset calculation
2018-08-04 09:10:57 -03:00
AndreaCatania b7e66188df Implemented IK 2018-08-04 11:25:07 +02:00
Thomas Herzog b34d2efedb
Merge pull request #20704 from dragmz/patch-2
Fix uniform set for mat3 and mat4
2018-08-04 08:10:44 +02:00
Marcin Zawiejski 477f496162
Fix uniform set for mat3 and mat4 2018-08-04 07:30:25 +02:00
Ignacio Etcheverry b911165679
Merge pull request #20600 from exts/new_generic_methods
Mono: Added generic methods for PackedScene & ResourceLoader
2018-08-04 05:22:38 +02:00
exts cdb4ae471b Added generic method for ResourceLoader: Load<T>() 2018-08-03 13:40:42 -05:00
PJB3005 338217c30b Improve TileMap.get_used_cells docs. 2018-08-03 20:38:31 +02:00
Andrea Catania b469267d94 Fixed SoftBody pinned point offset calculation 2018-08-03 17:44:09 +02:00
David Sichma c101dd5fa6 Keeping track of discard
Shader compilation now keeps track of the discard key word.

Previously only variables were monitored. But discard, which needs
special treatment in some cases, went unnoticed by the compiler as
discard is not a variable but a flow control.

This commit adds monitoring for discard.
2018-08-02 21:55:02 +02:00