Commit Graph

22290 Commits

Author SHA1 Message Date
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
600c153076 Fixed Make 3D viewport locked nodes unselectable as in 2D viewport #29903 2019-07-16 14:19:20 +05:30
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
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
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
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
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
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
cfcc9ee9c1 Allows to use non-constants in the local shader array initializer 2019-07-16 08:04:49 +03:00
8202ba2212 Merge pull request #30596 from Chaosus/shader_array_init
Added local shader array initializer
2019-07-16 07:54:49 +03:00
9379cbc774 Added local array initializer 2019-07-16 07:13:37 +03:00
d91346f720 Fix incorrect caret position when clicking a 'LineEdit' with a non-left alignment 2019-07-15 19:32:41 -03:00
efd55631e2 doc: Sync classref with current source 2019-07-15 20:45:30 +02:00
7d413f075c Merge pull request #30590 from clayjohn/particle_life
Added individual particle random lifetime
2019-07-15 20:40:57 +02:00
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
7a1b399df2 Use switch instead of if statement 2019-07-15 17:21:34 +01:00
9e3455cb1e Show static functions inside classes in method list 2019-07-15 17:16:57 +01:00
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
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
643ea41c68 Completed documentation for BakedLightmap node. 2019-07-15 08:56:12 -05:00
c5d4bd9e34 Fixed editor_doc properties font alignment bug 2019-07-15 19:18:51 +05:30
e6230a36f8 Merge pull request #30500 from Chaosus/shader_arrays
Implemented local shader arrays
2019-07-15 15:45:07 +02:00
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
c37379456f Implemented local shader arrays 2019-07-15 15:57:39 +03:00
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
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
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
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
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
58fd123f45 Merge pull request #30581 from KoBeWi/tiled_shorts
Add tilemap editor rotation hotkeys
2019-07-15 11:02:40 +02:00
e7f5640632 Added missed "textureProjLod" shader built-in overload for 3D textures 2019-07-15 09:59:11 +03:00
5ef3374258 added individual particle random lifetime 2019-07-14 23:22:40 -07:00
12c6e0e497 Merge pull request #30569 from Calinou/remove-unused-vulkan-icon
Remove unused Vulkan icon
2019-07-15 08:21:08 +02:00
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
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
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
71cd4fa40d Merge pull request #30510 from sparkart/master
Fix GraphNode immediately losing focus
2019-07-15 08:02:14 +02:00
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
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
b3745e3fe9 Merge pull request #30589 from Chaosus/vs_boolean_fix
Better boolean indication in visual shaders
2019-07-15 08:47:31 +03:00
e82b5e910a Better boolean indication in visual shaders 2019-07-15 08:31:51 +03:00
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
7f3490c5e1 Merge pull request #30584 from neikeq/yatta
Mono: Better handling of missing/outdated API assemblies
2019-07-14 19:39:26 +02:00
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
38d9434098 Add tilemap editor rotation hotkeys 2019-07-14 15:46:47 +02:00
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
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
b648d3e110 Fix TextureRegionEditorPlugin popping up even when explicitly hidden
Fixes #27468
2019-07-13 21:55:32 +03:00
206d515783 Fix unreachable code detection in match statements 2019-07-13 19:31:49 +08:00
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