Commit graph

30623 commits

Author SHA1 Message Date
K. S. Ernest (iFire) Lee
43424e1321 Use the vertex colors by default in gltf. 2020-09-28 10:38:21 -07:00
Rémi Verschelde
b07f020c99
Merge pull request #42133 from vnen/variant-op-consistency
Allow commutative multiplication in Variant
2020-09-28 15:56:29 +02:00
Rémi Verschelde
bd12dc33d9
Merge pull request #38704 from aaronfranke/mono-dotgodot
Rename the ".mono" folder to ".godot/mono"
2020-09-28 14:35:18 +02:00
Rémi Verschelde
38a4d6da98
Merge pull request #38607 from aaronfranke/imported-rename
Rename the ".import" folder to ".godot/imported"
2020-09-28 14:34:39 +02:00
Tomasz Chabora
4efe401a9c Don't warp mouse when selecting tracks 2020-09-28 13:13:28 +02:00
Aaron Franke
5fbcd8f9df
Rename the ".import" folder to ".godot/imported" 2020-09-28 05:23:45 -04:00
Rémi Verschelde
64d3827b19
Merge pull request #41579 from Calinou/doc-basematerial3d-billboard-mode
Document the BaseMaterial3D billboard mode not being suited for VR
2020-09-28 10:40:09 +02:00
Rémi Verschelde
77ca3c20d8
Merge pull request #42092 from DashCell/dropping_file_on_parrent_directory_fix
Dropping file on parent directory fixed
2020-09-28 10:36:47 +02:00
Rémi Verschelde
b2e07dd308
Merge pull request #42094 from JFonS/rotation_gizmo_improvements
Improve rotation gizmo
2020-09-28 10:36:35 +02:00
Rémi Verschelde
e66013a6f1
Merge pull request #42262 from akien-mga/ios-pvrtc-fixes
iOS: Fix multiple issues with PVRTC import, disable ETC1
2020-09-28 10:17:38 +02:00
Rémi Verschelde
1a8dfcd97b
Merge pull request #42304 from akien-mga/os-drop-get_splash_tick_msec
OS: Remove unused get_splash_tick_msec
2020-09-28 10:13:37 +02:00
Rémi Verschelde
0ba4a8ba7b
Merge pull request #42327 from bruvzg/4_mac_captured_fix
[macOS] Fix mouse position in captured mode.
2020-09-28 10:08:05 +02:00
Rémi Verschelde
82d1265185
Merge pull request #42376 from Calinou/editorspinslider-comma-decimal
Allow using a comma as decimal separator in EditorSpinSlider
2020-09-28 10:07:08 +02:00
Haoyu Qiu
1998f78679 Hides special folders in FileDialog for macOS 2020-09-28 14:36:21 +08:00
Rémi Verschelde
80165210c3
Merge pull request #42375 from Pennycook/stable-ysort
Make YSort stable
2020-09-27 23:21:21 +02:00
Hugo Locurcio
3800e7d2ba
Allow using a comma as decimal separator in EditorSpinSlider
This closes https://github.com/godotengine/godot-proposals/issues/1576.
2020-09-27 22:29:40 +02:00
John Pennycook
8d3afa985b Make YSort stable
Keeps track of the order in which items are collected by
_collect_ysort_children, and uses that order to break
ties between items with similar Y positions.
2020-09-27 10:58:54 -07:00
Rémi Verschelde
c12fc4fa04
Merge pull request #42373 from groud/draw_selection_last
Draw selected item on top of everything else
2020-09-27 19:55:48 +02:00
Gilles Roudière
16532f51ef Draw selected item on top of everything else 2020-09-27 18:47:38 +02:00
Rémi Verschelde
93d42693a3
Merge pull request #42372 from NathanLovato/docs/AnimationPlayer
Remove link to step-by-step/animations tutorial
2020-09-27 18:32:58 +02:00
Rémi Verschelde
72ab8ae058
Merge pull request #42352 from Pineapple/add-all-headers-vs
Add all headers to Visual Studio Project
2020-09-27 18:21:25 +02:00
Nathan Lovato
173b9e6be7 Remove link to step-by-step/animations
Required for godotengine/godot-docs#4074 to pass, we're removing that
page from the docs as part of the getting started section rewrite.
2020-09-27 10:20:27 -06:00
Bartłomiej T. Listwon
317c2b194d Add all headers to VS Project 2020-09-27 18:03:51 +02:00
Rémi Verschelde
1a43f55c07
Merge pull request #42371 from groud/fix_error_anchors_move
Fix error when dragging anchors with parent's size == 0
2020-09-27 17:58:12 +02:00
Gilles Roudière
8e6da0b808 Fix error when dragging anchors with parent's size == 0 2020-09-27 17:44:06 +02:00
Yuri Roubinsky
70e54e4499
Merge pull request #42366 from Chaosus/vs_fix_move_undo
Fix undo for moving multiple visual shader nodes
2020-09-27 14:23:09 +03:00
Yuri Roubinsky
11043b1a8f Fix undo for moving multiple visual shader nodes 2020-09-27 14:05:19 +03:00
Rémi Verschelde
545da82427
Merge pull request #42340 from Rubonnek/get-funcref-function
Allow retrieval of FuncRef function string
2020-09-27 10:08:25 +02:00
Rémi Verschelde
5e9194086d
Merge pull request #35924 from doot24/fix_#35863
Fixed Gradient.remove_point not allowing fewer than two points.
2020-09-27 09:51:24 +02:00
Rémi Verschelde
fc481db1c3
Merge pull request #37403 from aaronfranke/basis_equal_approx
Change Basis is_equal_approx to use instance method
2020-09-27 08:46:37 +02:00
Rémi Verschelde
68e4454c31
Merge pull request #41960 from Calinou/doc-sprite3d
Update and complete the Sprite3D and SpriteBase3D class documentations
2020-09-27 08:44:25 +02:00
Rémi Verschelde
c844cc8251
Merge pull request #42016 from HaSa1002/docs-lang-2
Translate GDScript Code Examples to C# (Classes beginning with C)
2020-09-26 23:36:16 +02:00
Rémi Verschelde
bfd5b58223
Merge pull request #42356 from RandomShaper/fix_gdscript_inf_loop
Avoid infinite loop in GDScript at shutdown
2020-09-26 23:20:31 +02:00
Pedro J. Estébanez
de4e54dd91 Avoid infinite loop in GDScript at shutdown 2020-09-26 19:21:09 +02:00
Rémi Verschelde
84cec777c1
Merge pull request #40978 from HaSa1002/docs-code-1
Port code examples to C# of classes beginning with A and B
2020-09-26 12:42:42 +02:00
HaSa1002
c5aded55df Add C# code examples to the docs
Only existing GDScript code examples are converted and added to the
docs.
This is the first batch include classes beginning with A and B.

