1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00
Commit Graph

29068 Commits

Author SHA1 Message Date
Bastiaan Olij
edc5628541 Hide new sky properties if we don't have sky as a background 2019-02-06 21:27:31 +11:00
Rémi Verschelde
25027d60f7 Merge pull request #25606 from Paulb23/fix_textedit_scroll_selection
Fixed selection being activated when using scroll lines.
2019-02-06 11:27:16 +01:00
Rémi Verschelde
6afc024078 Merge pull request #25618 from YeldhamDev/sprite3d_region_frames
Add frame support for Sprite3D with region enabled
2019-02-06 11:21:44 +01:00
Bastiaan Olij
005fb62284 Added a mesh interface to the arvr positional trackers 2019-02-06 21:03:43 +11:00
Ignacio Etcheverry
c19840dad7 Merge pull request #25636 from neikeq/uwu
Mono: Workaround to fix 'flushing' errors when building at editor startup
2019-02-05 19:13:53 +01:00
Ignacio Etcheverry
4aa4916b11 Mono: Workaround to fix 'flushing' errors when building at editor startup 2019-02-05 18:51:24 +01:00
clayjohn
b78a384921 change hint_color to hint_albedo for sampler2ds 2019-02-04 22:12:25 -08:00
clayjohn
f752aaf970 initialize color buffer to white in gles2 multimesh 2019-02-04 20:08:35 -08:00
Michael Alexsander Silva Dias
1e3e770073 Add frame support for Sprite3D with region enabled 2019-02-04 20:31:45 -02:00
hsandt
49b4faf43a [Code Editor] Fixed toggle_inline_comment moving cursor position by 1 even with longer delimiter like "//" 2019-02-04 20:23:48 +01:00
hsandt
5165a90ef6 [Script Editor] Refactored ScriptTextEditor::_edit_option by extracting EDIT_TOGGLE_COMMENT case
CodeEditor::toggle_inline_comment is now used by both ScriptTextEditor and ShaderEditor
2019-02-04 20:21:08 +01:00
Paulb23
69374cd378 Fixed selection being activated when using scroll lines 2019-02-04 10:55:45 +00:00
Ignacio Etcheverry
16d402147b Merge pull request #25593 from neikeq/whatwasithinking
Fix OS_Unix::set_environment
2019-02-04 01:03:10 +01:00
Ignacio Etcheverry
9bd9d21358 Fix OS_Unix::set_environment 2019-02-04 00:44:37 +01:00
Daniel Rakos
6df53e0401 MeshLibrary export improvements
- From now materials assigned to the MeshInstance (not the Mesh) get exported
  into the MeshLibrary when such materials exist. This enables workflows where
  the MeshLibrary is exported from an imported scene (e.g. GLTF) where the
  materials assigned to the Mesh (not the MeshInstance) get overwritten on
  re-import, thus can't use editor set materials in the exported MeshLibrary
  unless they are assigned to the MeshInstance whose materials get saved with
  the inherited scene thus persist across re-imports.
- When appending to an existing MeshLibrary only generate previews for newly
  added or modified meshes.
- During preview generation transform camera and lights instead of the mesh
  and use the source MeshInstance's transform for the mesh to avoid weird
  previews being generated for meshes with a position dependent material
  (e.g. when using triplanar mapping).
- Adjust the camera angle and light directions used in mesh preview generation
  for better results.
2019-02-03 22:48:35 +01:00
Ignacio Etcheverry
919fa75803 Merge pull request #25574 from neikeq/ss
Mono: Lifetime fixes for CSharpInstance and instance binding data
2019-02-03 07:36:33 +01:00
Ignacio Etcheverry
248dbb2517 Merge pull request #25576 from neikeq/tt
Mono: Fix default debugger agent argument never being used
2019-02-03 07:33:01 +01:00
Ignacio Etcheverry
d8593747e0 Mono: Fix default debugger agent argument never being used 2019-02-03 06:51:07 +01:00
Ignacio Etcheverry
3233083f63 Mono: Lifetime fixes for CSharpInstance and instance binding data
Avoid CSharpInstance from accessing its state after self destructing (by deleting the Reference owner).
It's now safe to replace the script instance without leaking or crashing.

