Commit Graph

22494 Commits

Author SHA1 Message Date
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
Emmanuel Barroga 2350af5e70 Fix losing scene modifications when renaming file
Closes: #30436

When renaming/moving a file in the filesystem docker, changes on a scene that has dependencies on the file being renamed/moved are lost.

To resolve this, this patch saves the scenes that depend on the file first, to save its current state.
2019-07-15 20:50:03 -07: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
Daniel Larson ba6fbe5fa7 Added DualShock Equivalents to Joypad Button 10 and 11 2019-07-15 11:56:41 -05: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
SonerSound 545bf86d39 Fix inconsistent lighting in GLES2
Issue was possibily being caused by duplicating a light even when that
light was not in the render_light_instances array.
2019-07-14 19:12:26 +01: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
Hugo Locurcio 0aaf6cb87c
Remove unused Vulkan icon
This icon was likely added to be used in the renderer selection
dropdown, but now that the GLES2 and GLES3 icons have been removed
in favor of just using text, it'll probably never be used.
2019-07-13 23:22:01 +02:00
Bojidar Marinov b648d3e110
Fix TextureRegionEditorPlugin popping up even when explicitly hidden
Fixes #27468
2019-07-13 21:55:32 +03:00
Shiqing 206d515783 Fix unreachable code detection in match statements 2019-07-13 19:31:49 +08:00
Hugo Locurcio 350227013d
Improve 2D RayCast and one-way collision drawing
- Make RayCast2D gray when it's disabled
- Make the one-way collision arrow use the inverted shape debugging
  color (will result in an orange color by default)
  - This makes it easier to distinguish it from RayCast2D arrows
- Make lines slightly thinner
- Make the RayCast2D arrow tip larger
- Use anti-aliasing for the RayCast2D and one-way collision lines
2019-07-12 23:50:38 +02:00
Hugo Locurcio 9387114ce1
Tweak audio cutoff property hints to allow reasonable values only
This also makes all cutoff property hints consistent.

This closes #29588.
2019-07-12 22:44:17 +02:00
Bojidar Marinov f451a40282
Fix huge multiline default values being generated 2019-07-12 21:17:12 +03:00
Shiqing dd1589b2bc Fix potential crash caused by type mismatch in Ref 2019-07-12 23:53:07 +08:00