Commit Graph

20038 Commits

Author SHA1 Message Date
Ignacio Etcheverry c8aa85189a EditorHelp, makerst: Improve enum ref resolving and constant ref support
Enum reference resolving will now search in the @GlobalScope if no class is specified and the enum cannot be resolved in the current class.
Added support for constant references in EditorHelp, e.g.: [constant KEY_ENTER] or [constant Control.FOCUS_CLICK]. It supports enum constants (the enum name must not be included).
2019-03-29 23:40:31 +01:00
clayjohn 5056b4a02c keep DEPTH from causing compile error in GLES2 2019-03-28 22:14:41 -07:00
Ignacio Roldán Etcheverry 805eec7643
Merge pull request #27497 from neikeq/dynamicmetaobject
C#: Add DynamicGodotObject class
2019-03-29 02:15:56 +01:00
Ignacio Etcheverry bb6814aef0 C#: Add DynamicGodotObject class
Expands to Object.call, Object.set and Object.get for accessing members. This means it can also access members from scripts written in other languages, like GDScript.
2019-03-29 00:53:48 +01:00
Fabio Alessandrelli e61a074a8e Use same boolean for objects encode and decode.
In a very unintuitive move encode needed false to encode an object,
decode needed true to decode it.
They now need the same value: `true`.
2019-03-28 10:43:34 +01:00
Rémi Verschelde 472c8a7ba1 i18n: Sync translations with Weblate
Also sync translation template.
2019-03-28 10:38:58 +01:00
Hugo Locurcio 9ba6738719
Use the accent color to highlight selected text
This makes selections easier to see, while making them fit better
within the editor theme.

This closes #22552.
2019-03-27 22:12:41 +01:00
ShyRed 96093778ed Remove hardcoded joint bias
Use user provided bias instead of hardcoded bias.
2019-03-27 19:21:07 +01:00
Siddharth fcd39a506a Update tile_set_editor_plugin.cpp 2019-03-27 22:50:52 +05:30
Siddharth ba2b09b034 Revert "Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits."
This reverts commit 2d995372d8.
2019-03-27 22:49:19 +05:30
Chaosus 6280be46a6 Properly setup seed in RNG 2019-03-27 19:37:25 +03:00
Rémi Verschelde 174b19f768
Merge pull request #27461 from avencherus/atan2-doc
Corrects small typo in atan2() documentation.
2019-03-27 17:26:53 +01:00
Rémi Verschelde a8beb6a1a5
Merge pull request #27429 from cbscribe/kcc_classref_fixes
[DOC] Physics[2D]DirectBodyState updates
2019-03-27 17:25:12 +01:00
Rémi Verschelde 167d02ef61
Merge pull request #27388 from KidRigger/master
Prevents crash on loading unrecognized resources.
2019-03-27 17:22:27 +01:00
Rémi Verschelde 37969e71e4
Merge pull request #27383 from SpechtMagnus/master
TileMap: Fixed unfinished max_lines draw handling for freeze/crash avoidance.
2019-03-27 17:20:56 +01:00
Rémi Verschelde b6fb7b5190
Merge pull request #27348 from KoBeWi/kinematic_documentation
Better documentation for some move_and_slide parameters
2019-03-27 17:17:54 +01:00
Jared 9838c4df7c Corrects small typo in atan2() documentation. 2019-03-27 18:13:37 +02:00
Rémi Verschelde 64737c735b
Merge pull request #27200 from piyushdagar/new
Fixed CollisionObject signals do not trigger on Area
2019-03-27 17:09:02 +01:00
Rémi Verschelde f27931f365
Merge pull request #27184 from karroffel/gdnative-api-gen-fixes
fix GDNative binding generation for object types
2019-03-27 17:07:18 +01:00
Rémi Verschelde 9d7343a1a3
Merge pull request #27182 from goodyttoor/gltf_order
Fix order of transformation in GLTF import
2019-03-27 17:06:50 +01:00
Rémi Verschelde 1b4204fd76
Merge pull request #27162 from guilhermefelipecgs/fix_26540
StateMachine: Fix sync mode
2019-03-27 17:01:28 +01:00
Rémi Verschelde 492153878f
Merge pull request #27128 from bojidar-bg/27111-gdscript-confounding-class
Fix GDScriptCompiler bugging out with identically-named inner class
2019-03-27 16:57:04 +01:00
Rémi Verschelde e02c7612e5
Merge pull request #27088 from fire/scaling_texture_button_focus
Fix scaling issue for texture button focus texture.
2019-03-27 16:55:07 +01:00
Rémi Verschelde 04c6347856
Merge pull request #27017 from qarmin/fix_inspector_update
Fix inspector update after changing anchor from buttons
2019-03-27 16:53:58 +01:00
Rémi Verschelde 2498151cd6
Merge pull request #27259 from humblers/fix-cpuparticles
Ensure non-emitting particles not processed on entering tree
2019-03-27 16:39:03 +01:00
Juan Linietsky 6574c557c9 Add a "Request Docs" button to code editor. 2019-03-26 16:36:19 -07:00
Daniel Rakos 849596c40c Fixed handling of depth texture so it's resolved and bound when needed
- Cleaned up and improved the code determining when we need to use a depth
  prepass (previously it wasn't executed in certain cases even if it was
  needed)
