Tomasz Chabora
44e84c61a6
Add disabled theme icons for CheckBox
...
(cherry picked from commit 3a40c268a6
)
2021-04-26 13:15:28 +02:00
Kyle
cc419fcf8f
Fixes ctrl-click function line centering
...
When ctrl-clicking in the code editor, the view will now be centered on the function result.
Also replaces a circumstance where goto_line_centered should be used.
(cherry picked from commit 2b775bd698
)
2021-04-26 13:07:59 +02:00
Shatur95
41e7cefaa4
Move duplicated code into a function
...
(cherry picked from commit a1cfc1032c
)
2021-04-26 13:07:59 +02:00
Sergey Minakov
78837f5c65
Core: add EOF check for json parser
...
Additionally reset parse result if error was found.
(cherry picked from commit a2676ff810
)
2021-04-26 13:07:59 +02:00
Johannes
a3c67dd3fc
Fix removal of rect_min_size
not triggering resize
...
fixes #46672
(cherry picked from commit c8868fcaab
)
2021-04-26 13:07:59 +02:00
Hugo Locurcio
58393b544b
Tweak error messages for the Save Branch as Scene editor option
...
See https://github.com/godotengine/godot-proposals/issues/2433 .
(cherry picked from commit 4c8f458c90
)
2021-04-26 13:07:59 +02:00
Ev1lbl0w
c2b85ed865
Allow Godot to import .ZIP files with non-regular structure
...
(cherry picked from commit 9b1db715fd
)
2021-04-26 13:07:58 +02:00
Nathan Franke
1001bea7ac
Collapse Resource Preview Properly
...
(cherry picked from commit 98c46cbf26
)
2021-04-26 13:07:58 +02:00
Maganty Rushyendra
c5e8a81737
Fix AudioServer Crash when bus count equals 0
...
(cherry picked from commit ccc375f163
)
2021-04-26 13:07:58 +02:00
Marcel Admiraal
cfccf77edb
Fix CSGMesh undo not refreshing gizmo
...
(cherry picked from commit 4311c2f66e
)
2021-04-26 12:52:15 +02:00
Lightning_A
a853cf25f6
Remove current export template version from "Installed Versions"
...
**Not tested** (I don't have an easy way to test currently). Resolves https://github.com/godotengine/godot-proposals/issues/2394 .
(cherry picked from commit c562c6943f
)
2021-04-26 12:52:15 +02:00
Hugo Locurcio
7cb77a859a
Add a menu action to open C++ source on GitHub in the editor debugger
...
This helps user find back the source code where the error/warning
was emitted from.
(cherry picked from commit 5bc746e60a
)
2021-04-26 12:52:15 +02:00
Sushi
79f48642a8
Fix: Selection Only in Find/Replace now preserves selection
...
(cherry picked from commit a4d5664858
)
2021-04-26 12:52:15 +02:00
Hugo Locurcio
a989e08839
Improve error messages for missing export presets when using --export
...
- Display a specific error message if the project doesn't have an
`export_presets.cfg` file.
- Display a list of detected export presets if an invalid export
preset name is supplied.
(cherry picked from commit 09f38ea215
)
2021-04-26 12:20:28 +02:00
Rémi Verschelde
263c250067
Main: Default --doctool
path to '.' if none given
...
(cherry picked from commit 096ef0dc91
)
2021-04-26 12:20:28 +02:00
Hugo Locurcio
94e0d02079
Strip leading/trailing whitespace for project name in the project manager
...
This affects creating projects and renaming them.
(cherry picked from commit 86455d0c58
)
2021-04-26 12:20:28 +02:00
Rémi Verschelde
030f0f58a3
Scene: Remove unused mesh_materials
StringNames
...
They were added in 8be2fabbe5
(2.1 era) but
were likely a first attempt that didn't get unused in the end.
(cherry picked from commit 764eee03a4
)
2021-04-26 12:20:28 +02:00
ray90514
ea8004052d
Fix LineEdit undo behaves strangely
...
(cherry picked from commit 7501c7f48a
)
2021-04-26 12:20:28 +02:00
Francois Belair
1f54a75310
Make LSP update the filesystem of changed scripts
...
This updates global classes and exposes base member variables.
Fixes #39713
(cherry picked from commit b16bb33a5b
)
2021-04-26 12:20:28 +02:00
Rémi Verschelde
137f71fd75
Merge pull request #48173 from madmiraal/fix-empty-csgshape-error-3.x
...
[3.x] Fix new `CSGMesh` errors
2021-04-26 12:20:08 +02:00
Rémi Verschelde
cbd47665ea
Merge pull request #48125 from lawnjelly/ewok_fix_translate_size
...
Batching - fix number of verts in translation
2021-04-26 11:53:00 +02:00
Rémi Verschelde
e554ecd691
Merge pull request #47451 from BastiaanOlij/arvr_positional_tracker_ref
...
Change ARVRPositionalTracker to a reference (3.x)
2021-04-26 07:45:34 +02:00
Marcel Admiraal
decdf4fcbc
Fix empty CSGShape error
2021-04-25 08:01:14 +01:00
Rémi Verschelde
5942a70596
Merge pull request #48151 from lawnjelly/ewok_gles3_light_modulate
...
Batching - GLES3 fix light pass modulates
2021-04-24 12:24:05 +02:00
lawnjelly
35c5ccce9e
Batching - GLES3 fix light pass modulates
...
The final_modulate was incorrectly being set in the uniform on light passes in GLES3 in situations where color was baked in the vertices. This was already correct in GLES2. This PR makes prevents setting final_modulate in this situation.
2021-04-24 10:21:33 +01:00
Rémi Verschelde
e572be0c5f
Merge pull request #47484 from rafallus/fix/rigidbody-crash3.x
...
Fix crash on RigidBody _direct_state_changed (3.x)
2021-04-24 01:36:24 +02:00
Rémi Verschelde
32c1bada99
Merge pull request #47827 from Chaosus/vs_fix_default_input_overriding_3.2
...
[3.x] Prevents default values of VSNodeCustom from overriding by a script
2021-04-23 22:06:08 +02:00
Hugo Locurcio
6f16302d49
Link to Feature tags more explicitly in ProjectSettings documentation
...
(cherry picked from commit 188bd5638c
)
2021-04-23 22:05:05 +02:00
Bhuvan Vemula
1c1ec81455
instance-scene: make parent as edited_scene if no parent selected.
...
(cherry picked from commit 9eb3546f38
)
2021-04-23 21:52:21 +02:00
Arthur Paulino
d27fbe10ad
Updating KinematicBody2D "is_on" functions' descriptions
...
(cherry picked from commit 0c9a1a1cd4
)
2021-04-23 21:51:42 +02:00
kobewi
07fb3c6aca
Make randomize() use unix time too
...
(cherry picked from commit 22efa850bd
)
2021-04-23 21:50:34 +02:00
Rémi Verschelde
6ed82812aa
NodePath: Remove unimplemented get_parent()
method
...
Fixes #48100 .
(cherry picked from commit 12f826da7d
)
2021-04-23 21:50:00 +02:00
Rémi Verschelde
5820e36705
Android: Fix get_buffer false positive on empty dest buffer
...
Follow-up to #46810 , this was missed in #47079 when fixing the issue
for other platforms.
Fixes #48135 .
(cherry picked from commit a09f3833bd
)
2021-04-23 21:49:31 +02:00
Rémi Verschelde
ed9c366370
Merge pull request #48105 from kleonc/arg3x
...
[3.x] Improve some argument names for core types
2021-04-23 17:13:32 +02:00
kleonc
4d7f642fb3
Improve some argument names for core types
2021-04-23 15:34:24 +02:00
Rémi Verschelde
aa4cb409ce
Merge pull request #48124 from akien-mga/3.x-linux-more-embree3-woes
...
Linux: Don't attempt linking embree3 on non-tools, link it for headless too
2021-04-23 12:33:55 +02:00
Rémi Verschelde
a14b51df92
Linux: Don't attempt linking embree3 on non-tools, link it for headless too
...
`tech_debt++`, that's what we get for not taking the time to cleanup all this
and do it right...
Follow-up to #48073 and #48102 .
2021-04-23 10:40:53 +02:00
lawnjelly
d08cf5f434
Batching - fix number of verts in translation
...
The translation to larger vertex formats was assuming that batches were rects, and not accounting that the num_commands had a different meaning for lines and polys, so the calculation for number of vertices to translate was incorrect in these cases.
Also prevents infinite loop if a single polygon has too many vertices to fit in the batch buffer.
2021-04-23 09:24:15 +01:00
Rémi Verschelde
adaf488963
Merge pull request #48107 from pycbouh/the-rose-by-any-other-name
...
Correct pre-deprecation warning message regarding linuxbsd/x11 platform
2021-04-23 10:14:42 +02:00
Yuri Sizov
dbd4b45ca2
Correct pre-deprication warning message regarding linuxbsd/x11 platform
2021-04-22 21:54:35 +03:00
Rémi Verschelde
3768a37e39
Merge pull request #48102 from akien-mga/3.x-no-lightmapper-if-no-embree
...
lightmapper: Disable build if raycast module can't build
2021-04-22 19:42:02 +02:00
Rémi Verschelde
a2c68d9da7
lightmapper: Disable build if raycast module can't build
...
We need to propagate the hacky checks from the raycast config to the
lightmapper config, as the failure of a `can_build()` check is not notified to
other modules (which might even be checked further depending on the processing
order in SConstruct).
A more thorough fix would be to change SConstruct to do two loops on modules:
one to check `can_build()` and disable modules which can't build, then another
one to rechecked `can_build()` with the new lineup and do further config.
But there would be more risk for regressions than with this ad hoc hack.
Similar story for the `platform/x11/detect.py` change... oh my eyes :(
2021-04-22 19:12:37 +02:00
Rémi Verschelde
b1898c77fb
Merge pull request #48073 from akien-mga/3.x-unbundle-embree
...
embree: Allow building against system library on Linux
2021-04-22 18:06:49 +02:00
Rémi Verschelde
10e86bc017
Add type_traits include for std::is_trivially_destructible
...
(cherry picked from commit 3d46f28558
)
2021-04-22 17:22:52 +02:00
Rémi Verschelde
2a00a6bfca
fbx: Fix include for zlib that broke unbundling
...
It's possible to link against system zlib on Linux, so we should use system paths.
(cherry picked from commit 93b7406138
)
2021-04-22 17:22:18 +02:00
bruvzg
575433b997
Fix crash on GDNative API json generator exit.
...
(cherry picked from commit a4423c82f8
)
2021-04-22 17:21:52 +02:00
Rémi Verschelde
b266cc2315
embree: Allow building against system library on Linux
2021-04-22 17:06:28 +02:00
Rémi Verschelde
a86f5462cf
Merge pull request #48089 from JFonS/cpulm_fixes
...
[3.x] CPU lightmapper environment energy fixes.
2021-04-22 16:52:19 +02:00
Rémi Verschelde
f36046f0ab
Merge pull request #48094 from Calinou/editor-lightmap-warning-apple-silicon
...
Tweak lightmapper warning message to mention Rosetta emulation on macOS
2021-04-22 16:41:59 +02:00
JFonS
2db2d1153d
CPU lightmapper environment energy fixes.
...
* Better handling of the scene's environment energy in the lightmapper
bakes.
* Fixed a bug where ProceduralSky::get_panorama() returned a reference
instead of a copy.
* Removed includes to Embree's internal header files.
2021-04-22 16:26:04 +02:00