Commit Graph

17235 Commits

Author SHA1 Message Date
Ignacio Etcheverry
57f46f7fcd Fix enum values in the editor and hide enum numeric values in the Inspector
- Hide numeric value of enum constants in the inspector (EditorPropertyEnum)
- EditorPropertyEnum, CustomPropertyEditor: Calculate values of enum constants correctly when only some of these constants have explicit values.
2018-10-15 23:48:54 +02:00
Erik
cd759c773d Hide header and footer in AssetLib when not necessary
Reduces visual clutter by hiding pages navigator header and footer in AssetLib if no results are
found or when results fit on one page one page.

Fix for issue #23036
2018-10-15 19:26:57 +02:00
Zaven Muradyan
61d5513525 Add comments to javascript wrapper parts.
The code in pre.js and engine.js is a bit confusing to see in isolation,
since the files aren't valid JS files by themselves. This just adds some
explanatory text to both files.

Fixes #22937.
2018-10-15 08:56:44 -07:00
Max Hilbrunner
4c863da4d5
Merge pull request #23029 from AlexHolly/doc-tabs
[DOCS] Tabs
2018-10-15 16:11:10 +02:00
Alexander Holland
44aa312881 Doc Tabcontainer rearrange tabs 2018-10-15 15:05:46 +02:00
Alexander Holland
3a875d3200 Doc Tabs 2018-10-15 15:01:36 +02:00
Rémi Verschelde
05f1a56037
Merge pull request #23021 from dumitru-stama/fix_android_modules
Fixed initialization of android modules
2018-10-15 14:23:03 +02:00
dumitru-stama
4c9eb86cbf Fixed initialization of android modules 2018-10-14 17:32:01 -07:00
lupoDharkael
039e3e295a GDScriptTokenizer: Fix token_names order 2018-10-14 23:34:53 +02:00
Max Hilbrunner
b95f0e61e0
Merge pull request #22942 from AlexHolly/doc-string-filedialog
Filled missing Doc for String and FileDialog
2018-10-14 19:37:32 +02:00
QbieShay
9de3924fea fixed visibility toggle with node selection
before this PR toggling visibility of not selected nodes would toggle
the visibility of the whole selection.
This PR changes this behaviour, so if visibility is toggled on a node
that it is not selected, the visibility toggle will happen only on this
node.
No changes to the behaviour of when one of the selected nodes has
visibility toggled: they still toggle all together
2018-10-14 19:33:34 +02:00
Max Hilbrunner
c106c88da8
Merge pull request #22986 from AlexHolly/doc-lineedit-clear-button
Doc LineEdit MenuRedo and clear_button_enabled
2018-10-14 19:32:39 +02:00
Max Hilbrunner
f1d4167030
Merge pull request #22978 from CakHuri/fix-get_button_count-link
[Docs] Fixed 'get_button_count's link and a typo related to 'button'.
2018-10-14 19:31:31 +02:00
Max Hilbrunner
000307f255
Merge pull request #23001 from voithos/contributingdoc
Add useful links for contributors to CONTRIBUTING and README docs.
2018-10-14 19:30:22 +02:00
Max Hilbrunner
73e22a7cee
Merge pull request #22924 from clayjohn/doc_MeshDataTool
[DOCS] Added descriptions to MeshDataTool classref
2018-10-14 19:26:39 +02:00
Zaven Muradyan
172694ac4c Add useful links for contributors to CONTRIBUTING and README docs. 2018-10-13 22:59:52 -07:00
Paulb23
d47b20acae Fixed delete line being off by one, issue 22819 2018-10-13 18:30:23 +01:00
Paulb23
49dc1ec749 Fix types highlighting outside of function args and var declarations, issues 22029,21638 2018-10-13 17:52:25 +01:00
Alexander Holland
c6dbcb1474 Doc LineEdit MenuRedo and clear_button_enabled 2018-10-13 17:41:02 +02:00
M. Huri
55c8fda884 Removed duplication of include(s):
- "collision_solver_sat.h".
- "shaders/copy.glsl.gen.h"
2018-10-13 20:25:34 +07:00
M. Huri
967831d9a0 [Docs] Fixed 'get_button_count's link and a typo related to 'button'. 2018-10-13 17:34:57 +07:00
Rémi Verschelde
fe0db6c479
Merge pull request #22975 from CakHuri/shape-typo
Fixed a typo, sahpe to shape.
2018-10-13 11:00:09 +02:00
M. Huri
32ec2e3b2c Fixed a typo, sahpe to shape. 2018-10-13 13:20:45 +07:00
Marcelo Fernandez
5e26829118 Fixed issues with audio input on some Macs 2018-10-12 19:20:28 -03:00
Rémi Verschelde
43c28681ad
Merge pull request #22939 from merumelu/tileset-add-texture-fix
TileSetEditor: Don't crash when adding invalid files
2018-10-12 12:09:54 +02:00
Thomas Herzog
5804efc637
Merge pull request #22929 from Windfisch/oa_hashmap_test
Fix bug and add testcase for OAHashMap losing keys
2018-10-12 08:42:19 +02:00
Alexander Holland
e4b2a20cd6 Filled missing Doc for String and FileDialog 2018-10-12 04:46:24 +02:00
K. S. Ernest (iFire) Lee
47b42787e3 Make visualscript search better.
* There were spaces unequally inside the function definitions.
* camelcase_to_underscore() should also work for numbers inside of the camel case.
* Removed the builtin concept
* Capitalize descriptions from methods too.
* Match the visual script functions by removing the empty arguments "( )"
* Add some test cases
2018-10-11 14:22:40 -07:00
the 8th mage
d3fc5e6c89 Fixed the problem with vector3 constructor
Whenever there's a port change that may change the inputs, the default inputs will be recalculated.