- Added code to prepare and bind the depth texture even when no depth prepass
  or MRTs (more precisely effect buffers) are used

Fixes #25870, #25535, and #25387.
2019-03-26 17:48:22 +01:00
Leonard 209c2d2c80 Apply proper offset to CSGMesh material and smooth group 2019-03-25 21:27:55 -07:00
Chris Bradfield bb2e6e3ed2 [DOC] Physics[2D]DirectBodyState updates 2019-03-25 21:20:52 -07:00
Anish Bhobe 4839b17f93 Added GLES2 RenderStorage Info calculations.
Proper counting code has been added to update info struct.

Extra: Added the render_info_capture calculations.
Fixes: #27273
2019-03-25 23:08:23 +05:30
Hugo Locurcio cca1fab1c4
Use the "warning" color for the "restart required" label
This makes the color match the warning icon placed besides the label.
2019-03-25 14:04:31 +01:00
Thomas Herzog 81292665d5
Merge pull request #27320 from karroffel/gdnative-terminate-error-print
[GDNative] various NativeScript fixes around editor functionality
2019-03-25 08:07:59 +01:00
Anish 8ee31ace34 Prevents crash on loading unrecognized resources.
Editor crashes on trying to load resources with no loaders.
Simple check on the resource loader prevents using a null
resource loader.

Fixes: #27385
2019-03-25 02:32:21 +05:30
Magnus Specht 601acdf0e1 Fixed unfinished max_lines handling for crash avoidance. 2019-03-24 19:17:02 +01:00
Ignacio Roldán Etcheverry e453934824
Merge pull request #27359 from neikeq/who-reads-docs-anyway
C#: Bindings generator now translates BBCode docs to XML comments
2019-03-23 20:49:59 +01:00
Ignacio Etcheverry 1ad16b3d4a C#: Bindings generator now translates BBCode docs to XML comments 2019-03-23 20:39:55 +01:00
Siddharth 13ead635d9 Merge branch 'master' of https://github.com/godotengine/godot into issue1 2019-03-23 20:09:08 +05:30
Siddharth 2d995372d8 Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits.
Updated tile_set_editor_plugin.cpp And area.cpp

Updated with clang-format

Updated tile_set_editor_plugin.cpp And area.cpp
2019-03-23 20:03:59 +05:30
Tomasz Chabora 0e93714ff7 Better documentation for some move_and_slide parameters 2019-03-23 15:06:50 +01:00
qarmin 1b6e0d04f0 Show bones after creating 2019-03-22 19:14:54 +01:00
Vivatchai Kaveeta f0562a5ef6 Fix import grayscale EXR
Fix #27299
2019-03-22 23:31:25 +07:00
thomas.herzog 5fff7f741a [GDNative] fix NativeScript leak in editor 2019-03-22 12:54:19 +01:00
thomas.herzog 0e5b2b16ed [GDNative] remove spam at editor unfocus when using NativeScript 2019-03-22 11:46:34 +01:00
Pedro J. Estébanez 9c3ddf05cb Revert accidental commits
This reverts commit fb37284c02.
This reverts commit 4db0f51b9a.
2019-03-20 21:43:55 +01:00
Pedro J. Estébanez 4db0f51b9a Create live view dock [wip] 2019-03-20 20:44:43 +01:00
Pedro J. Estébanez fb37284c02 Create class for shared memory blocks [wip] 2019-03-20 20:44:43 +01:00
Ignacio Roldán Etcheverry 96abb695f2
Merge pull request #27270 from shartte/fix-generics-parsing
Fix parsing of generic type declarations in C# source files
2019-03-20 18:34:28 +01:00
Ignacio Roldán Etcheverry b0fbefe9da
Merge pull request #27271 from shartte/fix-msbuild-detection
Add support for new MSBuild directory naming introduced in VS 2019
2019-03-20 18:30:31 +01:00
Sebastian Hartte 7440295ad1 Add support for new MSBuild directory naming introduced in VS 2019. 2019-03-20 17:57:20 +01:00
Sebastian Hartte 34366bc27f Fix parsing of generic type declarations in C# source files. 2019-03-20 17:23:11 +01:00