Commit Graph

10314 Commits

Author SHA1 Message Date
Ignacio Etcheverry e218a13a64 Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
- Make ScriptCreateDialog disable the built-in script checked button if the language does not support it.
- ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
2017-10-24 15:48:58 +02:00
Ignacio Etcheverry 9905002fa6 Mono: Fix and cleanup build start errors 2017-10-24 00:49:44 +02:00
Ignacio Etcheverry 45e5e23ee8 Mono: Prevent raising exceptions in native code
For now we will just print the exceptions we catch. Later, we should use something similar to 'mono_set_pending_exception(ex)'.
2017-10-23 00:35:14 +02:00
Ignacio Etcheverry acaaf2e440 Merge pull request #12326 from neikeq/n
Fix set field from MonoObject*
2017-10-22 22:14:10 +02:00
Ignacio Etcheverry ae725969d3 Fix set field from MonoObject* 2017-10-22 22:07:52 +02:00
Juan Linietsky b4f0f59d9f Many fixes to SSAO, should be good now. 2017-10-22 13:52:48 -03:00
George Marques 58b849800e
Add WindowsTerminalLogger to UWP build 2017-10-22 12:15:59 -02:00
Rémi Verschelde d60b774924 Merge pull request #12297 from tagcup/clearcoat_fix
Don't add clearcoat BRDF to specular light as-is.
2017-10-22 13:18:24 +02:00
Rémi Verschelde fc09e14366 classref: Sync with current source
Also fix hyperlink references to same class as per the guidelines.
[ci skip]
2017-10-22 12:56:17 +02:00
Nathan Lovato 14b1741cbf Merge pull request #12150 from Grosskopf/2D-joints-docs
[DOCS] 2D joints docs
2017-10-22 12:07:40 +02:00
Rémi Verschelde 99c8a8c7b1 Merge pull request #11401 from SaracenOne/snapped_drag
Added snapping to spatial drag and drop.
2017-10-22 12:06:00 +02:00
Henrique Campos bc667aeada Added description to Audio Filter Effects
Also doccumented Filter member variables and methods.
[ci skip]
2017-10-22 11:57:25 +02:00
Stephen Ednave 8f382879cf Added descriptions to some members of Camera2D 2017-10-22 11:56:44 +02:00
Alexander Holland a9876869de Change theme button name to edit theme
[ci skip]
2017-10-22 11:54:37 +02:00
Rémi Verschelde add60f840a Merge pull request #12273 from willnationsdev/tabcontainer-doc-edit
[DOCS] Updated the TabContainer docs for depth and readability

[ci skip]
2017-10-22 10:38:23 +02:00
Rémi Verschelde 6dd25b5a5b Merge pull request #11882 from Noshyaar/pr-filedialog
FileDialog: enlarge the file list a bit
2017-10-22 10:35:30 +02:00
Rémi Verschelde 1054c6edee Merge pull request #12296 from tagcup/ggx_rename
Rename Schlick GGX to GGX.
2017-10-22 10:30:11 +02:00
Andreas Haas 94f6f22bca Merge pull request #12300 from RandomShaper/fix-tilemap-editor
Fix TileMap editor not getting input
2017-10-22 09:47:42 +02:00
Poommetee Ketson 9345e63a46 Merge pull request #12303 from Noshyaar/db
AudioEffectFilter: lowercase dB property to db
2017-10-22 14:40:29 +07:00
Poommetee Ketson 8265ff4c20 Bind MainLoop.notif_wm_go_back_request 2017-10-22 14:07:24 +07:00
Will Nations 5b10422fba updated the TabContainer docs for depth and readability. 2017-10-22 00:07:33 -05:00
Poommetee Ketson 254ea80fd6 Merge pull request #12302 from Noshyaar/cubemap
CubeMap: fix duplicate flags property
2017-10-22 11:57:38 +07:00
Poommetee Ketson 2449d21671 AudioEffectFilter: lowercase dB property to db 2017-10-22 11:36:43 +07:00
Poommetee Ketson bbab451dde CubeMap: fix duplicate flags property 2017-10-22 10:28:02 +07:00
Poommetee Ketson 3a71471edd FileDialog: enlarge the file list a bit 2017-10-22 09:14:11 +07:00
Pedro J. Estébanez 27be483a74 Fix TileMap editor not getting input
Fixes #12265.
2017-10-22 03:58:29 +02:00
Ferenc Arn 06fcbe0092 Don't add clearcoat BRDF to specular light as-is.
BRDF needs to be multiplied with N.L, the incoming light and attenuation. Also specular_blob_intensity should affect clearcoat.
2017-10-21 20:25:17 -04:00
Ferenc Arn cb0bf1edea Rename Schlick GGX to GGX.
Schlick's approximation and GGX are orthogonal concepts.

