George Marques
03746da73f
Add editor highlight for type-safe lines
...
The line number is hightlighted to indicate that the line contains only
type-safe code.
2018-07-20 21:55:18 -03:00
Juan Linietsky
336db8bcd1
-Fix tooltips in inspector, now they show as rich text.
2018-07-20 18:16:19 -03:00
Marcelo Fernandez
9b9949de39
Print an error when calling an invalid method on an Animation
2018-07-18 22:26:01 -03:00
Juan Linietsky
43dc050947
Several improvements to editor inspector usability and style
2018-07-18 19:37:41 -03:00
Pedro J. Estébanez
49d0af3c8e
Fix CanvasItem search for a CanvasLayer
...
This fixes the situation where a `CanvasItem` descendant of a `Viewport` which in turn is a descendant of a `CanvasLayer` prefers the more outer `CanvasLayer` rather than the `Vierport`'s.
Because of that, `CanvasItem`s inside a `Viewport` inside a `CanvasLayer` were being rendered to the main `Viewport` instead of the render target of the innermost one.
2018-07-18 20:34:21 +02:00
Juan Linietsky
d1550b4a9b
Ability to disable scale in nodes, closes #19927
2018-07-18 13:48:09 -03:00
Rémi Verschelde
7c9f7452f4
Style: Format code with clang-format 6.0.1
2018-07-18 16:27:03 +02:00
Rémi Verschelde
13239cd4cc
Export: Properly reload preset when opening dialog
...
Fixes #20119 where newly installed templates were not detected.
Also fix a bug with preset deletion where it would attempt to
edit an already removed preset. For this I made it so that
ItemList::deselect_all() also resets `current` to -1, as a manual
ItemList::deselect(idx) already does.
2018-07-18 13:49:34 +02:00
Rémi Verschelde
bd9b8098fe
Merge pull request #20140 from EIREXE/ambient_light_disable_shader
...
Add disable ambient light flag to shaders and materials
2018-07-18 10:39:20 +02:00
Rémi Verschelde
5b7ebf4d04
Merge pull request #20232 from marcelofg55/fix_enums_vs
...
Fix some missing BIND_ENUM_CONSTANT for visual_shader_nodes.cpp
2018-07-18 09:01:03 +02:00
Marcelo Fernandez
e4db15471b
Fix some missing BIND_ENUM_CONSTANT for visual_shader_nodes.cpp
2018-07-17 18:31:22 -03:00
Alex Roman
2ce1118faa
Add disable ambient light flag to shaders and materials
2018-07-17 21:30:43 +02:00
volzhs
adb179154a
Fix Label autowrap clips text
2018-07-18 02:19:05 +09:00
Max Hilbrunner
707175eda8
Merge pull request #19044 from Mintormo/make_header_fix
...
Added support of Python 3 in make_header.py
2018-07-17 15:12:49 +02:00
Max Hilbrunner
b64bf118f1
Merge pull request #19087 from danvalho/master
...
SpriteFrames: expose method to get array containing animation names
2018-07-17 14:54:06 +02:00
Rémi Verschelde
f71ffa9724
Merge pull request #20146 from dodgyville/bezier_fixes_19777
...
fix issue with bezier tracks using incorrect duration for interpolating values
2018-07-17 14:43:47 +02:00
Juan Linietsky
13a801430b
Further fixes to KinematicBody2D API, support for sync motion in moving objects
2018-07-17 08:58:04 -03:00
Rémi Verschelde
95d99cb2ac
Merge pull request #20176 from Chaosus/vs_namefixes
...
Several name fixes for visual shaders
2018-07-17 13:54:22 +02:00
Max Hilbrunner
adec9c3168
Merge pull request #20150 from ibrahn/fix-scrollbar-atlas
...
fix scrollbar icons with atlas texture.
2018-07-17 12:15:22 +02:00
Max Hilbrunner
1f1b45c7ec
Merge pull request #20191 from jvdnbus/line2d-stretch
...
Line2D texture stretch mode
2018-07-17 12:12:29 +02:00
Juan Linietsky
e1f2feec2e
Changes to how snap works (I think this makes more sense now)
2018-07-16 21:30:44 -03:00
Juan Linietsky
063a22851a
-Added support for raycast in KinematicBody2D
...
-Added support for snapping in KinematicBody2D
2018-07-16 20:04:07 -03:00
Jorn Van denbussche
d7aa3e33c8
Line2D texture stretch mode
...
Prototype for stretching the texture across the whole line.
Fixed end cap tile mode.
2018-07-16 23:16:58 +02:00
Juan Linietsky
de910f8c26
Finally figured out how to implement AnimatedTexture properly.
2018-07-16 11:43:49 -03:00
Thomas Herzog
9eb082004d
Merge pull request #20034 from Faless/master_fixes
...
Fix server and GDNative in master branch
2018-07-16 15:50:30 +02:00
Jorn Van denbussche
28aa9a1d6d
More accurate UV round begin cap
2018-07-16 14:30:30 +02:00
Chaosus
3af81427a1
Several name fixes for visual shader
2018-07-15 17:28:06 +03:00
Juan Linietsky
f6ce73f724
Visual Shaders are back.
2018-07-14 18:16:18 -03:00
Ibrahn Sahir
e51a94905d
fix scrollbar icons with atlas texture.
...
Draw scrollbar icons through their textures, rather than calling
directly to the server. Allows atlas textures to manipulate the source
rect as required.
2018-07-14 14:02:08 +01:00
Luke Miller
7298a746ce
fix issue with bezier tracks using incorrect duration for interpolating values
2018-07-14 11:48:40 +10:00
Ibrahn Sahir
fb32adfcf8
fixed a branch on uninitialised data in gui/tree
...
I don't think it was really causing any harm, but this makes things a
little more explicit and helps clean up valgrind output.
2018-07-13 14:00:10 +01:00
Max Hilbrunner
cc57b62ab3
Merge pull request #20068 from Xrayez/submenu-popup-delay
...
Add ability to set submenu's popup delay time on mouse hovering
2018-07-12 05:27:49 +02:00
Max Hilbrunner
118d4f3115
Merge pull request #19540 from muiroc/cylinder
...
Cylinder resource and collision shape (bullet only)
2018-07-12 05:09:37 +02:00
Marcelo Fernandez
0c78a58b64
Fix possible bug with AudioStreamPlayer2D audio position
2018-07-10 22:57:50 -03:00
Alexander Holland
bf3c81f20b
fix ColorPickerButton.get_popup()
2018-07-10 15:06:36 +02:00
Max Hilbrunner
41ff975b8c
Merge pull request #20014 from Chaosus/scrollable
...
Added scrollable property for sliders
2018-07-10 13:31:09 +02:00
Marcelo Fernandez
087329074d
Improved stream paused fade code
2018-07-09 21:58:33 -03:00
Andrii Doroshenko (Xrayez)
e3b77b24ac
Add ability to set submenu's popup delay time on mouse hovering
...
This allows to set delay time for the submenu to popup. Setting
this value low can increase responsiveness. If the popup menu is added
as a child of another (acting as a submenu), it will inherit the delay
time of the parent menu item.
2018-07-09 18:37:41 +03:00
Fabio Alessandrelli
d4465fce43
Fix some enum export in new Animation editor.
2018-07-08 10:24:21 +02:00
Juan Linietsky
ea47359408
Add option to convert Particles to CPUParticles
2018-07-07 09:04:22 -03:00
Chaosus
dbd5afc498
Added scrollable property to Sliders
2018-07-07 13:48:34 +03:00
Juan Linietsky
7dcaabaf19
Support for CPU based particles, which aids compatibility with OpenGL ES 2.0
2018-07-06 20:21:42 -03:00
Max Hilbrunner
9f82368d40
Merge pull request #19475 from YeldhamDev/animplayer_cosmetic
...
Minor changes to the AnimationPlayer editor
2018-07-05 04:25:04 +02:00
Max Hilbrunner
c488a74e0c
Merge pull request #19498 from guilhermefelipecgs/fix_regression
...
Fix "find and replace" initializing with wrong size
2018-07-05 04:23:18 +02:00
Max Hilbrunner
ed61bdd2ae
Merge pull request #19646 from chanon/fix-audiostream-cant-set-null-stream
...
Fix can't set AudioStreamPlayer stream to null
2018-07-05 04:16:47 +02:00
Max Hilbrunner
16f1a77319
Merge pull request #19735 from Paulb23/text_offset_issue_15688
...
Fixed text drawing too high in TextEdit, issue 15688
2018-07-05 04:04:39 +02:00
Max Hilbrunner
43748f67be
Merge pull request #19351 from guilhermefelipecgs/fix_reversed_text
...
Fixes to the new inspector
2018-07-05 03:50:31 +02:00
Max Hilbrunner
e3c8ac43c6
Merge pull request #19187 from Zirak/editor-autocomplete-quote
...
Editor autocomplete won't insert unnecessary quotes
2018-07-05 02:33:33 +02:00
Max Hilbrunner
edc63a2f60
Merge pull request #18028 from gabrii/18026
...
Fix #18026 . Expose TextEdit::set_draw_breakpoint_gutter.
2018-07-05 02:30:18 +02:00
Guilherme Felipe
709948aa5a
Fixes to the new inspector
...
- Fix inspector dock not updating tree for main resource;
- Fixes the inspector input text reverted during typing;
- Add method bind for "refresh" used by MultiNodeEdit;
2018-07-04 20:08:45 -03:00
Max Hilbrunner
a8a318161b
Merge pull request #19015 from toger5/fixed_scrolling_with_trackpad_in_new_inspector
...
fixed scrolling in new ispector when using trackpad pan gesture
2018-07-05 00:22:06 +02:00
Max Hilbrunner
9986b64b76
Merge pull request #19960 from groud/fix_control_size
...
Fixes control nodes size not updated when outside the tree
2018-07-04 23:32:29 +02:00
Max Hilbrunner
293a96c22d
Merge pull request #19947 from GagaPete/html5-http-fix
...
Fix CORS problems due to added headers on JS target
2018-07-04 22:37:47 +02:00
groud
560deda207
Fixes control nodes size not updated when outside the tree
2018-07-04 15:14:42 +02:00
Rémi Verschelde
3724f1562b
Merge pull request #19782 from Calinou/fix-control-pixel-snap-rounding
...
Fix control pixel snap rounding using floor() instead of round()
2018-07-04 15:11:08 +02:00
Rémi Verschelde
92bfde531c
Merge pull request #19786 from JFonS/correct_normal_scaling
...
Add render mode to ensure correct normals when using non-uniform scaling
2018-07-04 15:09:59 +02:00
GagaPete
8a4dccc4ce
Fix CORS problems due to added headers on JS target
...
Before this change, missing User-Agent and Accept headers were automatically
added on all platforms. Setting the User-Agent header forces the browser to
do a CORS preflight (see 1) which fails if the HTTP endpoint is not
configured appropriate. It's not neccesary to set either header as the
browser sets them and so this commit disables that functionality on the JS
target.
1: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Simple_requests
2018-07-04 01:56:44 +02:00
Juan Linietsky
085483e885
-Fix fullscreen on Windows with a HiDPI monitor but a non-HiDPI project
...
-Replaced some viewport size calls to screen size, since viewport size should be deprecated at this point..
2018-07-03 18:53:27 -03:00
Max Hilbrunner
465edbd2bc
Merge pull request #19853 from khairul169/duplicate_bug
...
Fix duplicate method on instanced node generates duplicated children.
2018-07-03 18:48:45 +02:00
Max Hilbrunner
2017119a3d
Merge pull request #19919 from marcelofg55/notif_crash
...
Add a new notification to detect crashes on native scripts
2018-07-03 18:42:49 +02:00
Max Hilbrunner
fbff1804d2
Merge pull request #17438 from Deluvi/get-word-pos-quote-fix
...
get_word_at_pos considers simple and double quotes
2018-07-03 18:28:47 +02:00
Max Hilbrunner
b21c1f64cd
Merge pull request #18634 from groud/fix_control_child_of_node2d
...
Fixes the bad calculation of margin & anchors when child of Node2D
2018-07-03 18:06:15 +02:00
Max Hilbrunner
6d0ade54c0
Merge pull request #19205 from marcelofg55/audio_stream_pause
...
Pause AudioStreamPlayer when SceneTree pauses
2018-07-03 17:23:53 +02:00
Max Hilbrunner
24ce1ace13
Merge pull request #19244 from Chaosus/settingsperformance_and_colordeferred
...
Increases settings apply speed and added deferred color setting to ColorPicker
2018-07-03 17:01:23 +02:00
Max Hilbrunner
585a185e89
Merge pull request #19246 from xemjeff/physics
...
Hinge Joint Inspector - Change range for motor target velocity and params bias values
2018-07-03 16:49:10 +02:00
Max Hilbrunner
23ad85c692
Merge pull request #19398 from godotengine/remove-left-margin
...
Remove default non-zero left margin
2018-07-03 16:41:04 +02:00
Max Hilbrunner
6efc1ba6e0
Merge pull request #19565 from robojumper/fixed_edge_scroll
...
Re-enable scrolling via selecting code beyond edges in text_edit.cpp
2018-07-03 16:11:19 +02:00
Juan Linietsky
e179bf0726
Ensure, if a texture meant for a normal map is imported and size limit exists, that it's renormalized after resize.
2018-07-03 10:56:31 -03:00
Max Hilbrunner
e29e4e56c1
Merge pull request #19843 from Calinou/fix-dynamicfont-hinting-setting
...
Fix the DynamicFont hinting setting being ineffective
2018-07-03 15:34:02 +02:00
Juan Linietsky
7fc2367508
Added ability for SSAO to affect AO textures too
2018-07-02 16:50:52 -03:00
Marcelo Fernandez
deebeb2742
Add a new notification to detect crashes on native scripts
2018-07-02 16:18:58 -03:00
Juan Linietsky
2dc738ce27
-Fixes to how hashing happened, now StringName and NodePath use default hasher, this was leading to some severe slowdown in scenarios
...
-Fixes to some duplication scenarios for instanced scenes
2018-07-02 15:08:35 -03:00
Andrea Catania
008e8266bb
Removed two skeleton parameter from compilation width no 3d
2018-07-02 07:35:43 +02:00
George Marques
d56d7299e4
Merge pull request #19875 from willnationsdev/meta-underlined
...
Fix underline_meta not working in RichTextLabel
2018-07-01 23:13:46 -03:00
Juan Linietsky
896e250f2b
-Fix in animationplayback, sound would be cut on loop
...
-Fix on scene importer, keeping changes to animation tracks was not working
2018-07-01 17:45:19 -03:00
Paulb23
8f390da422
Center text drawing in LineEdit
2018-07-01 15:46:33 +01:00
Rémi Verschelde
82e03b2066
Merge pull request #19871 from guilhermefelipecgs/fix_performance_ui
...
Fix performance for godot's interface
2018-07-01 15:14:31 +02:00
Guilherme Felipe
b2e78e117c
Fix performance for godot's interface
2018-07-01 09:48:03 -03:00
Rémi Verschelde
05cc7020c0
Merge pull request #19886 from AndreaCatania/no3d
...
Fixes #19845 no 3d Compilation issue
2018-07-01 13:39:14 +02:00
Andrea Catania
08009c75a2
Fixes #19845 no 3d Compilation issue
2018-07-01 12:39:24 +02:00
Andrea Catania
16cf262e34
Fixes #19648 Kinematic body move_and_slide compatibility issue
2018-07-01 11:38:13 +02:00
muiroc
0a36e974da
added cylinder shape support
2018-07-01 11:16:54 +02:00
Will Nations
a9ea06e73a
Fix underline_meta not working in RichTextLabel
2018-07-01 00:15:27 -05:00
Juan Linietsky
b3627e29f0
-Fixes to OBJ importer, option to disable optimization
...
-Fixes to script language, PlaceHolder can now get and check methods
2018-06-30 19:59:16 -03:00
khairul169
8e03715a5c
Fix duplicate bug
2018-06-30 17:35:51 +07:00
Michael Alexsander Silva Dias
02181292b8
Minor changes to the AnimationPlayer editor.
2018-06-30 00:12:05 -03:00
Hugo Locurcio
6deb1889d0
Fix the DynamicFont hinting setting being ineffective
2018-06-29 21:38:53 +02:00
Juan Linietsky
0ffec7daf7
Small fixes
2018-06-29 09:13:39 -03:00
Hugo Locurcio
53e94a1ce1
Optimize images losslessly using `oxipng -o6 --strip all --zopfli`
2018-06-28 19:17:41 +02:00
Juan Linietsky
eeab3502d5
Changes to how node paths are selected from property, allowing setting a hint.
2018-06-27 20:50:25 -03:00
Juan Linietsky
9bab5134cf
The way multiple quaternions being slerped was not good, changed approach to one that seems to work better.
2018-06-27 16:30:48 -03:00
Răzvan C. Rădulescu
07874292d0
Check "done" state in original loop
...
My first attepmt I added a second loop to check if processing should
stop. This attempts to optimize by using the original loop (one loop).
Also resets `elapsed` time on finish of tween which fixes `tell()`.
2018-06-27 10:17:00 +02:00
Rémi Verschelde
be9731459a
Style: Apply clang-format to animation_tree.cpp
...
Fixes issues introduced in c633b77
and de1ff22
.
2018-06-27 08:36:26 +02:00
Juan Linietsky
de1ff22eae
change node graph property and improved some bindings
2018-06-27 03:00:08 -03:00
Juan Linietsky
c633b770cb
-Add root motion support in AnimationTree.
...
-Add RootMotionView, to debug root motion in 3D (disabled in runtime)
2018-06-26 19:06:16 -03:00
Rémi Verschelde
f036353b93
Merge pull request #19164 from marcelofg55/tilemap_undo2
...
Improve TileMap undo operations, second try
2018-06-26 20:57:39 +02:00
Răzvan C. Rădulescu
5c914e2d5b
Fix and make Tween node less confusing
...
I've made the following changes:
- make `is_active` the main way of keeping track of tween
processing/activity, meaning that `is_active` will now return
`false` if all tween actions have finished or if it isn't started
or if it was stopped via `set_active(false)` or any other mode
- removed is_stopped because is redundand now
The above meant that we don't have to keep track of yet another variable
`available` since everything is based on `*processing_internal` so I
removed it, likewise it's own local `processing` variable was removed,
as well as the "double" `_set_process` which it feels more like a hack.
What wasn't changed:
- `tell()` still returns max value (i.e. `== get_runtime()` when all
tweens `finish`)
*More testing is needed*. So far I've tested repeat on/off, delay,
`is_active()` working corretly, `set_active(true), set_active(false)`,
but probably more tests are necessary, all the resets, stops, resume
etc.
2018-06-26 18:16:57 +02:00
Hugo Locurcio
88c23e243f
Fix control pixel snap rounding using floor() instead of round()
...
This resulted in small leftwards/upwards movement of controls being
faster than it should be.
This closes #19763 .
2018-06-26 17:55:23 +02:00
Rémi Verschelde
c8617565d8
Merge pull request #19776 from marcelofg55/tilemap_quadrant_opt
...
Optimize _recreate_quadrants
2018-06-26 15:37:55 +02:00
Marcelo Fernandez
67a78e020a
Optimize _recreate_quadrants
2018-06-26 00:07:48 -03:00