Commit graph

22294 commits

Author SHA1 Message Date
Rémi Verschelde 5230546d4f
Merge pull request #30624 from bojidar-bg/29955-invalid-write-audiostreamsample
Fix invalid write in AudioStreamSample::save_to_wav
2019-07-17 09:28:28 +02:00
Rémi Verschelde 14e6760d56
Merge pull request #30631 from fire/update_xatlas
Update xatlas to f65a664.
2019-07-17 09:15:29 +02:00
K. S. Ernest (iFIre) Lee a04e99ce4d Update xatlas to f65a664.
xatlas is now multicore.
2019-07-16 14:35:56 -07:00
Bojidar Marinov ea949ab873
Fix invalid write in AudioStreamSample::save_to_wav
Fixes #29955
2019-07-16 20:58:00 +03:00
Rémi Verschelde 22c843b0c4
Merge pull request #30602 from n-k-chilagani/first_time
Fixed Make 3D viewport locked nodes unselectable as in 2D viewport
2019-07-16 11:35:16 +02:00
Nikhil Kumar 600c153076 Fixed Make 3D viewport locked nodes unselectable as in 2D viewport #29903 2019-07-16 14:19:20 +05:30
Rémi Verschelde df62bfdd49
Merge pull request #30548 from Calinou/tweak-audio-cutoff-property-hints
Tweak audio cutoff property hints to allow reasonable values only
2019-07-16 08:54:25 +02:00
Rémi Verschelde 0ad6a1c66e
Merge pull request #30561 from Calinou/2d-guides-use-resize-cursors
Use resize cursors when hovering or dragging guides in the 2D editor
2019-07-16 08:54:04 +02:00
Rémi Verschelde 7b1ee28a03
Merge pull request #30567 from NilsIrl/static_func_inside_class
Show static functions inside classes in method list
2019-07-16 08:53:02 +02:00
Rémi Verschelde 58d0fb1254
Merge pull request #30579 from NilsIrl/from_if_to_switch
Use switch instead of if statement in editor_node.cpp
2019-07-16 08:48:34 +02:00
Rémi Verschelde a239727cfd
Merge pull request #30604 from YeldhamDev/line_align_caret_fix
Fix incorrect caret position when clicking a 'LineEdit' with a non-left alignment
2019-07-16 08:20:58 +02:00
Yuri Roubinsky 6b9d502195
Merge pull request #30611 from Chaosus/local_array_init_fix
Allows to use non-constants in the local shader array initializer
2019-07-16 09:11:59 +03:00
Chaosus cfcc9ee9c1 Allows to use non-constants in the local shader array initializer 2019-07-16 08:04:49 +03:00
Yuri Roubinsky 8202ba2212
Merge pull request #30596 from Chaosus/shader_array_init
Added local shader array initializer
2019-07-16 07:54:49 +03:00
Chaosus 9379cbc774 Added local array initializer 2019-07-16 07:13:37 +03:00
Michael Alexsander Silva Dias d91346f720 Fix incorrect caret position when clicking a 'LineEdit' with a non-left alignment 2019-07-15 19:32:41 -03:00
Rémi Verschelde efd55631e2 doc: Sync classref with current source 2019-07-15 20:45:30 +02:00
Rémi Verschelde 7d413f075c
Merge pull request #30590 from clayjohn/particle_life
Added individual particle random lifetime
2019-07-15 20:40:57 +02:00
Rémi Verschelde cad5834b88
Merge pull request #30563 from NathanWarden/texels_per_unit_doc
Documentation for texels per unit on BakedLightmap.
2019-07-15 20:39:50 +02:00
Nils ANDRÉ-CHANG 7a1b399df2 Use switch instead of if statement 2019-07-15 17:21:34 +01:00
Nils ANDRÉ-CHANG 9e3455cb1e Show static functions inside classes in method list 2019-07-15 17:16:57 +01:00
Rémi Verschelde 5d962f8baf
Merge pull request #30583 from hbina/fix_crash_issue_30493
Fix crashing when changing Node type.
2019-07-15 16:41:55 +02:00
Rémi Verschelde 7599f20c2e
Merge pull request #30594 from Anutrix/editor-help-font-fix
Fixed editor_doc properties font alignment bug
2019-07-15 16:39:51 +02:00
Nathan Warden 643ea41c68 Completed documentation for BakedLightmap node. 2019-07-15 08:56:12 -05:00
unknown c5d4bd9e34 Fixed editor_doc properties font alignment bug 2019-07-15 19:18:51 +05:30
Rémi Verschelde e6230a36f8
Merge pull request #30500 from Chaosus/shader_arrays
Implemented local shader arrays
2019-07-15 15:45:07 +02:00
hbina085 e9c1e5aa7c Fix crash when changing Node type
Prevent the application from crashing by simply checking if current "selection" is not null before accessing it.
Fixes #30493
2019-07-15 09:17:14 -04:00
Chaosus c37379456f Implemented local shader arrays 2019-07-15 15:57:39 +03:00
Hugo Locurcio 0fb80d7b0f
Use resize cursors when hovering or dragging guides in the 2D editor
This also tweaks the casing in undo/redo action names for consistency.