Furthermore, it's usage so far has been inconsistent: we don't even use it with anisotropic SchlickGGX, and Burley (Disney) diffuse does use it while its name doesn't indicate it.

The use of Schlick's approximation in Burley and GGX is an implementation detail and doesn't need to be reflected to the namig.
2017-10-21 19:35:54 -04:00
Rémi Verschelde 50306041e5 Merge pull request #11982 from tagcup/get_quat
Added Basis::get_quat().
2017-10-21 23:51:07 +02:00
Rémi Verschelde 01a5a8b86c Merge pull request #12291 from RandomShaper/fix-raycast-naming
Rename RayCasts collision_layer to collision_mask
2017-10-21 23:44:46 +02:00
Rémi Verschelde e0c14e6306 Merge pull request #12286 from NathanWarden/add_cubemap_properties
Added properties for CubeMap.
2017-10-21 23:44:06 +02:00
Rémi Verschelde d39348151e Merge pull request #12293 from Paulb23/line_highlighting_fix
Fixed current line highlighting, issue 12166

[ci skip]
2017-10-21 23:41:53 +02:00
Rémi Verschelde b7bebb0f92 Merge pull request #12254 from seixasfelipe/fix_recent_scenes_resizing_font
Fix recent scenes layout when resizing font
2017-10-21 23:41:33 +02:00
Rémi Verschelde c9894669a9 Merge pull request #12290 from Noshyaar/enum
Bind unbound enums, rearrange some by value

[ci skip]
2017-10-21 23:08:36 +02:00
Paulb23 c594c8001b Fixed current line highlighting and visual indication of empty selected lines 2017-10-21 21:35:50 +01:00
Pedro J. Estébanez 7b12ae39f2 Rename RayCasts collision_layer to collision_mask
The point is that `RayCast`s are checked against objects' `collision_layer`(s), but they themselves are considered no to _belong_ to any layer. Therefore, the correct name for their property is `collision_mask`, rather than `collision_layer`.

Only renaming is needed since the behavior was already the right one, only that it wasn't matching what users would expect from the name and description of the property.

Fixes #7589, where it's also discussed.
2017-10-21 22:17:47 +02:00
Poommetee Ketson 9cadb9e5f3 Bind unbound enums, rearrange some by value 2017-10-22 01:58:02 +07:00
Rémi Verschelde 6361e24f29 Cleanup unnecessary debug prints 2017-10-21 20:41:07 +02:00
Nathan Warden 5f7478e196 Added properties for CubeMap. 2017-10-21 13:23:32 -05:00
Rémi Verschelde 393daf0502 Merge pull request #12287 from tagcup/pass_metallic
Corrections to #11807.

[ci skip]
2017-10-21 19:55:02 +02:00
Ferenc Arn 6890245321 Corrections to #11807.
Added missing metallic parameter, also fixed a missed a case where wrong roughness condition was used.
2017-10-21 13:40:14 -04:00
Rémi Verschelde f002e4cb82 Merge pull request #12282 from tagcup/path_fix
Fix PathFollow rotations.

[ci skip]
2017-10-21 19:13:11 +02:00
Ferenc Arn 0b89b90b36 Fix PathFollow rotations.
Replaced the lookahead (which is problematic) with exact delta in offset. Also made some other minor fixes and improvements.

Fixes #12258.
2017-10-21 12:51:49 -04:00
Juan Linietsky a2a4f9a62a Merge pull request #11807 from tagcup/roughness_metallic_limiting_cases
Fix the condition when specular light calculation is avoided (should …
2017-10-21 13:44:41 -03:00
Rémi Verschelde a4e7985dab Merge pull request #12283 from AntiSC2/master
File names for scripts can include '-'

[ci skip]
2017-10-21 18:35:15 +02:00
Grosskopf 7a6246a0bd Added the 2D Joint docs 2017-10-21 17:55:45 +02:00
Felipe Seixas 651246cbff Fix drop-down size when resizing font #12207
Fixes Scene > Open Recent
Fixes ScriptEditor > File > Open Recent
2017-10-21 11:53:53 -04:00
Jakob Sinclair d9d371fb53 File names for scripts can include '-'
Fixes #12261

Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-21 17:28:53 +02:00
Rémi Verschelde 632459a46b Merge pull request #12281 from Noshyaar/fixed2physics
Refactor Fixed to Physics
2017-10-21 16:48:05 +02:00
Poommetee Ketson 9b634180aa Refactor Fixed to Physics 2017-10-21 21:28:08 +07:00