Moving the update port loop into its own function.

Signed-off-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2018-10-11 12:21:05 -07:00
clayjohn
596c36a9ac added descriptions to MeshDataTool doc 2018-10-11 09:00:37 -07:00
Rémi Verschelde
451e5fd051
Merge pull request #22915 from fire/visuals-shader-colour-constant-22906
Fix for Visual Shader Editor #22906: Cannot change color on Color Con…
2018-10-11 17:59:35 +02:00
Rémi Verschelde
ebdb374d80
Merge pull request #22844 from samgreen/fix_gui_dragging_spam
Fix spam when dragging in the editor
2018-10-11 17:48:19 +02:00
Rémi Verschelde
8b56ea3138
Merge pull request #22800 from QbieShay/depth_write
Added the ability to write to gl_FragDepth.
2018-10-11 17:31:50 +02:00
Rémi Verschelde
5c402e75bc
Merge pull request #22864 from milkowski/master
Fix build with Android NDK r18
2018-10-11 17:23:36 +02:00
Rémi Verschelde
e4b1284210
Merge pull request #22931 from groud/fix_resource_name_inspector
Fixes resources name not showing in the inspector
2018-10-11 17:21:58 +02:00
merumelu
27596f6031 TileSetEditor: Don't crash when adding invalid files 2018-10-11 17:15:01 +02:00
Florian Jung
0353182e7b Fix bug with OAHashMap corruption on insertion
When an item has been inserted into an already-occupied slot, and
the original inhabitant of that slot was moved on, it was wrongly
moved with the inserted-item's key/value instead of its own.

This closes #22928.
2018-10-11 12:53:32 +02:00
groud
f236507689 Fixes resources name not showing in the inspector 2018-10-11 11:23:48 +02:00
Florian Jung
15d3c96afd Add testcase whether OAHashMap loses keys
This demonstrates issue #22928.
2018-10-11 09:57:35 +02:00
MrCdK
0e8c7f58db Fixes Area and Area2D audio bus override 2018-10-11 05:15:22 +02:00
K. S. Ernest (iFire) Lee
6097a5af14 Fix for Visual Shader Editor #22906: Cannot change color on Color Constant
Revert line from 5f2f108908
2018-10-10 13:20:57 -07:00
OsamaElHariri
317f7c91a2 A colon ending a comment line no longer indents the next line 2018-10-10 00:36:12 +03:00
Unknown
c3d40e42ce Improve toggle comment function in script editor. 2018-10-09 19:39:45 +02:00
Rémi Verschelde
4c1a5d9cfe
Merge pull request #22866 from Calinou/improve-find-in-files
Improve the editor's Find in Files function
2018-10-09 17:43:33 +02:00
Rémi Verschelde
745ae39837
Merge pull request #22871 from marcelofg55/surr31_enum
Add missing BIND_ENUM for SPEAKER_SURROUND_31
2018-10-09 15:59:37 +02:00
Max Hilbrunner
47e27e73d1
Merge pull request #22872 from clayjohn/SurfaceTool-Doc
[DOC] Update and expand SurfaceTool doc
2018-10-09 15:46:30 +02:00
Rémi Verschelde
c730957c42 Revert "Added a check in sort_custom thats test wether the given method exists."
This reverts commit 6415454581.

That patch was correct but Object::has_method is not a reliable way to check
if we can use the given method, as it doesn't support inner classes (#22838).
2018-10-09 09:53:17 +02:00
clayjohn
84e82a387f update and expand surfacetool doc 2018-10-08 21:34:36 -07:00
Marcelo Fernandez
8816c7d8a2 Add missing BIND_ENUM for SPEAKER_SURROUND_31 2018-10-08 21:33:51 -03:00
Hugo Locurcio
f7848f234f
Improve the editor's Find in Files function
- Disable Whole Words and Match Case by default
- Hide the Cancel button once the search is completed
- Pad line numbers to the right for more readable search results
2018-10-09 00:00:51 +02:00