Included classes:
 * AcceptDialog
 * AESContext
 * Animation
 * AnimationNodeStateMachine
 * AnimationNodeStateMachinePlayback
 * AnimationNodeStateMachineTransition
 * Array
 * ArrayMesh
 * AStar
 * AStar2D
 * Bool
 * Button
2020-09-26 12:29:55 +02:00
HaSa1002
ae873ab822 Translate GDScript Code Examples to C# (C)
Translates Code Examples in classes beginning with `C`.

Includes:
 * Callable
 * CanvasItem
 * CharFXTransform
 * Color
 * ColorRect
 * ConfigFile
 * ConfirmationDialog
 * Control
 * Crypto
2020-09-26 11:48:37 +02:00
Rémi Verschelde
fea72f2a71
Merge pull request #42338 from godotengine/revert-41697-bug/editor-inspector-refresh-fix
Revert "Fix editor inspector refresh not working"
2020-09-25 21:01:24 +02:00
Wilson E. Alvarez
75154e64a9
Allow retrieval of FuncRef function string 2020-09-25 11:54:51 -04:00
PouleyKetchoupp
5a0376f969 Fix delay to process clipboard content from Godot in other programs
When pasting clipboard content from Godot to other applications,
multiple SelectionRequest events are sent to Godot in order to access
the data. It could take a long time before the data is ready for the
other app because events were processed one by one on the main thread,
especially when Godot is unfocused and runs at low frequency.

With this change, SelectionRequest events are directly handled on the
separate event polling thread to minimize this delay.

This change also replaces clipboard_get() calls in SelectionRequest with
a direct access to internal_clipboard, since in this case we know Godot
is the owner of the clipboard content and it's not necessary to query
the x server for it.
2020-09-25 16:40:04 +02:00
Rémi Verschelde
6c6d072e3d
Revert "Fix editor inspector refresh not working" 2020-09-25 15:50:05 +02:00
Rémi Verschelde
41c735fe50
Style: Fix black formatting after #42332
Somehow it did not run CI checks so we missed that one.

Also pin `black` version to latest upstream release.
2020-09-25 15:49:37 +02:00
Rémi Verschelde
ed91d3efeb
Merge pull request #42332 from Calinou/default-enable-copy-mono-root
Enable the `copy_mono_root` SCons option by default
2020-09-25 15:00:54 +02:00
Rémi Verschelde
96a51b108c
Merge pull request #42310 from Calinou/add-styleboxflat-shadow-property-hint
Add a property hint to StyleBoxFlat `shadow_size` for editor usability
2020-09-25 12:44:43 +02:00
Rémi Verschelde
a455eb4ccb
Merge pull request #42333 from Calinou/new-autokey-editor-icon
Replace AutoKey icon with a more universally understood "record" button
2020-09-25 12:40:47 +02:00
Hugo Locurcio
da906cade3
Replace AutoKey icon with a more universally understood "record" button
See discussion in
https://github.com/godotengine/godot-proposals/issues/169.
2020-09-25 11:43:17 +02:00
Hugo Locurcio
cfd564b385
Enable the copy_mono_root SCons option by default
This closes #41652.
2020-09-25 11:08:01 +02:00
bruvzg
f4a2eabf42
[macOS] Fix mouse position in captured mode. 2020-09-25 08:55:07 +03:00
Rémi Verschelde
9f8a923b92
Merge pull request #42312 from timothyqiu/false-otherwise
Surrounds boolean false with code tag in doc
2020-09-24 19:32:08 +02:00
Haoyu Qiu
aa7ce12bee Surrounds boolean false with code tag 2020-09-25 00:00:22 +08:00