Also fixed godot_icall_Object_weakref return reference being freed before returning.
2019-02-03 06:47:25 +01:00
Ignacio Etcheverry
4e4e889c75 Merge pull request #25478 from neikeq/rr
Mono: Fix MonoPosixHelper not being found
2019-02-03 06:31:52 +01:00
Ignacio Etcheverry
065828d159 Mono: Fix MonoPosixHelper not being found 2019-02-03 05:38:47 +01:00
Ignacio Etcheverry
41873ffa88 Added set_environment to OS class 2019-02-03 05:38:47 +01:00
Ignacio Etcheverry
d3c51a5dfb Mono: Cleanup 2019-02-03 05:38:40 +01:00
Kanabenki
5890e7060e Use relative path property hint for windows export icon 2019-02-03 01:31:53 +01:00
KaadmY
d116705538 Allow usage of depth texture when contact shadows are disabled 2019-02-01 12:46:43 -08:00
DualMatrix
ff508dfede Fixed Null appearing inside export variables with type hints and no default value
The default value of the type is now used to initialise it.

export(int) A

Will now have A be 0 istead of Null even though it still showed as 0 before in the inspector, fixes #25357
2019-02-01 21:18:14 +01:00
Gilles Roudière
5f981d7fef Displays errors and warnings in a better way in the script editor 2019-02-01 17:20:59 +01:00
JFonS
fe6123fca4 Fix local_delta when resetting CPUParticles 2019-02-01 17:16:09 +01:00
Marc Gilleron
81a5eb4d18 Don't modify font which could potentially not be the editor one yet 2019-02-01 16:59:55 +01:00
Rémi Verschelde
869887641f Merge pull request #25547 from hpvb/fix-25507
When an animationplayer sets a property on itself recreate the caches
2019-02-01 16:32:45 +01:00
Hein-Pieter van Braam
37aa06bf8a When an animationplayer sets a property on itself recreate the caches
this fixes #25507
2019-02-01 16:15:39 +01:00
Marc Gilleron
fb2eb66e40 Fixed uninitialized log member due to THEME_CHANGED notification 2019-02-01 15:30:44 +01:00
Marc Gilleron
bd9f92cdf8 Implemented terrain raycast acceleration using Bresenham traversal and 1 level of chunks 2019-02-01 14:57:17 +01:00
Rémi Verschelde
58de384978 Merge pull request #25540 from JFonS/remove_gizmo_errors
Fix gizmo errors on "Align with view"
2019-02-01 14:12:37 +01:00
JFonS
2232d3336e Fix gizmo errors on "Align with view" 2019-02-01 12:16:05 +01:00
Marc Gilleron
5b378f408c Exposed custom AABB setter on GeometryInstance 2019-02-01 12:01:19 +01:00
Hugo Locurcio
355d65aa8d Fix a font oversampling warning being printed when it shouldn't 2019-01-31 19:49:10 +01:00
bruvzg
50e2c1e184 [macOS] Fix rendering on retina displays with HiDPI support disabled. 2019-01-31 19:24:57 +02:00
Marc Gilleron
ae9a23e36c Moved script editor search bar to the bottom, so it doesn't shift everything down 2019-01-31 16:44:40 +01:00
Bojidar Marinov
d2e43475b5 Fix wrong error messages for invalid arguments when calling functions through call
Fixes #25505
2019-01-31 17:02:18 +02:00
Marc Gilleron
08ea2aedd2 Explain how to use Expression inputs 2019-01-31 15:52:17 +01:00
Bojidar Marinov
72472bef05 Fix remote scene tree root folding
Fixes #25487
2019-01-31 16:40:27 +02:00
Bojidar Marinov
abfeba8d12 Fix crashes when calling update_bitmask_area
Fixes #25504
2019-01-31 11:48:37 +02:00
homer666
07e27cd197 [DOCS] Update PhysicsDirectSpaceState.cast_motion 2019-01-31 20:39:40 +11:00
Rémi Verschelde
463123a661 Merge pull request #25494 from RandomShaper/fix-21677
Let memory stat functions return uint64_t
2019-01-31 10:33:18 +01:00
Rémi Verschelde
6225b17d5f Merge pull request #25493 from bojidar-bg/21601-astar-segfault
Fix AStar crashing with large (>1e30) estimated values
2019-01-31 10:32:22 +01:00
K. S. Ernest (iFire) Lee
b83c3827f3 Add check in folding to see if the nodepath exists to avoid message spam. 2019-01-30 20:19:44 -08:00
Bojidar Marinov
e34a4c63a7 Fix AStar crashing with large (>1e30) estimated values
Fixes #21601
2019-01-30 20:22:08 +02:00
Pedro J. Estébanez
496d8f19fc Let memory stat functions return uint64_t 2019-01-30 19:07:46 +01:00
Gilles Roudiere
96f25c8b67 Move some tilemap options to the toolbar 2019-01-30 16:06:40 +01:00