Juan Linietsky
c2027c8233
Added functions to further improve music timing
2019-04-27 14:05:16 -03:00
Juan Linietsky
040b59c010
Properly deal with clicking on audio stream change or stop (AudioStreamPlayer only)
2019-04-27 12:58:22 -03:00
Samuele Zolfanelli
e2dd0c101e
Make TileMap overridable "set_cell" function called on undo/redo
2019-04-27 17:20:32 +02:00
Juan Linietsky
60eec47077
Revert "Fix AudioStreams::stop possibly causing a small noise"
2019-04-27 12:17:54 -03:00
Rodolfo Ribeiro Gomes
9742d0c323
Spatial::look_at() now preserves its scale values
...
It always normalized basis after look_at() computation.
Now it applies previous scale back, in order to avoid
distortions when global scale was different of (1,1,1).
fix #10003 and #19000
Related to #17924
2019-04-26 20:10:32 -03:00
Bastiaan Olij
1a1b35721a
Send notifications to ARVRInterfaces
2019-04-27 08:39:21 +10:00
Bastiaan Olij
b652fcd241
Added set_as_bulk_array, fixed transform2D saving and documentation to MultiMesh
2019-04-26 20:30:16 +10:00
Rémi Verschelde
9ef46996cd
Merge pull request #28430 from AnthonyYoManz/issue-28186-fix-crash-on-exit-when-3d-disabled
...
Fix Crash On Close When 3D Is Disabled
2019-04-26 00:20:39 +02:00
AnthonyYoManz
fc65cc64b9
Fix Crash On Close When 3D Is Disabled
2019-04-25 21:59:07 +01:00
Aaron Franke
b659e1eb2b
Use approximate equallity methods in many places
2019-04-25 13:20:29 -04:00
Aaron Franke
b2e1c9c276
[Core] Approximate equality
2019-04-25 13:20:29 -04:00
James Buck
bc7863775c
Cancel tooltip when hiding the node it belongs to
2019-04-25 11:19:31 -05:00
Rémi Verschelde
cce2e4b07c
Merge pull request #22301 from YeldhamDev/button_popup_highlight
...
Enable toggle behaviour for buttons that trigger popups
2019-04-25 17:47:23 +02:00
Rémi Verschelde
c26f0c9bbd
Merge pull request #28377 from YeldhamDev/connection_info_script_changes
...
Make small changes to the new connection info on script feature
2019-04-25 10:41:27 +02:00
Rémi Verschelde
778322161c
Merge pull request #28380 from kiidmale/fix-cpuparticles
...
Make multimesh invisible initially in CPUParticles
2019-04-25 09:00:46 +02:00
Michael Alexsander Silva Dias
350bcce041
Expose 'TextEdit's tab drawing and folding to GDScript
2019-04-24 12:42:12 -03:00
Daeil Kim
692205da33
Make multimesh invisible initially in CPUParticles
...
Fixes #28252
2019-04-24 16:52:49 +09:00
Chaosus
21ca9f6c7c
Disallow loopback connection in visual scripts and visual shaders
2019-04-24 09:14:45 +03:00
Michael Alexsander Silva Dias
4bca3236d1
Make small changes to the new connection info on script feature
2019-04-24 03:13:25 -03:00
Rikhardur Bjarni Einarsson
9bfa63496a
Added a marker in text_edit that tells which row is executing.
2019-04-23 21:51:01 +01:00
ShyRed
a9d4cde0f5
Allow adding disabled shapes
...
Adds the ability to directly add disabled shapes to a collision object. Before this commit a shape has always been assumed to be enabled and had to be disabled in an extra step.
2019-04-23 18:06:48 +02:00
Rémi Verschelde
b4d561013f
Revert "RichTextLabel: Adding the ability to change the default cursor"
2019-04-23 16:10:15 +02:00
Daniel Rakos
de33ef2d1b
Disable GI probe capturing lights with bake mode disabled
...
The bake mode property of lights previously didn't affect GI probes.
This change makes the GI probe ignore lights that have their bake mode
set to disabled.
2019-04-23 11:36:36 +02:00
Hein-Pieter van Braam
5c28296efe
Merge pull request #24489 from mateusfccp/18264_wrong_animation_error
...
Make AnimatedSprite.animation complain when invalid animation name
2019-04-23 06:36:32 +03:00
Hein-Pieter van Braam
bf7634b625
Merge pull request #25155 from Timofffee/Timofffee-patch-vehicle
...
Added check engine_traction
2019-04-23 06:28:26 +03:00
Hein-Pieter van Braam
5d33f241f0
Merge pull request #26064 from JFonS/add_frustum_camera_mode
...
Add FRUSTUM camera mode, allowing tilted frustums
2019-04-23 06:20:13 +03:00
Hein-Pieter van Braam
05ef1f4998
Merge pull request #27903 from Calinou/richtextlabel-brighten-default-color
...
Brighten the RichTextLabel color in the default theme
2019-04-23 05:59:16 +03:00
qarmin
479649b5fb
Fix typo count_count to count
2019-04-23 01:25:29 +02:00
Juan Linietsky
33a0011ab2
Added bindings for methods related to obtaining base an instance from VisualInstance
2019-04-22 19:27:30 -03:00
Nikolay Neupokoev
ebe54833a9
Fix popup visibility for OptionButton, MenuButton and ColorPickerButton
...
Hide popup when its button or another parent object is hidden
Fixes #26937
2019-04-22 15:11:49 -07:00
Juan Linietsky
f46899e922
Expose visible instance count to multimesh
2019-04-22 18:38:49 -03:00
Rémi Verschelde
886afa9b76
Merge pull request #26868 from NilsIrl/master
...
Add Attenuation Model "NO" for AudioStreamPlayer3D
2019-04-22 13:36:07 +02:00
hilfazer
17166f5640
autocomplete for $" and $'
2019-04-22 12:53:24 +02:00
Rémi Verschelde
a342131eba
Merge pull request #27673 from qarmin/small_fixes
...
Small fixes, mostly duplicated code
2019-04-22 12:00:34 +02:00
Rémi Verschelde
201cdd358a
Merge pull request #28140 from Daw11/orphan-nodes
...
Add a monitor for the orphan nodes
2019-04-22 11:55:15 +02:00
Rémi Verschelde
22457b907e
Merge pull request #28234 from Paulb23/connection_info_on_script
...
Display connection information in the script editor
2019-04-22 11:52:13 +02:00
Nils ANDRÉ-CHANG
a1fc73e6d3
Add Attenuation Model "DISABLED" for AudioStreamPlayer3D
2019-04-22 10:34:28 +01:00
Rémi Verschelde
86aa22b2ac
Merge pull request #28266 from coldrye-collaboration/gh-28241
...
Fix LineEdit not expanded to text length on undo/redo
2019-04-22 10:47:58 +02:00
Rémi Verschelde
0fc67767a4
Merge pull request #28276 from YeldhamDev/lineedit_offset_limit
...
Fix 'LineEdit' offset limit not accounting for the right/clear icon width
2019-04-22 10:45:49 +02:00
Zach Young
516b80cd65
Fix completely #14835 -proper selection reset on undo
2019-04-21 17:20:58 -04:00
Rémi Verschelde
33b69340ad
Merge pull request #27219 from raphael10241024/debug_fix
...
Fix collider debug shape didn't changes with collider size changes
2019-04-21 20:34:34 +02:00
Rémi Verschelde
6d8b209fc5
Merge pull request #27448 from avencherus/light2d-height
...
Light2D height range expanded to -2048 to 2048.
2019-04-21 20:06:14 +02:00
Carsten Klein
da2a0a3814
Call minimum_size_changed() on redo/undo if expand_to_text_length is true
...
Fixes #28241
2019-04-21 19:10:01 +02:00
Michael Alexsander Silva Dias
ac1c523989
Fix 'LineEdit' offset limit not accounting for the right/clear icon width
...
Fully fixes #28242 .
2019-04-21 13:55:40 -03:00
Hugo Locurcio
35a0162167
Improve wording of various messages and make casing more consistent
...
This also adds the number of selected projects to the confirmation
dialog that appears before removing projects.
2019-04-21 14:37:14 +02:00
Rémi Verschelde
2226ce0fa8
Merge pull request #28248 from YeldhamDev/lineedit_clearbutton_limit
...
Fix 'LineEdit' contents not ending before the clear button if no right icon was set
2019-04-21 13:25:38 +02:00
Rémi Verschelde
36a54ffebb
Merge pull request #27577 from guilhermefelipecgs/continuation_of_27562
...
Continuation of #27562
2019-04-21 13:16:35 +02:00
Rémi Verschelde
71bbe6eb01
Merge pull request #27979 from Paulb23/remember_script_state
...
Restore script editor state between sessions
2019-04-21 13:01:43 +02:00
Rémi Verschelde
03dfac8609
Merge pull request #28093 from fire/expose_localize_rest
...
Expose localize_rests to gdscript.
2019-04-21 09:31:18 +02:00
Michael Alexsander Silva Dias
d84acb98d0
Fix 'LineEdit' contents not ending before the clear button if no right icon was set
...
Fixes #28242 .
2019-04-20 18:22:37 -03:00
Paulb23
a6562cd004
Display connection information in the script editor
2019-04-20 13:13:54 +01:00
Rémi Verschelde
f25b057846
Fix disable_3d=yes -Wunused-variable errors
2019-04-20 11:07:58 +02:00
Rémi Verschelde
b3d2584960
Merge pull request #28210 from hpvb/fix-28134
...
Object::script may not be a valid Ref<Script>
2019-04-20 10:25:39 +02:00
Hein-Pieter van Braam-Stewart
20b0046945
Object::script may not be a valid Ref<Script>
...
It appears that Object::script may be a valid ScriptInstance but not be
castable to Ref<Script>. There were only 5 places in the code that made
this assumption. This commit fixes that.
2019-04-20 02:13:28 +02:00
Juan Linietsky
04847ef5f9
Added ability for multiple images to be imported as an atlas
...
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
2019-04-19 15:56:34 -03:00
Daw11
04d0371648
Add a monitor for the orphan nodes
...
- Allow the user to keep track of the nodes that might leak
- Possible fix for #27103
2019-04-17 23:13:16 +02:00
Rémi Verschelde
6697fd9a05
Merge pull request #27821 from mawenzy/pr_sliderfix
...
Fix slider handle being hard to select
2019-04-17 09:03:30 +02:00
K. S. Ernest (iFire) Lee
48a03b514c
Expose localize_rests to gdscript.
2019-04-16 11:38:13 -07:00
Max Hilbrunner
7a0c086e45
Merge pull request #27762 from rcorre/anim_docs
...
AnimationNode* docs
2019-04-16 15:47:47 +02:00
Rémi Verschelde
f7b5fa8cf2
Merge pull request #28038 from CatThingy/area-error-fix
...
Removed unnecessary error from _area_inout
2019-04-16 10:35:29 +02:00
Michael Alexsander Silva Dias
87e42e4f66
Merge pull request #24171 from YeldhamDev/occluder_polygon_grab
...
Make OccluderPolygon2D draggable in the editor
2019-04-15 16:10:48 -03:00
CatThingy
8166f8d3c8
Removed unnecessary error from _area_inout
...
The error was previously removed from _body_inout
for the same reason. Fixes #28022 .
2019-04-15 09:19:30 -07:00
Rémi Verschelde
39c5f363f7
Merge pull request #24654 from groud/better_dragging_autoscroll
...
Enhance tree scrolling when dragging
2019-04-15 10:35:08 +02:00
Juan Linietsky
ad1368a625
Clean up ASSIMP import code.
2019-04-13 15:19:47 -03:00
Chaosus
87f87839a6
Added conditional nodes to visual shaders
2019-04-13 18:17:20 +03:00
Paulb23
6ea253aa77
Restore script editor state between sessions
2019-04-13 13:07:12 +01:00
groud
14a901e88f
Enhance tree scrolling when dragging
2019-04-12 21:58:48 +02:00
Juan Linietsky
9f4b5a91c0
Reorganized connection dialog for much improved ease of use.
...
-Removed dest path field
-Added a "Source" signal
-Added an "Advanced" button to hide complexity
-Fix bug on Tree to make sure "ensure visible" works on hidden trees
-Fix bug on TextEdit to ensure signals created with script not open sill focus the right line
2019-04-11 23:23:24 -03:00
Juan Linietsky
c1dcdf6109
No more metadata and dependency indices kept in resources saved.
...
-Node folding is now saved externally together with the properties
-External resources remember their ID when scenes are saved.
2019-04-11 14:36:58 -03:00
yakun.zhang
e5f531620e
Fix collider debug shape didn't changes with collider size changes
2019-04-11 23:31:55 +08:00
Rémi Verschelde
2feec990e7
Merge pull request #27887 from godotengine/AndreaCatania-patch-1
...
Added No bone set state in the IK
2019-04-11 09:42:56 +02:00
Rémi Verschelde
2d67eaf2c3
Merge pull request #27917 from volzhs/init_autorestart_random_delay
...
Set initial value for autorestart_random_delay of AnimationNodeOneShot
2019-04-11 09:35:23 +02:00
Rémi Verschelde
9c514c2606
Merge pull request #27895 from nekomatata/fix-animation-tree-error
...
Fix caches_cleared signal discrepancies in AnimationTree
2019-04-11 09:33:33 +02:00
Rémi Verschelde
0e7f116b52
Merge pull request #27902 from Calinou/decrease-tooltip-delay
...
Decrease the default tooltip delay to 0.5 seconds
2019-04-11 08:46:30 +02:00
volzhs
eea3bddd1d
Set initial value for autorestart_random_delay of AnimationNodeOneShot
2019-04-11 14:56:38 +09:00
Juan Linietsky
5823b5d77d
Bundled VHACD library for convex decomposition.
...
Modified both MeshInstance tools as well as importer to use it instead of QuickHull.
2019-04-10 17:47:28 -03:00
Hugo Locurcio
fa586289c6
Brighten the RichTextLabel color in the default theme
...
This makes its default color match Label's color, which leads to
a more consistent appearance.
This partially addresses #24570 .
2019-04-10 20:00:29 +02:00
Hugo Locurcio
73ad31c0fa
Decrease the default tooltip delay to 0.5 seconds
...
This matches other applications' and OS' tooltip behaviors
more closely.
2019-04-10 19:45:29 +02:00
Juan Linietsky
e33764744c
Added generator audio stream, and spectrum analyzer audio effect
...
Made AudioFrame and Vector2 equivalent for casting.
Added ability to obtain the playback object from stream players.
Added ability to obtain effect instance from audio server.
2019-04-10 12:58:06 -03:00
PouleyKetchoupp
66e07a2ec6
Fixes caches_cleared signal discrepancies in AnimationTree ( fixes #25460 )
2019-04-10 16:25:18 +02:00
Andrea Catania
f65fde73da
Added No bone set state in the IK
...
The problem is that initially the root bone was not set, and you didn't know that because the "no set" state was missing. Now I've added it. https://github.com/godotengine/godot-docs/issues/2333
2019-04-10 07:50:09 +02:00
Adam Sharp
c8d32ac29b
Added a get_rpm() function to VehicleWheel
2019-04-09 23:49:37 +01:00
Jean Dao
7240701ec9
Fix: use function in SceneTree::call_group
...
When calling call_group from C++, the function name is not passed on to
call_group_flags, resulting in first argument being mistakenly used
instead of function.
2019-04-09 22:06:33 +02:00
mawenzy
e2e8457ca6
Fix #24124 , Slider control size
2019-04-09 21:58:19 +02:00
Jeremy Bullock
36bdf78927
Allow Right Click in Empty Space on FileSystemDock
2019-04-09 11:22:14 -06:00
Rémi Verschelde
c8994b56f9
Style: Apply new changes from clang-format 8.0
...
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Ryan Roden-Corrent
584288a32c
Fill out some of the AnimationNode docs.
...
The API docs for various animation nodes are pretty empty, yet the
tutorial at
https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html
contains some details.
These details should be included in the API docs so looking up a
particular class actually provides some information rather than
requiring the user to hunt for a different tutorial.
This also links the AnimationTree tutorial and demo in the docs.
I've found the TPS demo to be the best resource so far for learning
how to use the AnimationTree. This should be easy to find if someone
looks up the AnimationTree API docs.
Finally, this fixes a param typo in AnimationNodeStateMachine.
2019-04-09 10:49:21 -04:00
Rémi Verschelde
8fb54ef19b
Merge pull request #27814 from nekomatata/transition-node-xfade
...
Fixed uninitialized xfade in AnimationNodeTransition
2019-04-09 16:46:51 +02:00
Juan Linietsky
a20235aeb0
Add ability to edit editor feature profiles
...
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08 19:18:51 -03:00
PouleyKetchoupp
dafd7768ab
Fixed uninitialized xfade in AnimationNodeTransition
2019-04-08 17:13:30 +02:00
Rémi Verschelde
918de768a5
Merge pull request #27711 from neikeq/ifdef-clang-tidy
...
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-08 12:24:30 +02:00
Kanabenki
714953b3ac
Add optional position argument for add_point in Line2D
2019-04-08 11:29:13 +02:00
Max
d9f0d9cdac
Changed autotile priority picking algorithm
2019-04-08 12:26:28 +03:00
qarmin
856a8226a5
Small fixes, mostly dupicated code
2019-04-08 11:03:37 +02:00
Alexey Kashlakov
c7fbc63cc2
Reset button state on exit tree
...
Steps to reproduce a bug:
1) Hold / hover the button
2) Remove it (or parent node) from the tree
3) When we return the button back to the tree, it's pressed / hover
2019-04-08 15:11:07 +07:00
Rémi Verschelde
de33c37196
Merge pull request #27565 from SpechtMagnus/tileset_autotile_ignore_flags
...
Added ignore flag / wildcard bit to tileset autotile
2019-04-08 10:04:30 +02:00
Magnus Specht
a3af9d5714
+ Added ignore flags to autotile bitmask
...
+ Added ignore functionality to tileset editor
+ Updated tileset editor autotile tooltip
+ Autotile ignore bits are processed and rendered correctl
2019-04-08 00:41:05 +02:00
PouleyKetchoupp
cb3842833a
Early exit when nothing to draw in style box flat ( fixes #27764 )
2019-04-07 22:23:44 +02:00
Rémi Verschelde
3dabe862af
Merge pull request #26164 from Chaosus/vshader_improvements
...
Major update for visual shader system
2019-04-07 14:24:23 +02:00
Rémi Verschelde
5586e473b5
Merge pull request #27734 from Hendrikto/cleanup
...
Remove unused imports
2019-04-07 12:38:07 +02:00
Rémi Verschelde
f4f244ed4e
Merge pull request #27156 from BastiaanOlij/add_height_map_shape
...
Added height map shape that implement heightmap collision shape
2019-04-07 11:10:21 +02:00
Rémi Verschelde
35f06eb437
Merge pull request #25630 from BastiaanOlij/arvr_positional_mesh
...
Added a mesh interface to the arvr positional trackers
2019-04-07 11:09:21 +02:00
Chaosus
5fd671b8a7
Major improvements for visual shader system
2019-04-07 08:17:38 +03:00
Rémi Verschelde
f1dc158ebd
Merge pull request #27602 from YeldhamDev/tileset_emptypoly_crash_fix
...
Fix crash when using the Tileset Editor when the given shape has no points
2019-04-06 20:51:38 +02:00
Timo
1c178da72c
Merge pull request #26609 from nekomatata/shadow_offset
...
Support for shadow offset in box style
2019-04-06 19:36:57 +02:00
Rémi Verschelde
3b697ce8d5
Merge pull request #26486 from marxin/fix-Wdeprecated-copy
...
Fix new GCC 9 warnings: -Wdeprecated-copy.
2019-04-06 18:21:18 +02:00
Hendrikto
49a81308c0
Remove unused imports
2019-04-06 18:05:05 +02:00
Ignacio Etcheverry
2f3328a039
Fix wrong method binds and registered class
2019-04-06 16:12:59 +02:00
Rémi Verschelde
2db0613fb0
Merge pull request #25624 from nekomatata/texture-rect-flip
...
Add ability to flip TextureRect horizontally or vertically
2019-04-06 13:15:01 +02:00
Michael Alexsander Silva Dias
c7cfe5330c
Make 'ConvexPolygonShape2D' start empty, so it's consistent with other shapes.
2019-04-05 21:33:03 -03:00
Rémi Verschelde
7ca9863079
Merge pull request #23837 from fire/asset_import
...
Add Open Asset Importer to Godot.
2019-04-06 00:12:46 +02:00
Ignacio Etcheverry
ad2127a3e8
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-05 23:41:51 +02:00
Guilherme Felipe
dbda5b6700
Continuation of #27562
...
[AnimationTree] Fix scale interpolation
2019-04-05 15:41:37 -03:00
Rémi Verschelde
50ef456c78
Merge pull request #26803 from ptrojahn/emptynode
...
Make get_node return NULL for empty NodePaths
2019-04-05 16:55:42 +02:00
Rémi Verschelde
963165065d
Merge pull request #26914 from xDGameStudios/popup_menu_add_item
...
Fixed optional idx argument in add_item (PopupMenu)
2019-04-05 16:49:19 +02:00
K. S. Ernest (iFire) Lee
e3ef7f214a
Add Open Asset Import Library to Godot.
...
FBX support and MMD (pmx) support.
Normals, Albedo, Metallic, and Roughness through Arnold 5 Materials for Maya FBX.
Maya FBX Stingray PBS support.
Importing FBX static meshes work.
Importing FBX animations is a work in progress.
Supports FBX 4 bone influence animations.
Supports FBX blend shapes.
MMDs do not have an associated animation import yet.
Sponsored by IMVU Inc.
2019-04-05 07:17:52 -07:00
Rémi Verschelde
a61ad365f5
Merge pull request #27677 from akien-mga/Wimplicit-fallthrough
...
Fix -Wimplicit-fallthrough warnings from GCC 8
2019-04-05 16:12:45 +02:00
Rémi Verschelde
9d4093a21d
Merge pull request #27153 from YeldhamDev/animsprite_backwards
...
Make AnimatedSprite able to play backwards
2019-04-05 15:47:30 +02:00
Rémi Verschelde
434b73bc57
Merge pull request #27240 from Chaosus/clear_line_points
...
Added method to clear all points in Line2D
2019-04-05 15:44:14 +02:00
Rémi Verschelde
b2fcb40522
Merge pull request #27233 from Chaosus/tween_signal
...
Added signal for Tween emitted at full completion
2019-04-05 15:42:18 +02:00
Juan Linietsky
19a6a6286a
Ability to make CanvasLayers have pseudo 3D depth.
2019-04-05 10:25:51 -03:00
Rémi Verschelde
fc370b3feb
Fix -Wimplicit-fallthrough warnings from GCC 8
...
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135 .
2019-04-05 15:14:53 +02:00
Rémi Verschelde
4011429e57
Merge pull request #27683 from Xrayez/fix-bitmap-true-bit-count
...
Fix BitMap calculating incorrect true bit count
2019-04-05 14:40:49 +02:00
Mariano Javier Suligoy
bfc3ba5af0
Merge pull request #27365 from Byteron/tile_map_negative_offset
...
TileMap, negative Y and X Offset
2019-04-05 09:24:32 -03:00
Aaron Winter
63e0fd7675
added negative X and negative Y offset to TileMap
...
clang-format
added negative X and negative Y offset to TileMap
2019-04-05 10:37:35 +02:00
Jared
307bc16523
Light2D height range expanded to -2048 to 2048.
2019-04-05 07:44:05 +03:00
Michael Alexsander Silva Dias
24137f423a
Make brackets only be inserted when necessary when autocompleting methods
2019-04-04 23:06:44 -03:00
qarmin
8460d0678c
Small fixes to static analyzer bugs
2019-04-04 22:00:16 +02:00
Andrii Doroshenko (Xrayez)
b16946dea6
Fix BitMap calculating incorrect true bit count
2019-04-04 19:11:39 +03:00
Rémi Verschelde
d9b9c9f98a
Merge pull request #27567 from Calinou/selection-boxes-use-accent-color
...
Use the editor theme's accent color for 2D/3D selections and rotations
2019-04-04 17:45:01 +02:00
Rémi Verschelde
3a7a1cd4c9
Merge pull request #27596 from mo7sener/master
...
Fix: RichTextLabel Crash - meta_hover_ended
2019-04-04 17:27:34 +02:00
Juan Linietsky
a18989602b
Clean up notifications and merge Node and MainLoop ones for clarity, closes #27614
2019-04-04 10:34:41 -03:00
Angeloss
40acc3ecdc
Fix: Keep custom tracks option now keeps animation loop property and value track update mode.
...
(cherry picked from commit 589c5698a0
)
2019-04-03 16:59:34 +02:00
PouleyKetchoupp
43bd28bc14
Option for BaseButton to keep button down when moving the pointer outside while pressed
2019-04-03 14:19:33 +02:00
PouleyKetchoupp
8b84638322
Add ability to flip TextureRect horizontally or vertically
2019-04-03 13:05:29 +02:00
Chaosus
a19e99aacb
Added signal for Tween emitted at completion
2019-04-03 10:35:26 +03:00
marxin
f9f2413e69
Fix -Wnon-virtual-dtor warnings.
...
Example of the warning:
./core/script_language.h:198:7: warning: 'class ScriptCodeCompletionCache' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
2019-04-02 14:07:29 +02:00
Robear Selwans
84dfb3ff2d
Fixed an issue where changing the default_cursor on the RichTextLabel's meta_hover_ended caused the entire project to crash
2019-04-02 13:59:38 +02:00
Rémi Verschelde
9b691718f5
Merge pull request #27557 from Paulb23/deselect_line_edit_clear
...
Fixed not deselecting when clearing lineedit.
2019-04-01 17:01:45 +02:00
Rémi Verschelde
e91844e8dc
Merge pull request #27562 from guilhermefelipecgs/fix_27484
...
Fix wrong blend of animation tree
2019-04-01 16:38:55 +02:00
Rémi Verschelde
f6bbb08ae1
Merge pull request #27080 from YeldhamDev/tilemap_remove_rect_dirty
...
Make size cache dirty when removing tiles in 'TileMap'
2019-04-01 10:08:49 +02:00
Hugo Locurcio
d59b210aec
Use the editor theme's accent color for 2D/3D selections and rotations
2019-03-31 23:54:46 +02:00
Guilherme Felipe
45d97b9860
Fix wrong blend of animation tree
...
Interpolation cannot use zero values, must use the values from the
animation to be blended.
2019-03-31 17:12:24 -03:00
Paulb23
bfba1e36bc
Fixed not deselecting when clearing lineedit.
2019-03-31 16:32:24 +01:00
Pedro J. Estébanez
5b00cd89d3
Drop mouseover when mouse not in the window
...
Not that this is critical, but it makes behavior of GUI and 2D/3D picking consistent among them.
This also contributes to dropping GUI focus when the mouse leaves the window (in addition to when it loses focus).
2019-03-30 00:26:16 +01:00
Pedro J. Estébanez
e3fc5fb1db
Fix Viewport and Camera issues
...
1. Consider 'own_world' as well as 'world' to stop propagating enter/exit world notifications.
2. Clean & fix handling of camera currency.
This fixes some random crashes and error logs in the editor; namely
- when enabling/disabling own world in a Viewport;
- when switching back from a subscene displayed into a main scene's Viewport;
- when exiting the editor after any of them;
- memory corruption (can that explain certain other seemingly unrelated crash reports?).
This also fixes situations where a Viewport and its main Camera get out of sync about which World is relevant to them.
2019-03-30 00:25:26 +01:00
Rémi Verschelde
64737c735b
Merge pull request #27200 from piyushdagar/new
...
Fixed CollisionObject signals do not trigger on Area
2019-03-27 17:09:02 +01:00
Rémi Verschelde
1b4204fd76
Merge pull request #27162 from guilhermefelipecgs/fix_26540
...
StateMachine: Fix sync mode
2019-03-27 17:01:28 +01:00
Rémi Verschelde
e02c7612e5
Merge pull request #27088 from fire/scaling_texture_button_focus
...
Fix scaling issue for texture button focus texture.
2019-03-27 16:55:07 +01:00
Rémi Verschelde
04c6347856
Merge pull request #27017 from qarmin/fix_inspector_update
...
Fix inspector update after changing anchor from buttons
2019-03-27 16:53:58 +01:00
Daniel Rakos
6dd65c0d67
KinematicBody performance and quality improvements
...
With this change finally one can use compound collisions (like those created
by Gridmaps) without serious performance issues. The previous KinematicBody
code for Bullet was practically doing a whole bunch of unnecessary
calculations. Gridmaps with fairly large octant sizes (in my case 32) can get
up to 10000x speedup with this change (literally!). I expect the FPS demo to
get a fair speedup as well.
List of fixes and improvements:
- Fixed a general bug in move_and_slide that affects both GodotPhysics and
Bullet, where ray shapes would be ignored unless the stop_on_slope parameter
is disabled. Not sure where that came from, but looking at the 2D physics
code it was obvious there's a difference.
- Enabled the dynamic AABB tree that Bullet uses to allow broadphase collision
tests against individual shapes of compound shapes. This is crucial to get
good performance with Gridmaps and in general improves the performance
whenever a KinematicBody collides with compound collision shapes.
- Added code to the broadphase collision detection code used by the Bullet
module for KinematicBodies to also do broadphase on the sub-shapes of
compound collision shapes. This is possible thanks to the dynamic AABB
tree that was previously disabled and it's the change that provides the
biggest performance boost.
- Now broadphase test is only done once per KinematicBody in Bullet instead of
once per each of its shapes which was completely unnecessary.
- Fixed the way how the ray separation results are populated in Bullet which
was completely broken previously, overwriting previous results and similar
non-sense.
- Fixed ray shapes for good now. Previously the margin set in the editor was
not respected at all, and the KinematicBody code for ray separation was
complete bogus, thus all previous attempts to fix it were mislead.
- Fixed an obvious bug also in GodotPhysics where an out-of-bounds index was
used in the ray result array.
There are a whole set of other problems with the KinematicBody code of Bullet
which cost performance and may cause unexpected behavior, but those are not
addressed in this change (need to keep it "simple").
Not sure whether this fixes any outstanding Github issues but I wouldn't be
surprised.
2019-03-27 00:39:47 +01:00
lupoDharkael
6232e7eed3
Add missing methods to Rect2i
...
Replace inline with _FORCE_INLINE_ in short methods.
Remove unused and redundant method no_area() as we already have has_no_area().
Add grow_individual() grow_margin() and expand() to Rect2i.
2019-03-21 17:35:01 +01:00
Daeil Kim
24b7f08892
Ensure non-emitting particles not processed on entering tree
...
Also removed non-active CPUParticles(3d) from render list
Fixes #27066
2019-03-20 21:54:00 +09:00
qarmin
8b391b9ab0
Fix inspector update after changing anchor via buttons
2019-03-19 18:37:28 +01:00
Chaosus
61b22beeae
Added method to clear all points in Line2D
2019-03-19 20:32:10 +03:00
PouleyKetchoupp
8346d90c5e
Properly handle different border widths in rounded corner aa
...
Note: removed (unused and not implemented) support for multiple border colors
2019-03-19 11:51:32 +01:00
PouleyKetchoupp
cb097283db
Support for shadow offset in box style
2019-03-19 10:35:06 +01:00
Kanabenki
3f64215a43
Add missing check for 2d physics bounce and friction setters
...
The override check was already present for 3d physics but missing for 2d
2019-03-18 15:30:26 +01:00
Michael Alexsander Silva Dias
de04003d3f
Offset items in PopupMenu when Icons and Checks are present
2019-03-18 10:10:19 -03:00
piyushdagar
d7387e8a68
Fixed CollisionObject signals do not trigger on Area
2019-03-18 13:56:40 +05:30
Guilherme Felipe
d35eae166c
StateMachine: Fix sync mode
2019-03-17 10:12:27 -03:00
Bastiaan Olij
8627f1515b
Added height map shape that implement heightmap collision shape
2019-03-17 20:55:40 +11:00
Michael Alexsander Silva Dias
4a2c433028
Make AnimatedSprite able to play backwards
2019-03-17 04:03:23 -03:00
Rémi Verschelde
43f147b5aa
Merge pull request #26308 from bojidar-bg/11722-meshlibrary-transforms
...
Consider StaticBody and NavMesh position when converting to a MeshLibrary
2019-03-16 11:15:15 -07:00
Rémi Verschelde
39a5bb4fbc
Merge pull request #26459 from ptrojahn/eof
...
Remove extraneous line breaks from text resources
2019-03-16 11:12:35 -07:00
Rémi Verschelde
67764bff64
Merge pull request #26788 from mo7sener/master
...
RichTextLabel: Adding the ability to change the default cursor
2019-03-16 11:08:29 -07:00
K. S. Ernest (iFire) Lee
1971c09e5e
Fix scaling issue for texture button focus texture.
2019-03-15 01:55:50 -07:00
Michael Alexsander Silva Dias
be5f35dfa0
Make size cache dirty when removing tiles in 'TileMap'
2019-03-15 00:58:30 -03:00
Rémi Verschelde
775e74e0d4
Merge pull request #26484 from Andrettin/Configurable-Tooltip-Offset
...
Make the Tooltip Position Offset Configurable
2019-03-13 20:12:22 +01:00
merumelu
db8f26c8e5
AudioStreamSample: Don't crash when writing to file fails
2019-03-12 15:51:07 +01:00
xDGameStudios
ffc5f360e8
Fixed optional idx argument in add_item (OptionMeny & PopupMenu)
2019-03-11 11:54:12 +00:00
Rémi Verschelde
59aa79f218
Merge pull request #26867 from bojidar-bg/26816-graphnode-title
...
Fix cursor going to start while editing GraphNode's title
2019-03-10 11:50:49 +01:00
Bojidar Marinov
964152ed71
Fix cursor going to start while editing GraphNode's title
...
Fixes #26816
2019-03-10 12:22:15 +02:00
Rémi Verschelde
7052ddd706
Merge pull request #26859 from JFonS/fix_cpuparticles_resetting
...
Fix resetting of CPUParticles (2D and 3D)
2019-03-10 11:09:36 +01:00
JFonS
c13ac398f6
Fix resetting of CPUParticles (2D and 3D)
2019-03-10 00:33:08 +01:00
Rémi Verschelde
bba854bac6
Merge pull request #26851 from RandomShaper/fix-26460-fake-event-flood
...
Fix fake null-motion mouse event flood
2019-03-09 22:40:53 +01:00
Pedro J. Estébanez
f757460ec8
Fix fake null-motion mouse event flood
...
This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit.
Fixes #26460 .
2019-03-09 22:04:17 +01:00
Gilles Roudière
ede5306d7c
Fixes UI navigation with joysticks
2019-03-09 21:09:20 +01:00
Paul Trojahn
8851e16f75
Support UTF-8 in TextEdit and LineEdit navigation
...
This allows jumps over whole non ASCII words with Ctrl+Left/Right in
a LineEdit or TextEdit.
Fixes #25681
2019-03-09 20:08:40 +01:00
Rémi Verschelde
362b42787b
Merge pull request #26784 from humblers/fix-cpuparticles2d
...
Prevent invisible/inactive cpupparticles2d to redraw
2019-03-09 16:28:34 +01:00
Daeil Kim
1edc2134c9
Prevent invisible/inactive cpuparticles to redraw(3d)
2019-03-09 10:50:44 +09:00
Paul Trojahn
97e8c88ce7
Make get_node return NULL for empty NodePaths
...
Fixes #25292
2019-03-08 21:31:36 +01:00
Robear Selwans
b852a7a854
Added the ability to change the default cursor property for the RichTextLabel component.
2019-03-08 13:33:34 +02:00
Daeil Kim
608af1a786
Prevent invisible/inactive cpupparticles2d to redraw
2019-03-08 16:05:00 +09:00
Gilles Roudière
a6c229bbfd
Fixes bad gizmo alignment for textures with odd size
2019-03-07 21:05:23 +01:00
Rémi Verschelde
e28e849012
Merge pull request #21534 from volzhs/fix-scrollcontainer-size
...
Precise size calculation of ScrollContainer
2019-03-07 14:19:43 +01:00
Juan Linietsky
06dbeab5d4
No longer crash due to wrongly requesting a gizmo, fixes #26735
2019-03-07 09:26:49 -03:00
Juan Linietsky
34a29cb0de
Merge pull request #26669 from RandomShaper/fix-26460
...
Improve/fix picking
2019-03-06 13:55:01 -03:00
Juan Linietsky
3d34df0e79
Hide StreamTexture flags, fixes #26640
2019-03-06 12:50:24 -03:00
Juan Linietsky
5f079e2ef9
-Make tileset and meshlibrary edit in a separate inspector, fixes #26671
...
-Made relationship lines appear based on theme settings, not previous hack
-Fix drawing of relationship lines (was broken)
-Fix double initialization of theme settings
2019-03-06 12:12:42 -03:00
Rémi Verschelde
4ab4ff67ff
Merge pull request #26642 from DrMoriarty/check_cursor_line
...
Check cursor line and column
2019-03-05 22:57:55 +01:00
Pedro J. Estébanez
82902656ac
Improve/fix picking
...
Acknowledge mouse button events as position tellers (to make picking more solid; for instance, the touch mouse is raised with a mouse unpressed event that may have a more current position)
Forget mouse position for physics if touch mouse raised (because the position known as last is no longer meaningful)
Remove needless check for mouse over/exit (now there's code to inject an spurious move for cases where camera/objects have moved)
Restrict 2D mouse over/exit to mouse events (including emulated from touch; true touches shouldn't trigger the signals)
Fixes #26460 .
2019-03-05 22:33:34 +01:00
Rémi Verschelde
12fefc1a6c
Merge pull request #26638 from KoBeWi/fix_audio_stream_player
...
Pause AudioStreamPlayer on SceneTree pause
2019-03-05 16:58:40 +01:00
Vasiliy Makarov
a3d9b7d916
Check cursor line and column
...
Added a trivial check if cursor.line and cursor.column are valid.
Fix #26245
2019-03-05 18:27:37 +03:00
Tomasz Chabora
4f840168d2
Pause AudioStreamPlayer on SceneTree pause
2019-03-05 15:04:29 +01:00
Michael Alexsander Silva Dias
a292d1fefb
Fix general issues with filesystem-related UI components in the editor
2019-03-05 10:12:06 -03:00
Mariano Suligoy
078b869d9a
TileSet/TileMap: Decompose solid non-convex polygons into convexes. Real fix for #24003
2019-03-04 21:03:10 -03:00
Juan Linietsky
53bec9deeb
Fix and restore text, material and mesh previewers.
2019-03-04 15:53:18 -03:00
Juan Linietsky
03cafd4895
Update focus mask only if there is a focused control, fixes #26524
2019-03-04 10:26:48 -03:00
Juan Linietsky
9dd9737cb4
Warn about plane shape usage, closes #26503
2019-03-04 10:12:03 -03:00
Juan Linietsky
4f041d3afa
Specifically error when users try to use sync to physics and move and slide, closes #26545
2019-03-04 09:53:02 -03:00
Rémi Verschelde
4da21d1ce1
Merge pull request #26511 from clayjohn/giprobe_gles2_warning
...
Add warning to GIProbe when using GLES2
2019-03-04 09:40:20 +01:00
clayjohn
d566c5b75e
add warning to GIProbe when using GLES2
2019-03-03 11:26:08 -08:00
Juan Linietsky
0b7f20c7ed
Fixed missing exclude raycast shapes arguments in snap, closes #25230
2019-03-03 16:10:10 -03:00
Juan Linietsky
6b8b1cabae
Add a warning when using plain Container, as many users seem to misunderstand what this is.
2019-03-03 16:00:56 -03:00
Juan Linietsky
2f32a75d2e
Skeletons can now choose between using local or world coords for processing, fixes #26468
2019-03-03 12:24:00 -03:00
Rémi Verschelde
88e0bed081
Merge pull request #26514 from clayjohn/hide_properties_gles2
...
Hide hdr and shadow_contact in gles2
2019-03-03 13:43:43 +01:00
Rémi Verschelde
467f18b738
Fix style issues from recent commits
2019-03-03 12:45:20 +01:00
clayjohn
95837049e8
hide hdr and shadow_contact in gles2
2019-03-02 19:01:26 -08:00
Juan Linietsky
c00429c33b
Removed some prints
2019-03-02 12:15:48 -03:00
Juan Linietsky
1b8f56c099
Clean up and fix some situations where triangulation may fail, closes #26366
2019-03-02 12:04:24 -03:00
Juan Linietsky
90038a4eef
Fixed a case of broken loop due to wrapping on the edge, closes #25245
2019-03-02 11:07:13 -03:00
marxin
6be77da7eb
Fix new GCC 9 warnings: -Wdeprecated-copy.
2019-03-02 14:37:02 +01:00
Juan Linietsky
b84b015225
Make query checks less agressive, fixes #24694
2019-03-02 08:48:47 -03:00
Andrettin
30c07c1ae1
Made the tooltip position offset configurable
2019-03-02 12:11:42 +01:00
Paul Trojahn
9bbda4db2f
Remove extraneous line breaks from text resources
...
Fixes #23539
2019-03-01 23:02:58 +01:00
Juan Linietsky
4b679f7f16
Remove old method that makes no sense today, fixes #25566
2019-03-01 18:02:45 -03:00
Juan Linietsky
51b80f6857
Fixed some crashers, closes #26393
2019-03-01 17:24:57 -03:00
Rémi Verschelde
03862d43ad
Merge pull request #26441 from QbieShay/fix_sigill_when_no_parent_escn
...
Engine does not crash anymore if a non root node in escn is missing a parent.
2019-03-01 20:18:59 +01:00
Rémi Verschelde
994bdc9adc
Merge pull request #26140 from karliss/meta-item
...
Use correct meta item in rich text.
2019-03-01 18:16:27 +01:00
Ilaria Cislaghi
9d41ee71f6
Editor does not crash anymore if a non root node in escn is missing a parent
2019-03-01 14:38:02 +01:00
Justin Vesper
079ed007c8
Fixed wrong method binding in control
...
Control.get_parent_area_size() is now bound to
Control::get_parent_area_size() instead of Control::get_size()
2019-03-01 14:16:19 +01:00
clayjohn
9fdc77c222
added diffuse and specular as inputs to visual shader
2019-02-28 22:02:06 -08:00
Rémi Verschelde
ed37408907
Merge pull request #26257 from kaadmy/procedural_sky_sun_energy
...
Use sun energy for ProceduralSky generation
2019-02-27 21:42:28 +01:00
Rémi Verschelde
ce615c1a82
Merge pull request #26352 from bojidar-bg/21633-progress-stylebox
...
Fix minimum size of ProgressBar-s
2019-02-27 17:19:01 +01:00
Bojidar Marinov
a7b564db6e
Fix minimum size of ProgressBar-s
...
Was a leftover from 0a1c1c660f
.
Fixes #21633 .
2019-02-27 15:56:49 +02:00
Rémi Verschelde
426a6fdc17
Merge pull request #26134 from marxin/fix-Wsign-compare
...
Fix -Wsign-compare warnings.
2019-02-27 09:22:47 +01:00
Rémi Verschelde
0ba75c195e
Fix GCC 5 build after #26331 and cleanup style
...
Also cleanup after 01a3dd3
.
2019-02-27 09:01:24 +01:00
marxin
e5f665c718
Fix -Wsign-compare warnings.
...
I decided to modify code in a defensive way. Ideally functions
like size() or length() should return an unsigned type.
2019-02-27 07:45:57 +01:00
Hein-Pieter van Braam
464e1142c4
Don't crash on previewing an AtlasTexture without a region
2019-02-27 00:44:09 +00:00
Bojidar Marinov
1a397a7878
Consider StaticBody and NavMesh position when converting to a MeshLibrary
...
Would have added mesh transform, but realized that will cause problems when moving the mesh around the scene for visualization purposes.
Closes #11722
2019-02-26 15:38:23 +02:00
Juan Linietsky
3299045988
Remove setting that caused is_inside_tree() errors on doppler tracking enabled.
2019-02-26 09:16:23 -03:00
Windy Darian
52538b200f
Fix saturate ScalarFunc in Visual Shader
...
Was getting this error when using a saturate node. This change fixes it.
```
:39 - Invalid arguments for built-in function: max(float,int)
drivers\gles3\rasterizer_storage_gles3.cpp:2150 - Condition ' err != OK ' is true.
```
2019-02-25 23:30:03 -05:00
Juan Linietsky
a32b26dfa2
Several fixes to make GLES2 on HTML5 work much better.
...
Changed math class error reporting to be a bit less paranoid.
2019-02-25 21:47:29 -03:00
Bojidar Marinov
8dad5f1e10
Update controls when a stylebox or icon override changes; change to CONNECT_REFERENCE_COUNTED
...
Also, cleanup unnessesary calls to update() and NOTIFICATION_THEME_CHANGED.
Fixes #25904 .
2019-02-25 17:42:38 +02:00
will
eb9c92f996
ColorPicker: New properties to toggle the editability and visibility of presets
2019-02-24 23:16:56 -06:00
Juan Linietsky
74d0ed2236
Many separate fixes to ensure non power of 2 textures work on GLES2, closes #25897 and many others
2019-02-24 22:36:53 -03:00
KaadmY
bffe97c110
Use sun energy for ProceduralSky generation
2019-02-24 17:12:35 -08:00
Hein-Pieter van Braam
a83e77fded
Explicitly use floating point numbers in the our shaders
...
We need to be explicit about using floating point numbers in our shaders
for compatibility with mobile GLES drivers.
2019-02-24 23:35:10 +00:00
Juan Linietsky
3ea04c1366
Prevent circular references to scene being saved, fixes #24384
2019-02-24 10:48:38 -03:00
Juan Linietsky
bfa9be85d3
Remove copy and use instance material override in gizmos, fixes #23783
2019-02-23 20:20:54 -03:00
Juan Linietsky
6cd4006fb3
Do not crash on empty path, closes #23701
2019-02-23 20:07:16 -03:00
Juan Linietsky
fd68bb2596
-Treat scalar conversions when calling functions as error, closes #24261
...
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
2019-02-23 17:55:09 -03:00
Juan Linietsky
9dfe3b6d9e
Ensure move and slide snap respects stop on slope, fixes #26180
2019-02-23 10:24:21 -03:00
Rémi Verschelde
a291c837f0
Merge pull request #26157 from YeldhamDev/splitcont_update_check
...
Make 'SplitContainer' update drawing only if actually needs to
2019-02-23 10:36:09 +01:00
Juan Linietsky
4f697f73a5
Change MAX for MIN, fixes #26170
2019-02-22 21:19:31 -03:00
Juan Linietsky
7f63b0e8cd
Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
...
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Juan Linietsky
aab8f443f9
-Support DEPTH_TEXTURE in GLES2, fixes #25106
...
-Fix use of transparent framebuffers in GLES2
-Fix use of ambient color clearing in GLES2 when no environment exists.
2019-02-22 11:35:39 -03:00
Michael Alexsander Silva Dias
52abab5aa7
Make 'SplitContainer' update drawing only if actually needs to
2019-02-22 10:12:39 -03:00
Juan Linietsky
edbf1d0ea4
Check that area is inside tree besides checking that queries are flushed, fixes #26148
2019-02-22 09:05:34 -03:00