This closes #30550.

Co-authored-by: Emmanuel Barroga <emmanuelbarroga@gmail.com>
2019-07-15 14:24:45 +02:00
Rémi Verschelde 7e27da54d8
Merge pull request #30516 from kawa-yoiko/editor-settings-search
Improvements on searching in the settings dialog
2019-07-15 11:22:02 +02:00
Rémi Verschelde 7d4c3035ad
Merge pull request #30549 from Calinou/improve-2d-raycast-oneway-drawing
Improve 2D RayCast and one-way collision drawing
2019-07-15 11:21:19 +02:00
Rémi Verschelde 9a559ed5aa
Merge pull request #30540 from Calinou/add-gles2-line-antialiasing
Implement CanvasItem line antialiasing in GLES2
2019-07-15 11:18:53 +02:00
Rémi Verschelde b9c369de6d
Merge pull request #30591 from Chaosus/shader_missing_texture_overload
Added missed "textureProjLod" shader built-in overload for 3D textures
2019-07-15 11:13:45 +02:00
Rémi Verschelde 58fd123f45
Merge pull request #30581 from KoBeWi/tiled_shorts
Add tilemap editor rotation hotkeys
2019-07-15 11:02:40 +02:00
Chaosus e7f5640632 Added missed "textureProjLod" shader built-in overload for 3D textures 2019-07-15 09:59:11 +03:00
clayjohn 5ef3374258 added individual particle random lifetime 2019-07-14 23:22:40 -07:00
Rémi Verschelde 12c6e0e497
Merge pull request #30569 from Calinou/remove-unused-vulkan-icon
Remove unused Vulkan icon
2019-07-15 08:21:08 +02:00
Rémi Verschelde 1db3d987b2
Merge pull request #30565 from bojidar-bg/27468-region-editor-in-the-way
Fix TextureRegionEditorPlugin popping up even when explicitly hidden
2019-07-15 08:17:24 +02:00
Rémi Verschelde 158feb4194
Merge pull request #30544 from bojidar-bg/30537-huge-default-values
Fix huge multiline default values being generated
2019-07-15 08:16:43 +02:00
Rémi Verschelde 75f2575f28
Merge pull request #30552 from kawa-yoiko/match-unreachable
Fix unreachable code detection in match statements
2019-07-15 08:13:57 +02:00
Rémi Verschelde 71cd4fa40d
Merge pull request #30510 from sparkart/master
Fix GraphNode immediately losing focus
2019-07-15 08:02:14 +02:00
Rémi Verschelde 0471e4d578
Merge pull request #30543 from kawa-yoiko/editor-script-typecheck
Fix potential crash caused by type mismatch in Ref
2019-07-15 08:01:06 +02:00
Rémi Verschelde 23f5154de7
Merge pull request #30532 from Chaosus/vs_triplanar
Added triplanar uniform texture node to visual shaders
2019-07-15 07:56:06 +02:00
Yuri Roubinsky b3745e3fe9
Merge pull request #30589 from Chaosus/vs_boolean_fix
Better boolean indication in visual shaders
2019-07-15 08:47:31 +03:00
Chaosus e82b5e910a Better boolean indication in visual shaders 2019-07-15 08:31:51 +03:00
Yuri Roubinsky 803544052a
Merge pull request #30539 from Chaosus/vs_gles3_marking
Highlight GLES3 functions in the visual shader member panel
2019-07-14 21:59:52 +03:00
Ignacio Roldán Etcheverry 7f3490c5e1
Merge pull request #30584 from neikeq/yatta
Mono: Better handling of missing/outdated API assemblies
2019-07-14 19:39:26 +02:00
Ignacio Etcheverry e59ac40712 Mono: Better handling of missing/outdated API assemblies
Remove the old API assembly invalidation system. It's pretty simple since now the editor has a hard dependency on the API assemblies and SCons takes care of prebuilding them.
If we fail to load a project's API assembly because it was either missing or outdated, we just copy the prebuilt assemblies to the project and try again. We also do this when creating the solution and before building, just in case the user removed them from the disk after they were loaded.
This way the API assemblies will be always loaded successfully. If they are not, it's a bug.

Also fixed:

- EditorDef was behaving like GlobalDef in GodotTools.
- NullReferenceException because we can't serialize System.WeakReference yet. Use Godot.WeakRef in the mean time.
2019-07-14 19:17:07 +02:00
Tomasz Chabora 38d9434098 Add tilemap editor rotation hotkeys 2019-07-14 15:46:47 +02:00
Emmanuel Barroga 381faf83c3 Fix GraphNode immediately losing focus
Closes: #30243

GraphNode immediately loses focus, and gives focus to its parent.

This fix changes implementation so that it does not transfer focus to its parent after receiving focus. Instead, it will transfer focus when the "close button" is pressed.
2019-07-13 17:25:20 -07:00