Juan Linietsky
2b9902db06
-Fix disable_3d flag
...
-Add extra flag optimize=[size,speed] to be able to prioritize size
2018-07-21 17:26:49 -03:00
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
Overblob
e6ad5e23b4
* Small hex/float/integer parsing refactoring
...
* Potential bug fix on hex (cannot be used atm)
* Added optional typing for floats, eg:
"1f" -> "1.0"
"1.f" -> "1.0"
"1.99f" -> "1.99"
"1." -> "1.0"
2018-07-15 14:58:23 +02: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
Pedro J. Estébanez
ec5c96dbe1
Fix camera offsets not applied always
...
Specifically, project/unproject methods weren't taking them into account. Frustum computation may be affected as well.
This commit considers them for the camera matrix at all times.
2018-07-09 21:07:15 +02: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
Thomas Herzog
0f45d0aa7d
ensure BlendSpace1D syncs animations
2018-06-26 02:41:36 +02:00
Juan Linietsky
8c7da84e1e
renamed AnimationGraphPlayer to AnimationTree
2018-06-25 18:40:24 -03:00
Juan Linietsky
87f48e7a3e
Merge pull request #19720 from karroffel/blendspace-1d
...
add BlendSpace1D animation node
2018-06-25 16:50:33 -03:00
Juan Linietsky
5b035107e3
removed print
2018-06-25 16:47:09 -03:00
Thomas Herzog
0f7c35f955
added BlendSpace1D editor plugin
...
This commit also fixes a crash in the BlendSpace2D as well as correct
the drawing of the x-zero indicator in the BlendSpace2D editor plugin.
2018-06-25 21:46:12 +02:00
Thomas Herzog
84252f2ec4
added AnimationBlendSpace1D
2018-06-25 21:36:53 +02:00
Thomas Herzog
1ff7aa4c9b
rename BlendSpace to BlendSpace2D
2018-06-25 21:36:10 +02:00
Juan Linietsky
4f5a7ebaec
State machine animation node
2018-06-25 16:22:41 -03:00
Paulb23
8a168637fe
Fixed text drawing too high in TextEdit, issue 15688
2018-06-24 10:38:53 +01:00
Bastiaan Olij
c11735facf
Fight off some error spam in the editor
2018-06-24 11:54:08 +10:00
chanon
2bdac0a5d9
fix can't set AudioStreamPlayer stream to null
2018-06-22 15:00:57 +07:00
Juan Linietsky
2365fe472b
Added auto triangle generation in blend space, using Delaunay.
2018-06-21 22:48:47 -03:00
Juan Linietsky
b80946ee0d
Fix crashes, ability to add blendpsace into blendtree, ability to delete with delete key
2018-06-21 18:08:11 -03:00
Juan Linietsky
a0719533bd
Animation Blend Spaces
2018-06-21 15:46:11 -03:00
JFonS
c8cf71753c
Add render mode to ensure correct normals when using non-uniform scaling
2018-06-21 00:12:12 +02:00
Marcelo Fernandez
8c1c7ff131
Add missing NULL checks for add_child_below_node
2018-06-19 22:47:34 -03:00
Juan Linietsky
0a1c1c660f
-Added AnimationGraphPlayer (still missing features)
...
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
2018-06-18 22:12:08 -03:00
Bojidar Marinov
7b107cb180
Fix bug in animationplayer editor not using subproperties properly
...
Fixes #19448
2018-06-18 15:59:13 +03:00
Rémi Verschelde
2fabb81318
Fix property hint for ReflectionProbe extents
2018-06-16 09:28:54 +02:00
robojumper
4ba6755324
Re-enable scrolling via selecting code beyond edges in text_edit.cpp
2018-06-14 21:29:39 +02:00
Guilherme Felipe
5bae3693bf
Fix "find and replace" initializing with wrong size
...
Fix the code editor outside the allowed limits.
2018-06-13 14:08:04 -03:00
Rémi Verschelde
ea5512fc25
Merge pull request #19541 from SaracenOne/ime2
...
Make LineEdit IME position hook ignore placeholder text
2018-06-13 18:52:43 +02:00
Rémi Verschelde
8efbe9ed3d
Merge pull request #19487 from JFonS/better_3d_select
...
Improve 3D selection
2018-06-13 18:49:35 +02:00
JFonS
9cd1c20f6a
Polished 3D selection
2018-06-13 17:52:37 +02:00
Saracen
9d0bdf69c4
LineEdit IME position will now ignore placeholder text.
2018-06-13 16:42:36 +01:00
Rémi Verschelde
d6d8237a5a
Merge pull request #19509 from SaracenOne/ime
...
IME context detection.
2018-06-13 15:26:50 +02:00
Guilherme Felipe
b904c37a54
Fix TabContainer not showing tabs on left when resizing.
...
Fix #19510 .
2018-06-12 15:59:53 -03:00
Saracen
c5bdb5b1d8
IME context detection.
2018-06-11 17:22:11 +01:00
clayjohn
fafa197ca5
updated some particlematerial properties
2018-06-10 11:15:02 -07:00
Rémi Verschelde
fc00af99ce
Merge pull request #19459 from clayjohn/primitive_mesh_ranges
...
Updated Ranges for Primitive Mesh Properties
2018-06-10 12:48:38 +02:00
Max Hilbrunner
e949230837
Merge pull request #18298 from gabrii/TextEditScaledSelection
...
TextEdit scaled selection
2018-06-09 19:35:48 +02:00
clayjohn
14acc61ce1
updated ranges for primitive meshes
2018-06-08 23:49:00 -07:00
Juan Linietsky
9cb17d7af8
Avoid animation length from ever being completely, fixes #19420
2018-06-08 13:42:45 -03:00
Rémi Verschelde
3aed396a30
Merge pull request #19343 from bojidar-bg/x-fix-tilemap-shape-rotation
...
Fix bugs related to bad handling of rotated/translated shapes in tilemap
2018-06-08 18:15:51 +02:00
Juan Linietsky
a8dd5750e2
Merge pull request #19334 from guilhermefelipecgs/fix_popup
...
Fixes popup_centered_* methods, dialogs with wrong sizes and visual script editor
2018-06-08 13:00:53 -03:00
Rémi Verschelde
f35115309b
Merge pull request #19314 from Jellonator/master
...
Added autotile override
2018-06-08 09:11:49 +02:00
groud
4d78e16bc1
Fixes the bad calculation of margin & anchors when child of Node2D
2018-06-07 21:25:15 +02:00
Guilherme Felipe
aa53c032ed
Fix regression with cursor shape
2018-06-07 15:12:59 -03:00
Juan Linietsky
b659fd6d74
Entirely new (and much improved) animation editor.
2018-06-07 12:52:00 -03:00
Max Hilbrunner
3cd09cd943
Merge pull request #19410 from swarnimarun/tween-stopped
...
Adding is_stopped method to Tween
2018-06-07 17:49:06 +02:00
steincodes
d3483d8c1e
Adding is_stopped method to Tween
2018-06-07 17:14:31 +05:30
Pedro J. Estébanez
12a87b257f
Remove default non-zero left margin
2018-06-06 20:10:43 +02:00
Guilherme Felipe
7a3882723c
Fix #16069 , #19292 , #19267 and #18940
2018-06-06 13:16:52 -03:00
Alexander Holland
e3fcb7b011
expose lineedit
2018-06-06 01:19:27 +02:00
danvalho
296af5276f
SpriteFrames: expose method to get array containing animation names
2018-06-05 13:07:30 +02:00
Rémi Verschelde
2935cd8a58
Revert "Prevent visibility notification from being called twice in object creation"
2018-06-05 12:05:02 +02:00
Marcelo Fernandez
c409fe0597
Pause AudioStreamPlayers when SceneTree pauses
2018-06-03 14:01:47 -03:00
Fabio Alessandrelli
348725dfe0
Add option to disable automatic multiplayer poll
...
Automatic poll from SceneTree is enabled by default.
This allows for polling (and thus RPCs/RSETs) manually in other loops
(e.g. physics, thread, specific step) and for proper mutex protecion
when accessing the multiplayer API from threads (e.g. for sending larger
files in chunks).
2018-06-03 18:58:04 +02:00
Bojidar Marinov
d73cdeb248
Fix bugs related to bad handling of rotated/translated shapes in tilemap
...
Fixup #18529 and #12870
2018-06-03 16:32:23 +03:00
James Beedie
6cbafdea16
Added autotile override
2018-06-02 21:25:09 -04:00
Rémi Verschelde
44b0146953
Revert "Revert "Prevent visibility notification been called twice in object creation""
...
This reverts commit 4d277b96ad
.
Woops, this wasn't meant to be committed. I just reverted it locally
to test something, nothing wrong with the original commit :)
2018-05-31 15:50:02 +02:00
Rémi Verschelde
4d277b96ad
Revert "Prevent visibility notification been called twice in object creation"
...
This reverts commit d42b17607e
.
2018-05-31 12:03:40 +02:00
Chaosus
cf38270ef7
Increase settings apply speed and added deferred color apply
2018-05-31 11:33:36 +03:00
Rémi Verschelde
43b7ebf0a0
Style: Apply clang-format (5.0) to some missed files
2018-05-31 09:00:37 +02:00
Gabriel Gavilan
b7b63fe034
Improve breakpoints and breakpoint gutter API in TextEdit
...
Added breakpoint_gutter, is_breakpoint_gutter_enabled, set_breakpoint_gutter_enabled, get_breakpoints, remove_breakpoints.
Fixed breakpoint_toggled signal not fierd when text is edited.
Fixes #18026 .
2018-05-30 14:39:44 +02:00
Marcelo Fernandez
cadd72793b
Improve TileMap undo operations, second try
2018-05-29 19:35:30 -03:00
Fabio Alessandrelli
1400f6fdc4
Refactor RPCMode enum and checks
2018-05-29 20:26:41 +02:00
Jeffs
bd29fec042
Issues #19203 and #19204
...
- Hinge Joint Inspector:
Motor target velocity range changed from [0,4096] to [-200,200] to allow for negative velocity and a reasonable range.
Params bias now allows a zero value to prevent the bullet message of not supporting a non-zero bias.
2018-05-29 09:03:20 -04:00
Max Hilbrunner
4c69a495c9
Revert "RPCMode refactor, more sync modes"
2018-05-29 11:47:52 +02:00
Max Hilbrunner
d0b62ce155
Merge pull request #19021 from Faless/rpc_sync_fix
...
RPCMode refactor, more sync modes
2018-05-29 09:44:03 +02:00
Juan Linietsky
c80ac06253
Merge pull request #18691 from Web-eWorks/atlasfixes
...
Fix Sprite3d using AtlasTexture... Again.
2018-05-27 12:55:42 -03:00
Mintormo
5d28a21454
Added support Python 3 in "make_header.py" file
2018-05-27 12:51:57 +03:00
Zirak
c329780ea7
Editor autocomplete won't insert unnecessary quotes
...
When autocompleting a string (e.g. emit_signal or connect), e.g.
emit_signal('visibility_c')
^
where "^" is the cursor, hitting <tab> would insert an unnecessary
quote, breaking the string:
emit_signal('visibility_changed'')
This commit adds a small lookahead, so the end result will be as the
user probably expected:
emit_signal('visibility_changed')
2018-05-26 21:13:42 +00:00
Max Hilbrunner
7e8b7a7815
Merge pull request #18379 from ZDDM/18-04-23-audiostream-docs
...
Fully expose the data variable in AudioStreamSample and AudioStreamOGGVorbis
2018-05-26 18:22:05 +02:00
Max Hilbrunner
140822cc8f
Merge pull request #18885 from Gamblify/AnimationTreeExposePos
...
Expose animation pos to user for AnimationNodes in AnimationTree
2018-05-26 18:18:07 +02:00
Fabio Alessandrelli
9de4ffde61
Refactor RPCMode enum and checks
2018-05-26 10:43:43 +02:00
Bastiaan Olij
660bebec94
Check for 0 roll influence
2018-05-26 08:26:39 +10:00
Max Hilbrunner
47cfdfe2ee
Merge pull request #19120 from Keetz/master
...
Take tween speed into account when calculating runtime
2018-05-25 16:17:55 +02:00
Rasmus Ketelsen
c518b96362
Take tween speed into account when calculating runtime
2018-05-25 15:05:45 +02:00
Rémi Verschelde
37cda57959
Merge pull request #19151 from Web-eWorks/freelook-fixes
...
Revert #14753 , as it is buggy and no longer necessary.
2018-05-25 12:52:14 +02:00
Rémi Verschelde
f5bc7156b7
Merge pull request #19139 from KidRigger/master
...
Ensures CMD+left and CMD+right only valid for OSX.
2018-05-25 12:00:57 +02:00
Rémi Verschelde
d522bf3b9f
Merge pull request #18752 from danilo2205/enhanced_path_follow
...
Up Vector for Curve3D and OrientedPathFollow Implementation
2018-05-25 10:17:37 +02:00
Webster Sheets
1198662b2b
Revert #14753 , as it is buggy and no longer necessary.
2018-05-24 16:10:25 -04:00
Anish
5d3108acbb
Ensures CMD+left and CMD+right only valid for OSX.
...
Fix in #18370 is now only valid for OSX and is reverted for other OS.
Fixes #19042
2018-05-24 15:04:22 +05:30
danilo2205
dc639d334a
Up vector implementation and OrientedPathFollow.
2018-05-20 19:51:56 -03:00
Ibrahn Sahir
2abec59db9
fix for TextEdit::set_text firing signals it shouldn't.
...
Removing some _changed signals in set_ functions.
Includes revert of commit 384625aa31
2018-05-19 19:38:13 +01:00
Rémi Verschelde
d6c15bd96a
Merge pull request #19017 from toger5/fix_no_a_input_script_editor_osx
...
fixed capital A osx
2018-05-18 20:04:31 +02:00
toger5
6476b708d9
fixed capital A osx
2018-05-18 19:46:40 +02:00
toger5
0e015f6023
fixed scrolling in new ispector when using trackpad pan gesture
2018-05-18 18:47:39 +02:00
Juan Linietsky
9b5275b135
-Hid texture flags by default so they dont take so much space
...
-make curve texture preview not so large, so its easier to embed the editor
2018-05-18 12:37:18 -03:00
Rémi Verschelde
b003b7d846
Merge pull request #18978 from Chaosus/cubebugfix
...
Fix property bug in CubeMesh which prevent it from changing in inspector
2018-05-18 12:47:55 +02:00
Rémi Verschelde
e8dce91481
Revert "Fix color-picker sliders"
2018-05-18 01:49:45 +02:00
tagcup
1bba6eeeb9
Removed incorrect Basis::set_scale().
...
Also added a missing constructor in Basis, and fixed usage of inverse and affine inverse in Transform.
2018-05-17 19:39:04 -04:00
Mariano Javier Suligoy
7eddb80b27
Merge pull request #18960 from isaacremnant/autotile_3x3_minimal
...
Restore support for minimal 3x3 autotile sets
2018-05-17 19:57:55 -03:00
Martin Capitanio
c58e155580
Fix color-picker sliders
2018-05-17 23:27:29 +02:00
Juan Linietsky
4b5227ff77
-Ability to open resources in the same window
...
-Plenty of fixes and improvements to new inspector
-Fixes that were needed to make inspector work better
2018-05-17 18:03:05 -03:00
Chaosus
b3fccc5778
Fix bug in CubeMesh
2018-05-17 19:46:03 +03:00
isaacremnant
e4f0ac558d
Restore support for minimal 3x3 autotile sets
2018-05-17 09:49:14 -04:00
Marcelo Fernandez
b9023715e2
Fix missing return on Navigation2D::get_closest_point_owner
2018-05-17 09:07:25 -03:00
Rémi Verschelde
802ddc6e94
Merge pull request #18862 from endragor/remove-font-width-ceiling
...
Ceil char width within Label instead of Font
2018-05-17 09:31:22 +02:00
Gustav Lund
da8fe2f31d
Expose the animation pos to the user for AnimationNodes in AnimationTrees
2018-05-17 09:15:47 +02:00
Mariano Javier Suligoy
ba134d44b8
Merge pull request #15909 from authenticate/tilemap_fix
...
TileMap Navigation Fixes
2018-05-16 20:22:19 -03:00
Rémi Verschelde
2cf36651b9
Merge pull request #18814 from PJB3005/18-05-12-imagetexture-load-error
...
ImageTexture.load returns an error code.
2018-05-16 23:23:08 +02:00
Guilherme Felipe
35024d4e7b
Add missing copyright headers
2018-05-16 14:50:44 -03:00
Rémi Verschelde
93c4274941
Merge pull request #18928 from BastiaanOlij/fix_viewport_flags
...
Store flags so it isn't lost when viewport isn't setup yet
2018-05-16 15:11:20 +02:00
Bastiaan Olij
0fc4f22522
Store flags so it isn't lost when viewport isn't setup yet
2018-05-16 22:19:45 +10:00
Juan Linietsky
dfd1331690
Allow editing of some unbound properties when hinted (or no range hinted)
2018-05-16 09:13:41 -03:00
Juan Linietsky
031a445368
Add note about color picker deferred initialization
2018-05-16 08:04:46 -03:00
Juan Linietsky
66dc73f3ca
Merge pull request #18922 from volzhs/fix-segfault
...
Fix segfault at quiting editor
2018-05-16 08:02:09 -03:00
Rémi Verschelde
b49cb7d879
Merge pull request #18917 from ReyAnthony/master
...
Fix Camera2D drag margin property is affected by zoom property #18912
2018-05-16 11:06:01 +02:00
volzhs
e639db0529
Fix segfault at quiting editor
2018-05-16 16:54:04 +09:00
Rémi Verschelde
69cafb6044
Merge pull request #18910 from PJB3005/18-05-15-fix-textedit-param
...
Fix missing registration for new param of TextEdit::cursor_set_line.
2018-05-16 02:38:21 +02:00
Rémi Verschelde
6f4a90592f
Merge pull request #18909 from ianb96/getcharwidthfix
...
fix get_char_width for non-latin characters
2018-05-16 02:32:40 +02:00
James
69ee7945d7
Fixing a bug where tilemap navigation would not be accurate after a tilemap exits and then re-enters the tree. Fixing a bug where deleting a tile and then querying navigation would result in an incorrect path if both happened within the same frame.
2018-05-15 20:14:37 -04:00
Anthony Rey
c8a42f98cc
Fix Camera2D drag margin property is affected by zoom property #18912
2018-05-16 01:53:38 +02:00
Juan Linietsky
005b69cf6e
-New inspector.
...
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
2018-05-15 17:14:31 -03:00
Pieter-Jan Briers
0f303c9f43
Fix missing registration for new param of TextEdit::cursor_set_line.
...
This caused Mono glue gen to fail and other bugs to appear
(such as in Visual Script)
2018-05-15 21:53:42 +02:00
ianb96
ce434bca82
fix get_char_width for non-latin characters
2018-05-15 15:32:09 -04:00
Ian
e1fff4bc09
TextEdit word wrap
2018-05-14 16:17:48 -04:00
Pieter-Jan Briers
622a754584
ImageTexture.load returns an error code.
2018-05-14 19:11:41 +02:00
Ruslan Mustakov
d5a0b5f35b
Ceil char width within Label instead of Font
...
Some classes use Font::get_char_size directly and not only for
autowrapping. RichTextLabel is one such example. So this commit
reverts aa8561d
(PR #17504 ) and instead ceils character width within
Label. This makes sure Label autowraps correctly while not affecting
other Font clients.
Fixes #18835 .
2018-05-14 20:32:14 +07:00
Rémi Verschelde
aba499965c
Merge pull request #18851 from groud/fix_animatedsprite
...
Updates frame timeout when changing speed scale
2018-05-14 08:30:22 +02:00
Rémi Verschelde
dd2aba021c
Merge pull request #18853 from YeldhamDev/gui_cppcheck_fixes
...
Fixed some warnings found with Cppcheck
2018-05-14 07:39:54 +02:00
Rémi Verschelde
e036eb648b
Merge pull request #18782 from toger5/fix_no_a_input_script_editor_osx
...
fixed 'A' input not registered in osx script editor
2018-05-14 07:24:34 +02:00
Michael Alexsander Silva Dias
7f72d6476b
Fixed some warnings found with Cppcheck.
2018-05-14 02:14:56 -03:00
groud
d7f25f7adb
Updates frame timeout when changing speed scale
2018-05-13 23:29:06 +02:00
Hein-Pieter van Braam
3cfb9df325
Revert "Use fake audio playing property in editor"
2018-05-13 21:37:08 +02:00
Hein-Pieter van Braam
24dbe5e310
Merge pull request #17367 from ShyRed/audio_playing_
...
Use fake audio playing property in editor
2018-05-13 21:35:44 +02:00
Juan Linietsky
dc7060973c
Merge pull request #18764 from AndreaCatania/rag
...
Improved API to active / deactive ragdoll
2018-05-13 15:34:48 -03:00
Hugo Locurcio
814989e106
Add support for bilinear bars in TextureProgress
...
These bars will extend from the center to the left and right of
the node, or from the center to the top and bottom of the node
depending on the option selected.
The Clockwise and Counter Clockwise mode will expand the progress
bar both ways in a circular fashion.
2018-05-12 10:23:06 +02:00
Ruslan Mustakov
f34ea810fe
Update oversampling of outlines after window size change
...
Fixes #18774 .
2018-05-11 13:59:56 +07:00
toger5
d927e972d1
fixed a input not registered in osx script editor
2018-05-11 04:30:05 +02:00
AndreaCatania
5f66734d2d
Implemented physics material
...
Hidden a function
Fixed travis static check
2018-05-11 03:23:09 +02:00
Andrea Catania
5a0119f9e2
Improved API to active / deactive ragdoll
2018-05-10 21:05:00 +02:00
Gabriel Gavilan
b0069bb118
Apply viewport scale to selection update methods. Changed to propper fix sugested by reduz
2018-05-09 20:37:50 +02:00
Charly Mourglia
b09e0454bb
Consider TextEdit paste operation complex.
...
Not considering a paste operation as a complex one ends up
adding an unneeded extra step when pasting over a selection.
This fixes issue #18325
2018-05-09 14:07:06 +02:00
Deluvi
215150cfbf
get_word_at_pos considers simple and double quotes
...
When using the get_word_at_pos function in TextEdit, the function would
return a full string only if this string is surrounded by double quotes
and not by simple quotes.
With this fix, get_word_at_pos will return the full string, whether be a
string surrounded by simple or double quotes.
Fixes #17437
2018-05-09 08:33:57 +02:00
Marcelo Fernandez
e64bbcc429
Fix some enums missing its bind
2018-05-08 21:14:31 -03:00
Max Hilbrunner
e744d12e56
Merge pull request #18709 from Faless/multiplayer_docs
...
Rename multiplayer_api to multiplayer, add docs
2018-05-09 01:41:01 +02:00
Webster Sheets
4b545e3105
Fix AtlasTexture usage in Sprite3D.
...
Changes as requested in b484d5c
.
2018-05-08 11:22:56 -04:00
Guilherme Silva
d63cc11bee
Change from "search dialog" to "search bar" on help screen
2018-05-08 12:19:32 +00:00
Juan Linietsky
aacd7f012e
Merge pull request #18374 from JFonS/fix_particles_animation
...
Fix particle animation controls
2018-05-08 11:34:34 -03:00
Rémi Verschelde
9dbfe5dc61
Merge pull request #17578 from endragor/ft-outlines
...
Perfect FreeType-based outlines for DynamicFonts
2018-05-08 15:37:00 +02:00
Juan Linietsky
47db64ac00
Merge pull request #15258 from RyanStein/bugfix-15241
...
Use exact positioning for the ItemList::get_tooltip method.
2018-05-08 10:36:22 -03:00
Juan Linietsky
d5c3fc1522
Merge pull request #15119 from poke1024/visible-subwindows
...
More efficient subwindow handling
2018-05-08 09:49:34 -03:00
Juan Linietsky
c54ac6a15d
Merge pull request #15074 from PJB3005/17-12-26-remove_gui_focus_on_visibility_loss
...
Hiding a Control now fires NOTIFICATION_FOCUS_EXIT.
2018-05-08 09:40:44 -03:00
Ruslan Mustakov
863dd9aa46
Always emit dynamic font change in update_oversampling
...
Fixes #15787 .
The issue occurred when two (or more) separate DynamicFont instances
used the same DynamicFontAtSize instance due to having equal
properties. The first instance updated its data_at_size and emitted
"changed" signal, but the second did not because it considered the
data_at_size to be up to date, even though it has just been updated.
2018-05-08 19:01:15 +07:00
Fabio Alessandrelli
234914c42c
Rename multiplayer_api to just multiplayer.
...
Only the class name retain the MultiplayerAPI name
2018-05-08 10:51:04 +02:00
Rémi Verschelde
de9683b605
Merge pull request #17559 from simedis/joint_motors
...
Implemented interface for bullet linear motors
2018-05-08 10:23:41 +02:00
Rémi Verschelde
d7d20b70af
Merge pull request #18619 from mateusak/master
...
Add more flexibility to 3X3 autotiles
2018-05-08 08:57:44 +02:00
Ruslan Mustakov
5cd12f6649
Perfect FreeType-based outlines for DynamicFonts
...
- Implement outlines based on FreeType Stroker API. This allows
artifact-free results, similar to what you will see in Web or any text
editing tools. Outline is a part of DynamicFont rather than Label,
because outlines have to be baked into the font's atlas. Font has a
default outline_color and a Label can specify font_outline_modulator
that will be multiplied with the Font's color to get the final result.
- draw_char now has to be called twice to fully render a text - first
with p_outline == true for each character and then with
p_outline == false for each character.
- Number of draw-calls is reduced from 5 to 2 per outlined character.
- Overall cleanup of DynamicFont code, extracted duplicated code pieces
into separate methods.
- The change is backward-compatible - Labels still have outline
properties that work exactly as they worked before.
Closes #16279 .
2018-05-08 13:45:24 +07:00
Max Hilbrunner
6e8e401359
Merge pull request #18701 from GodotExplorer/fix-#18685
...
Fix double free for drag preview control in viewport
2018-05-08 08:17:24 +02:00
Max Hilbrunner
b808798772
Merge pull request #18700 from GodotExplorer/fix-#18686
...
Add default paramater value for OptionButton::add_icon_item
2018-05-08 08:15:59 +02:00
Geequlim
56c2463f8c
Fix double free for drag preview control in viewport
2018-05-08 13:52:38 +08:00
Geequlim
9ee8ddcd8d
Add default paramater value for OptionButton::add_icon_item
2018-05-08 13:40:52 +08:00
Rémi Verschelde
64cb61619a
Merge pull request #15928 from StateOff/feature_batch_rename
...
Implements "Batch Rename" editor tool.
2018-05-08 07:36:24 +02:00
Max Hilbrunner
bdad359d99
Merge pull request #18453 from groud/add_speed_factor
...
Adds a speed factor to AnimatedSprite
2018-05-08 07:13:37 +02:00
Juan Linietsky
9b1fdad035
Merge pull request #16122 from ibrahn/sprite-region-with-frames
...
Allow use of frames in sprites with texture region enabled.
2018-05-07 20:38:12 -03:00
Juan Linietsky
7b85c9d0ea
Merge pull request #17295 from eon-s/instance-placeholder
...
Make InstancePlaceholder more flexible by allowing to instance without removing it.
2018-05-07 20:23:34 -03:00
Juan Linietsky
9f2d54cd68
Added a simpler way to flip faces, closes #17373 and closes #17369
2018-05-07 18:55:05 -03:00
Juan Linietsky
7811156c4f
Merge pull request #17451 from Goutte/feat-base-button-mask
...
Allow configuration of which mouse buttons the BaseButton responds to
2018-05-07 18:24:17 -03:00
Juan Linietsky
7175a7f025
Merge pull request #17504 from endragor/fix-oversampling-autowrap
...
Ceil dynamic font glyph size
2018-05-07 18:21:11 -03:00
Juan Linietsky
7b065a59fa
Merge pull request #15911 from Zephilinox/ready_signal
...
Add ready signal to Node
2018-05-07 17:56:10 -03:00
Juan Linietsky
2ba8b5b27c
Merge pull request #17828 from bojidar-bg/17779-progressbar-minimum-size
...
Fix StyleBox ignoring region rect and ProgressBar using center size
2018-05-07 16:33:12 -03:00
Juan Linietsky
3051bb8a81
Merge pull request #17845 from JFonS/disable_spatial_shadows
...
Added flag on SpatialMaterial to disable shadows
2018-05-07 16:18:25 -03:00
Juan Linietsky
6d46f73ec3
Merge pull request #11973 from AndreaCatania/ragdoll
...
Ragdoll - Physical bone node
2018-05-07 16:12:27 -03:00
AndreaCatania
9e57a07fb6
Implemented ragdoll
...
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
a
Implemented implicit hierarchy.
Improved
Added some physics properties
Added bone offset to preserve COM, partially fixed scaling
work in progress
WIP
wip
Implemented Joint Gizmos
Implemented pin joint joint
Implemented all joints
2018-05-07 21:03:16 +02:00
Juan Linietsky
dff3a2f378
Merge pull request #18003 from sherjilozair/patch_macosx_shortcuts
...
Add additional macos shortcuts for going to start/end of line
2018-05-07 15:59:22 -03:00
Juan Linietsky
b484d5c2d8
Revert "Fix Sprite3D's incorrect behavior when using AtlasTextures."
2018-05-07 15:44:27 -03:00
groud
89fe7e2f92
Adds a speed factor to AnimatedSprite
2018-05-07 18:53:06 +02:00
Michael Alexsander Silva Dias
863eb0e1e0
Added "play_backwards" to the list o functions to autocomplete.
2018-05-07 12:28:55 -03:00
Max Hilbrunner
fb4e9526e8
Merge pull request #18122 from olivergs/wip/rtl-content-height
...
RichTextLabel, doc: Added new method to get total content height
2018-05-07 14:53:43 +02:00
Juan Linietsky
35322c0678
Merge pull request #18677 from BastiaanOlij/add_no_blend
...
Add no-blend canvas item render_mode
2018-05-07 09:44:17 -03:00
Bastiaan Olij
6103c8d7a3
Add no-blend canvas item render_mode
2018-05-07 22:41:12 +10:00
Juan Linietsky
38aaf78325
Merge pull request #18524 from BastiaanOlij/keep_3d_linear
...
Added option to viewport to keep linear color
2018-05-07 09:24:39 -03:00
Max Hilbrunner
e15305721d
Merge pull request #18454 from KidRigger/working_timer
...
Allows setting the Timer wait_time in start method.
2018-05-07 09:37:11 +02:00
Bastiaan Olij
6f7fefa489
Added option to viewport to keep linear color
2018-05-06 19:28:09 +10:00
Max Hilbrunner
fc9fad925b
Merge pull request #18146 from mjtorn/gh-mjtorn-rtl-shadow
...
Implement font shadows for RichTextLabel
2018-05-05 07:01:04 +02:00
Max Hilbrunner
eec38da856
Merge pull request #18407 from danilo2205/get_closest_point
...
Add methods get_closest_point and get_closest_offset for both Curve2D and Curve3D
2018-05-05 06:56:26 +02:00
mateusak
ab0220affb
Allow uncommon bitmask for autotile - Fixes #16511
...
Removes some conditions that were there to create compatibility from 2X2 to 3X3.
Further dissociates 2X2 and 3X3 but adds more flexibility to 3X3.
2018-05-04 19:58:21 -03:00
Juan Linietsky
bf561c4946
Made bone handling for actual Bone2D a special case. Make custom bones appear like a custom (less important) option now.
2018-05-04 16:46:32 -03:00
Rémi Verschelde
0bc07f8ff3
Merge pull request #18480 from BastiaanOlij/add_custom_aabb_to_primitives
...
Added custom aabb to primitives
2018-05-04 15:19:30 +02:00
Max Hilbrunner
f9733b5cee
Merge pull request #18397 from KidRigger/working_te
...
Support of CMD+Backspace and CMD+Delete on MacOS.
2018-05-04 11:19:09 +02:00
Rémi Verschelde
6405dcb7db
Merge pull request #18595 from AlexHoratio/script_pos_columns
...
Script Editor now displays positional column
2018-05-04 09:58:35 +02:00
Juan Linietsky
b3e4bc562c
Skeleton for 2D WIP
2018-05-03 17:29:56 -03:00
Rémi Verschelde
430e45c84a
Merge pull request #16359 from Noshyaar/convert
...
Particles: fix corrupted scene when saved after convert
2018-05-03 21:24:03 +02:00
Rémi Verschelde
76cc12d916
Merge pull request #18572 from bzztbomb/fix/project_local_ray_normal_virtual
...
Fix for ARVRCamera::project_local_ray_normal not getting called.
2018-05-03 21:06:59 +02:00
Brian Richardson
680a5cbb0b
Camera::project_local_ray_normal needs to be virtual so that ARVRCamera::project_local_ray_normal gets called.
2018-05-03 11:32:37 -07:00
Unknown
4e26e5e268
Script Editor now displays positional column
...
This solves #17931 and makes the script editor consistent with other text editors(Sublime, Gedit, Vim) in displaying the position rather than the raw number of characters.
2018-05-03 18:03:20 +01:00
Rémi Verschelde
b774156729
Merge pull request #18514 from neikeq/api-hash-fixes
...
API hash fixes
2018-05-03 14:36:32 +02:00
Rémi Verschelde
75ff86f8f5
Merge pull request #18566 from robfram/fix-lineedit-18184
...
Fix placeholders position in `LineEdit` when editing inside the Editor
2018-05-02 22:36:24 +02:00
Rémi Verschelde
741637b966
Merge pull request #18451 from volzhs/node-name
...
Check invalid node name
2018-05-02 22:21:31 +02:00
robfram
c17de1f70f
Fix placeholders position in LineEdit
when editing inside the Editor
...
Editing the `Text` property through the editor causes a wrong
placement of the placeholder, as it calls `LineEdit::clear_internal`,
which was wrongly reseting the cached placeholder width.
Fix #18184 .
2018-05-02 21:15:46 +02:00
volzhs
6758b6c131
Check invalid node name
2018-05-03 00:00:06 +09:00
Juan Linietsky
4c3c510a80
WIP Polygon2D weight editing
2018-05-02 11:01:12 -03:00
Rémi Verschelde
18c28c159d
Merge pull request #17196 from RandomShaper/improve-gui-touch
...
Implement universal translation of touch to mouse (3.1)
2018-05-02 10:47:49 +02:00
danilo2205
2224975e7e
Added methods get_closest_point and get_closest_offset to both Curve2D and Curve3D
2018-05-01 18:24:41 -03:00
Rémi Verschelde
de97339a2d
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
...
Fix Coverity reports of uninitialized scalar variable
2018-05-01 19:14:07 +02:00
Pieter-Jan Briers
20dd2204db
Adds z-index properties to TileSets.
2018-05-01 17:24:57 +02:00
Rémi Verschelde
b6a7c5693f
Merge pull request #16977 from SASUPERNOVA/master
...
Created a new function named get_element in GridContainer. This funct…
2018-05-01 16:32:30 +02:00
Zumo
ef74954e66
Fully exposes data variable on AudioStreamSample/AudioStreamOGGVorbis...
...
...and also changes "_set_data" and "_get_data" to "set_data" and "get_data" respectively.
2018-05-01 12:19:15 +02:00
Rémi Verschelde
8852ca1455
Fix Node2D::global_scale's PropertyInfo type
...
Was missed in #18391 .
2018-05-01 10:46:08 +02:00
Rémi Verschelde
204de5e6dc
Merge pull request #18348 from rfht/master
...
fix clang6 assignment error
2018-05-01 09:31:29 +02:00
Rémi Verschelde
7663d65a10
Merge pull request #18382 from groud/fix_gridcontainer_children_visibility
...
Fix GridContainer's children visibility breaking the layout
2018-05-01 08:47:41 +02:00
Rémi Verschelde
4cce6f3417
Merge pull request #18321 from Crazy-P/Fixes-logically-dead-code
...
Fixes logically dead code (Coverity)
2018-05-01 08:35:10 +02:00
Pedro J. Estébanez
de9d40a953
Implement universal translation of touch to mouse
...
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*)
The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers.
Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse.
*: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest.
On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction.
Plus: Improve/fix tracking of current mouse position.
** Summary of changes to settings: **
- `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse`
- New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-30 19:03:38 +02:00
Max Hilbrunner
613a8bee41
Merge pull request #18370 from KidRigger/master
...
Adds support for CMD+Left and CMD+Right on MacOS
2018-04-30 19:02:20 +02:00
Max Hilbrunner
f1bbb59653
Merge pull request #18489 from Calinou/tweak-property-hint-ranges
...
Tweak the property hint ranges of caret blink and line length guideline
2018-04-30 18:19:09 +02:00
Hugo Locurcio
c118a0ee5e
Make the LineEdit "secret" character customizable
2018-04-30 02:25:17 +02:00
Ignacio Etcheverry
7034d48032
Fix binding some core API methods only in tools builds
2018-04-29 19:49:26 +02:00
Bastiaan Olij
1ee40206d4
added custom aabb to primitives
2018-04-29 15:06:18 +10:00
Hugo Locurcio
0eb2f6c223
Tweak the property hint ranges of caret blink and line length guideline
...
This allows for more precise adjustments.
2018-04-28 19:13:30 +02:00
Juan Linietsky
8d199a9b2c
CSG Support for Godot!
...
-Missing Icons
-Missing freezing option (for baking light and faster load)
-Missing a way to export from Godot (GLTF2?)
-Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs)
Happy testing!
2018-04-27 21:55:10 -03:00
sersoong
21eac24af1
Fixed stylebox crash
2018-04-27 17:30:28 +08:00
Anish
f714637e58
Allows setting the Timer wait_time in start method.
...
Allows shortening the two line method of Timer.set_wait_time
followed by Timer.start set wait_time as a parameter to
Timer.start. Also modifies the class documentation.
Fixes : #18107
2018-04-27 01:17:20 +05:30
Anish
515f2200fb
Support of CMD+Backspace and CMD+Delete on MacOS.
...
Adds support for CMD+Backspace, to delete all text
before the cursor in the line and CMD+Delete to delete
all text after the cursor in line following the typical
MacOS text editing workflow
Fixes : #18059
2018-04-24 18:53:04 +05:30
Ruslan Mustakov
8619b0d280
Fix Node2D::global_position to have Vector2 type
2018-04-24 10:50:05 +07:00
groud
c3f982156d
Fix GridContainer's children visibility breaking the layout
2018-04-23 20:00:06 +02:00
Anish
a126876cc8
Adds support for CMD+Left and CMD+Right on MacOS
...
CMD+Left and CMD+Right are hotkeys used on MacOS for
moving cursor to start and end of the text, respectively.
They are now supported, alongside ALT+key.
Fixes : #17631
2018-04-23 16:09:20 +05:30
JFonS
aeda5dccfe
Fix particle animation controls
2018-04-23 11:14:16 +02:00
Hugo Locurcio
1c419531a0
Change ".." punctuation for "..." in editor strings ( #16507 )
2018-04-22 19:36:01 +02:00
thfrwn
f48ff4dc64
fix clang6 assignment error
2018-04-21 22:26:43 -07:00
Crazy-P
e6deba8d19
Fixes logically dead code (Coverity)
...
Fixes reported logically dead codes by Coverity
* image.cpp: Doesn't really need any modification. But to remove the bug
report then we have to move the MAX call away from the for loop
statement.
* rasterizer_gles3.cpp: Removes unnecessary elif condition since it is
checked earlier in the function
* collada.cpp: If stamement never reached due to macro ERR_CONTINUE does
the same.
* navigation_mesh.cpp: Variables should always be null - however, also
checked for the very same condition in their function call. Leaving this
for review (whether the function call is necessary or not)
* path_editor_plugin.cpp: If cancel is true, then it should restore the
edited value to the original provided.
http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle
* spatial_editor_gizmos.cpp: the very condition of i >= 3 is
predetermined in the if case right before it. Thus case 1 is always '1'
and case 2 is always '-1'
* grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp
* voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp
* visual_server.cpp: Same as above in spatial_editor_gizmos.cpp
* visual_script_expression.cpp: char '-' is already true in the switch
case mechanism. Thus it can never reach to default case.
* particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking
right before the switch execution.
* shader_language.cpp: Invalid index is handled in switch default case.
`type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`)
Fixes the "always false problem" in TODO comment.
2018-04-21 22:35:23 +08:00
Rémi Verschelde
bf7ca623a6
Fix Coverity reports of uninitialized scalar variable
...
Fixes most current reports on Coverity Scan of uninitialized scalar
variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html
These happen most of the time (in our code) when instanciating structs
without a constructor (or with an incomplete one), and later returning
the instance. This is sometimes intended though, as some parameters are
only used in some situations and should not be double-initialized for
performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-19 15:20:45 +02:00
sersoong
a1cfc89108
Fixed context menu TTR bugs
2018-04-19 15:31:38 +08:00
Rémi Verschelde
3b1ea51e40
Merge pull request #18172 from Chaosus/fix_notification
...
Prevent visibility notification from being called twice in object creation
2018-04-18 16:35:38 +02:00
Rémi Verschelde
67cf812e45
Merge pull request #18161 from flashyincceo/fixing-bug-#18128
...
Add popup_closed signal for ColorPickerButton
2018-04-18 15:09:57 +02:00
Rémi Verschelde
3018132244
Merge pull request #18204 from tagcup/quat_scale
...
Avoid converting Quat to Euler angles when not necessary.
2018-04-18 13:55:35 +02:00
Rémi Verschelde
a6a0495829
Merge pull request #18230 from volzhs/fix-image-error
...
Fix index out of size error on Image
2018-04-18 13:26:03 +02:00
volzhs
d77ffa3e97
Ability to change path color with self modulate
...
Fix #18164
2018-04-17 15:06:15 +09:00
volzhs
3ecf8eef37
Fix error spam with Sprite has compressed texture
...
Fix #18177
2018-04-16 21:53:54 +09:00
volzhs
af0d547c02
Fix index out of size error on Image
...
Fix #18229
2018-04-16 21:15:31 +09:00
SASUPERNOVA
d8d329883e
Updated fork to match current version of Godot.
2018-04-15 14:53:28 +03:00
tagcup
a5e0bb447c
Avoid converting Quat to Euler angles when not necessary.
...
Also ensure that get_scale doesn't arbitrarlity change the signs of scales, ensuring that the combination of get_rotation and get_scale gives the correct basis.
Added various missing functions and constructors.
Should close #17968 .
2018-04-14 15:53:25 -04:00
ShyRed
cbcb96ae85
ItemList selection: Check against item count
...
ItemList needs to check against the number of items available when the user moves the selection via "ui_right" action.
2018-04-14 14:36:53 +02:00
Peter Folkins
3f837a623f
Add popup_closed signal for ColorPickerButton
...
Fixes #17688
2018-04-13 15:55:10 -05:00
Juan Linietsky
1d15c5d726
Merge pull request #17502 from groud/2Deditor_rect
...
Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
2018-04-13 10:21:44 -03:00
Chaosus
d42b17607e
Prevent visibility notification been called twice in object creation
2018-04-13 15:28:38 +03:00
Markus Törnqvist
1c6ea572ca
Implement font shadows for RichTextLabel
2018-04-12 15:09:48 +03:00
Oliver Gutierrez
63a472aea4
RichTextLabel, doc: Added new method to get total content height
2018-04-11 14:53:13 +01:00
Rémi Verschelde
fbc61374ca
Use internal physics processing for Nodes' internal logic
2018-04-11 09:28:14 +02:00
Poommetee Ketson
72aa87758a
Update classref and docs, fix missing parameters' name
2018-04-11 10:20:22 +07:00
Paulb23
aba4247910
Fixed color region calculation for the first line
2018-04-10 20:42:28 +01:00
Guilherme Felipe
4f05190fb0
Implement Input.set_default_cursor_shape to change the default shape
...
Closes #18043
2018-04-10 11:38:34 -03:00
Rémi Verschelde
cb996d7169
Merge pull request #18095 from robfram/fix-lineedit-17113
...
LineEdit placeholder alignment, content margins, and overflow bugs
2018-04-10 08:18:16 +02:00
Rémi Verschelde
a360a9b348
Merge pull request #18091 from RandomShaper/icon-radio-item
...
Add support for radio-looking items with icon
2018-04-10 08:09:18 +02:00
Rémi Verschelde
7e2782e177
Merge pull request #17081 from endragor/no-press-when-scroll
...
Make Button not emit press when container is scrolled
2018-04-10 07:56:37 +02:00
Rémi Verschelde
866cb2805f
Merge pull request #17080 from simedis/pretty_print_tree
...
Made Node.print_tree() print prettily
2018-04-10 07:50:10 +02:00
robfram
53b51f68bf
LineEdit placeholder alignment, content margins, and overflow bugs
...
LineEdit doesn't correctly uses style margins nor use placeholders
width correctly, causing multiple rendering bugs.
2018-04-09 23:57:23 +02:00
Rémi Verschelde
07e4556434
Merge pull request #18080 from Alexander-Alekseev/fix_rigidbody_config_warning
...
Fix of RigidBody's configuration warning for Z axis
2018-04-09 22:01:13 +02:00
Rémi Verschelde
24c2efc0f5
Merge pull request #16473 from ianb96/move_tab
...
Drag to Rearrange Editor Docks
2018-04-09 21:45:06 +02:00
Pedro J. Estébanez
b964a9e678
Add support for radio-looking items with icon
...
Letting users of `PopupMenu` use them. `OptionButton` was one of those interested and is updated in this commit.
Fixes #18063 .
2018-04-09 19:55:54 +02:00
Rémi Verschelde
36552c2c90
Merge pull request #18040 from Paulb23/color_region_cache
...
Fixed colour regions and added local colour region cache
2018-04-09 16:05:26 +02:00
Ruslan Mustakov
dcf5be92a3
Make BaseButton not emit press when container is scrolled
...
This fixes the problem described in #13996 in a proper way.
This also adds "deadzone" property to ScrollContainer. It can be used
on mobile, where taps are not as precise as mouse clicks. Player could
slightly move their finger when tapping, in which case we still want
the button to be pressed rather than the container to be scrolled.
2018-04-09 20:34:52 +07:00
Geoffrey
8362ce4769
Made print_tree_pretty() function which displays scene tree graphically
2018-04-09 15:01:37 +02:00
Alexander Alekseev
6a5ed3a42b
Fix RigidBody's configuration warning for Z axis
2018-04-09 09:28:31 +03:00
George Marques
0ee72fbd30
Merge pull request #18072 from AlexHolly/master
...
expose Tileset TileMode to GDScript
2018-04-08 21:44:07 -03:00
ianb96
9ac3c474b8
Drag to rearrange Tabs and TabContainer
2018-04-08 20:23:37 -04:00
Alexander Holland
f18b74838c
expose Tileset TileMode to GDScript
2018-04-08 22:54:02 +02:00
Juan Linietsky
b756172bdb
Merge pull request #16705 from Chaosus/generate_normals_flip
...
Add flip switch to SurfaceTool.generate_normals
2018-04-08 17:18:03 -03:00
Juan Linietsky
217a95868a
Merge pull request #16707 from Web-eWorks/atlasfixes
...
Fix Sprite3D's incorrect behavior when using AtlasTextures.
2018-04-08 17:11:16 -03:00
Juan Linietsky
24cf58f917
Merge pull request #16574 from isaacremnant/better_grow_direction
...
Added GROW_DIRECTION_BOTH for controls
2018-04-08 16:42:16 -03:00
Ibrahn Sahir
9db767d076
Allow use of frames in sprites with texture region enabled.
...
If texture region is enabled on a sprite, Hframes and Vframes will now
divide the selected region into frames.
2018-04-08 19:56:58 +01:00
Juan Linietsky
a6c9ccf007
Merge pull request #17150 from robfram/check-animation-playing-backwards
...
Added `get_playing_speed` method to AnimationPlayer, returning the actual playing speed of the animation being played
2018-04-08 11:36:15 -03:00
Juan Linietsky
e9e5aa617e
Merge pull request #17227 from Faless/multiplayer_api
...
[RFC] MultiplayerAPI refactor
2018-04-08 11:04:16 -03:00
Juan Linietsky
4ee3f3251d
Merge pull request #17382 from bojidar-bg/13971-path-array-unsaved
...
Duplicate Arrays and Dictionaries when instancing scene in editor
2018-04-08 09:39:03 -03:00
Juan Linietsky
6eb0c74e9d
Merge pull request #17443 from Noshyaar/tilesetcrash
...
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-08 09:31:54 -03:00
Juan Linietsky
9e7cee2ceb
Removed strange custom world2d in CanvasLayer, been there since always and not sure why.
...
Fixes #17524 , fixes #17523 .
2018-04-07 19:43:09 -03:00
Juan Linietsky
61d70fe47c
Document condition to avoid mistakes (like #17690 )
2018-04-07 17:04:12 -03:00
Juan Linietsky
14340efa3c
Merge pull request #17602 from ivodopiviz/tscn-issues
...
Removed unnecessary newlines from tscn
2018-04-07 16:59:12 -03:00
Juan Linietsky
fdfbff3cef
Merge pull request #17642 from brendor/master
...
Particles 2D and 3D - fix hue variation not working
2018-04-07 16:55:10 -03:00
Juan Linietsky
187b14ae24
Merge pull request #17730 from RandomShaper/radio-buttons-in-menus
...
Radio buttons in menus
2018-04-07 16:41:39 -03:00
Juan Linietsky
51f689de3c
Merge pull request #17744 from robfram/fix-rtl-table
...
Fix `RichTextLabel` column size growing beyond its calculated `max_width`
2018-04-07 16:36:50 -03:00
Juan Linietsky
644ada1aac
Merge pull request #17752 from nikibobi/texture-progress-tint
...
Add tint property to TextureProgress
2018-04-07 16:35:49 -03:00
Juan Linietsky
7dedb22f0b
Merge pull request #17809 from RandomShaper/menu-item-on-release
...
Improve popup menus usability
2018-04-07 16:22:00 -03:00
Paulb23
b571a29df5
Fixed color regions and added local color region cache
2018-04-07 14:14:19 +01:00
Pedro J. Estébanez
259ed1d400
Improve popup menus usability
...
It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal.
This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item.
This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature.
This improves UX a bit by saving unnecessary clicks.
From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.
2018-04-07 01:06:02 +02:00
Sherjil Ozair
166c7fdc9d
Add additional macos shortcuts for going to start/end of line
2018-04-05 15:44:25 -04:00
Rémi Verschelde
5ede505f14
Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighter
...
Abstracted the syntax highlighter from text edit.
2018-04-04 09:50:51 +02:00
Rémi Verschelde
60d89d0ab3
Merge pull request #17854 from BastiaanOlij/fix_vehicle_body
...
Improve side impulse calculation
2018-04-03 23:12:17 +02:00
Rémi Verschelde
7b1c661269
Merge pull request #17914 from Rubonnek/add-signal-to-videoplayer
...
Added signal to VideoPlayer to notify when the video finished playing
2018-04-03 22:06:47 +02:00
Gilles Roudiere
72ed1e4244
Remove the selection rect for nodes that do not require it
2018-04-03 22:04:19 +02:00
karroffel
4303fbca5a
fix bone scale/rotation in AnimationPlayers
...
fixes #17325 .
The bone pose transform was created by setting the rotation and
**then** scaling the transform. This leads to object "deformation"
that's not intended.
2018-04-03 16:43:50 +02:00
Rémi Verschelde
a10be201de
Merge pull request #17902 from Noshyaar/outline
...
Mesh: fix crash when creating mesh outline from QuadMesh
2018-04-03 11:55:01 +02:00
Paulb23
f7c727e6c3
Abstracted the syntax highlighter from text edit
2018-04-02 12:41:44 +01:00
Wilson E. Alvarez
747c65272d
Added signal to VideoPlayer to notify when the video finished playing
2018-04-01 23:40:26 -04:00
bosak
90918ff5ab
add tint for under, progress and over and tint group
2018-04-01 19:22:51 +03:00
Poommetee Ketson
a492d22952
Mesh: fix crash when creating mesh outline from QuadMesh
...
Since create_outline can only make outline for PRIMITIVE_TRIANGLES,
when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create
outline, will leave `arrays` empty, and crash when it is being indexed
for "indices" subarray.
This PR shows error when there's only one surface and it is not
TRIANGLES. Also prevent the crash if it has more than one surface
and none of them are TRIANGLES (and any other cases that could leave
`arrays` empty) by checking the size of `arrays` == 8 before indexing
it, since the method seems to expect `arrays` to be of that size.
2018-04-01 22:06:47 +07:00
Benedikt Bär
84d60b0829
Implement missing navgiation polygon debugging in tilemap
2018-03-30 17:28:53 +02:00
Bastiaan Olij
a36e5951ff
Improve side impulse calculation
2018-03-30 09:30:38 +11:00
JFonS
9c307d4b6c
Added flag on SpatialMaterial to disable shadows
2018-03-29 18:46:42 +02:00
Bojidar Marinov
91eb80041d
Fix StyleBox ignoring region rect and ProgressBar using center size
...
ProgressBar used the center size of the stylebox to calculate its minimum size, thus disallowing certain setups.
If the old behaviour is wanted, it can be forced by providing a custom minimum size, or by giving proper margins to the stylebox.
Fixes #17779 .
2018-03-28 20:56:09 +03:00
Pedro J. Estébanez
a6dc160d5c
Use radio-button-like menu entries where applicable
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
ab3b1d9f3e
Add radio-button-looking entries to PopupMenu
...
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually.
`is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button.
Keeping check in the name adds an additional clue about these facts.
Closes #13055 .
2018-03-27 19:19:45 +02:00
Ivan Vodopiviz
e0f6b54b77
Removed unnecessary newlines from tscn
...
References #6025 . Made small changes to avoid adding newlines for no reason.
2018-03-25 23:09:19 +02:00
robfram
ef2b7b090c
Fix RichTextLabel
column size growing beyond its calculated max_width
...
When `RichTextLabel` calculated the actual width of columns, it let
them grow to sizes greater than its calculated `max_width`. Now this
PR ensures no columns grows beyond `max_width`, and the excess width
is distributed among the columns which can still grow.
It should fix #17731 .
2018-03-24 18:09:35 +01:00
Poommetee Ketson
ed3b080ca6
Fix converting to tileset crashes Godot if existing file is not tileset
...
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23 21:27:30 +07:00
Rémi Verschelde
01bb39ac3f
Merge pull request #17321 from LinkDoyle/issue_16350
...
Fix switching WindowDialog types leaves garbage buttons
2018-03-23 11:38:59 +01:00
Rémi Verschelde
f720d86b0b
Merge pull request #17555 from poke1024/add-worldenv-warning
...
Warn about WorldEnvironment being ignored
2018-03-23 11:27:03 +01:00
Rémi Verschelde
8cfca7726f
Merge pull request #17571 from kubecz3k/cam-disable
...
a way to ensure that camera is disabled
2018-03-23 11:08:44 +01:00
Rémi Verschelde
5f0ea4ddcf
Merge pull request #17612 from robfram/fix-richtextlabel-bbcode
...
Fix bad rendering of BBCode tables in `RichTextLabel`
2018-03-23 10:22:33 +01:00
bosak
1fa69c24a0
add tint property to TextureProgress changes progress color
2018-03-21 22:33:48 +02:00
brendor
7061c28df7
Particles 2D and 3D - fix hue variation not working by transposing the hue matrix
...
The hue variation matrix is hardcoded as transposed and thus the multiplication always yielded the original color value.
I wanted to keep the matrix and get the same result by switching the operands (getting a result as if the matrix was transposed).
2018-03-20 01:28:41 +01:00
Ruslan Mustakov
47747718d6
Fix oversampled font artifacts after resize
...
Font update after resize relies on the viewport size which was updated
after the font was already refreshed, which resulted in artifacts when
it was rendered into the actual/new viewport size.
Fixes #15173 .
2018-03-19 20:44:26 +07:00
Rémi Verschelde
cc8f7c78af
Merge pull request #17618 from groud/fix_gridcontainer
...
Fixes wrong calculation of gridcontainer's children size
2018-03-19 10:12:20 +01:00
Gilles Roudiere
896e5a64d3
Fixes wrong calculation of gridcontainer's children size
2018-03-18 22:33:17 +01:00
robfram
5358befb41
Fix bad rendering of BBCode tables in RichTextLabel
...
Text overflowed canvas as tables didn't calculate correctly the width
of their columns. They used the whole table width available for each
column. Also, the `cell` parameter was wrongly parsed if used with its
optional argument (expand ratio).
This PR fixs the parsing of `cell` parameter (i.e. `cell=e`) and the
distribution of the full table width between columns, but it overrides
automatically the `expand` flag if the column is smaller than it could
be, to allow a better UX out-of-the-box. It keeps the `expand_ratio`
flag to let the user customize how every column grows in relation to
the rest.
Partially fix #6289 .
2018-03-18 18:06:24 +01:00
Jakub Grzesik
f78c7353ea
a way to ensure that camera is disabled
2018-03-17 10:57:04 +01:00
Fabio Alessandrelli
c531262190
Merge pull request #16947 from Faless/ui_actions
...
GUI elements ui_action usage, improvements
2018-03-16 20:55:11 +01:00
ShyRed
bc1522e268
Use fake audio playing property in editor
...
It appears that some time ago users were supposed to be able to include the playback of sound effects in their animations by placing keys on the "playing" property. Back then the key frame editor took the value of the checkbox in the property_editor.
Somewhere / Sometime this behaviour changed and the key frame editor is now reading the actual value from the object instead of relying on the property editor.
This commit introduces a fake active field that is returned when reading the playing property in the editor. While the actual active flag is changed when playback is finished the fake one will stay the same thus allowing the user to take their time with setting the key in the animation editor.
2018-03-16 15:26:23 +01:00
Geoffrey
09c887f38e
Implemented interface for bullet joint motors
2018-03-16 13:37:15 +01:00
Bernhard Liebl
29d305599d
Warn about WorldEnvironment being ignored
2018-03-16 11:21:57 +01:00
Rémi Verschelde
f17c35b447
Merge pull request #17537 from Noshyaar/intcam
...
InterpolatedCamera: use internal_process
2018-03-16 08:10:37 +01:00
Poommetee Ketson
6b22ec5f6c
InterpolatedCamera: use internal_process
2018-03-16 05:15:26 +07:00
Hein-Pieter van Braam
99f286e23f
Merge pull request #17264 from poke1024/fix-gesture-key-event-accepted
...
Fix gesture events being blocked
2018-03-15 23:13:04 +01:00
Hein-Pieter van Braam
64b336b367
Merge pull request #17293 from bncastle/basebutton_fix_pressed
...
Fix "ui_accept" action not calling _pressed() function in GDScript Button
2018-03-15 22:58:49 +01:00
Ruslan Mustakov
aa8561ded4
Ceil dynamic font glyph size
...
Fixes #15459 . When oversampling is enabled, glyphs may have fractional
size, but they are still rendered into integral pixels, which results in
them taking more space than was anticiped by autowrapping algorithm. The
solution here is to return ceiled width, which makes autowrapper
consider characters a bit larger than they are, but it doesn't hurt the
actual rendering and ensures there is enough space for the characters.
2018-03-14 19:53:44 +07:00
Goutte
ed69345a19
Add a binary mask to allow configuration of which mouse buttons the BaseButton will respond to.
2018-03-13 23:59:53 +01:00
Rémi Verschelde
fe93459ef9
Merge pull request #17345 from AlexHolly/expose-itemlist-move-item
...
expose Itemlist.move_item and optimize functionality
2018-03-13 20:05:00 +01:00
Alexander Holland
a3d2f59dbe
expose itemlist.unselect_all()
2018-03-13 16:46:25 +01:00
Bojidar Marinov
9f6c0c6eae
Duplicate Arrays and Dictionaries when instancing scene in editor
...
Also, add deep (=false) parameter to Array.duplicate and Dictionary.duplicate
Fixes #13971
2018-03-13 17:18:08 +02:00
Alexander Holland
73146af740
expose Itemlist.move_item and optimize functionality
2018-03-13 15:19:43 +01:00
Rémi Verschelde
c81356153e
Merge pull request #16971 from Noshyaar/tilemap
...
TileMap: add fix_invalid_tiles
2018-03-13 13:57:58 +01:00
Rémi Verschelde
96bda9c463
Merge pull request #17094 from Calinou/add-dynamicfont-hinting-options
...
Add an hinting mode setting to DynamicFonts
2018-03-13 13:38:35 +01:00
Rémi Verschelde
931f669b30
Merge pull request #17114 from poke1024/fix15719
...
Fix line thickness for CollisionPolygon2D.
2018-03-13 13:34:32 +01:00
Rémi Verschelde
88c1430613
Merge pull request #17314 from robfram/complete-path-15813
...
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
2018-03-13 12:16:51 +01:00
Rémi Verschelde
6d97fbdfc1
Merge pull request #17359 from AlexHolly/completion-edge-jump
...
Auto completion edge jump
2018-03-13 12:01:14 +01:00
Rémi Verschelde
b49746f3cd
Merge pull request #17381 from poke1024/fix-anim-scrub
...
AnimationPlayer: fix scrubbing after play backwards
2018-03-13 11:51:30 +01:00
Rémi Verschelde
6e491ff283
Merge pull request #17383 from poke1024/colorpicker-tweaks
...
Better tab support for color picker
2018-03-13 11:42:51 +01:00
Rémi Verschelde
ada1357dfd
Merge pull request #17422 from robfram/fix-radial-textureprogress
...
Implement line clipping for `TextureProgress` to avoid bad rendering
2018-03-13 11:25:49 +01:00
Rémi Verschelde
b1c9a7c757
Merge pull request #17410 from groud/fix_grid_container
...
Fixes infinite loop in GridContainer
2018-03-13 10:34:31 +01:00
Rémi Verschelde
c446231a6e
Merge pull request #17191 from garyo/fix_grid_cont
...
Fix infinite loop in GridContainer layout
2018-03-13 10:34:20 +01:00
Rémi Verschelde
7e246a0cb7
Merge pull request #17432 from ShyRed/tilemapupdate
...
Update TileMap when its TileSet changes
2018-03-13 09:30:38 +01:00
Bernhard Liebl
8277bf29a4
Various ui tweaks for color picker
2018-03-12 13:58:31 +01:00
ShyRed
67f4944a21
Update TileMap when its TileSet changes
...
Make TileMap monitor its TileSet for changes and emit a signal when the TileSet changes. This makes the editor update and show the updated version of the TileSet.
2018-03-11 12:24:50 +01:00
Alexander Holland
11e40d3700
expose Itemlist.is_anything_selected
2018-03-11 03:01:16 +01:00
robfram
7991bd168d
Implement line clipping for TextureProgress
to avoid bad rendering due to imprecise UV mapping
...
Original code used a quick aproximation for simulating the
correspondent texel in the `TextureProgress` texture as radial
progress indicator. This lead to visualization errors. Changed it for
a Liang-Barsky line clipping algorithm stripped to its minimum for
this specific use case.
Fix #17364 .
2018-03-10 20:51:42 +01:00
Gary Oberbrunner
561e57df13
Fix infinite loop in GridContainer layout
...
I had a grid container and tried to set rect.min_height larger in the
editor; that caused an infinite loop in GridContainer::_notification
at line 118. The reason is max_index was being set to the *height* of
the row, not the *index* of the row. So later when it tried to erase
that row and try again, there was nothing to erase.
I applied the same fix to the width code.
2018-03-10 14:38:35 -05:00
ShyRed
a23c0877f1
Update Sprite when Texture changes
...
Make Sprite monitor its Texture for changes and trigger an update when the sprite changes.
2018-03-10 17:23:29 +01:00
Gilles Roudiere
44cb8eb3a2
Fixes infinite loop in GridContainer
2018-03-10 14:01:20 +01:00
Bernhard Liebl
b553b38e7b
AnimationPlayer: fix scrubbing after play backwards
2018-03-09 19:41:14 +01:00
Alexander Holland
e36dd4282b
auto-completion edge jump
...
arrow up/down jumps to end/start on edges
2018-03-09 17:31:07 +01:00
Rémi Verschelde
079b919b41
Merge pull request #17341 from poke1024/fix16461
...
Fix unselectable flipped sprites (fixes 16461)
2018-03-08 08:40:49 +01:00
Rémi Verschelde
0b600fde3f
Merge pull request #17189 from CodeAndWeb/master
...
Fixes Selection of Sprites using AtlasTexture
2018-03-08 08:37:22 +01:00
poke1024
bd2e1df216
Fix unselectable flipped sprites (fixes 16461)
2018-03-07 18:58:45 +01:00
Leon Krause
38623e07ac
Prevent division by zero in GridContainer
2018-03-07 17:36:28 +01:00
Link
611c050469
Fix switching WindowDialog types leaves garbage buttons
...
We can distinguish between node-specific children and custom children by `child->is_owned_by_parent()`.
Fixes : #16350
2018-03-07 18:28:29 +08:00
robfram
95f186b621
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
...
If you had a tree like Node2D->Sprite->Camera2D and you write a
code like $Node2D/Spr and chose the autocompletion sugested
Node2D/Sprite, the resulting string was $Node2D/Node2D/Sprite
instead $Node2D/Sprite. If you chose Node2D/Sprite/Camera2D, then
you ended with $Node2D/Node2D/Sprite/Camera2D.
Fix #15813 .
2018-03-06 19:25:14 +01:00
Rémi Verschelde
2efd7add4a
Merge pull request #17205 from Ranoller/patch-3
...
FIX Windows enter/exit mouse notifications
2018-03-06 10:16:01 +01:00
eon-s
5e427190bc
Added create_instance
...
Allows to create an instance from an `InstancePlaceholder` without removing the placeholder.
Deprecates `replace_by_instance`.
2018-03-05 22:57:17 -03:00
bncastle
ceb079fa35
Fix BaseButton not always calling _pressed()
...
Fix "ui_accept" action in BaseButton.cpp not calling _pressed() func in
GDScript
2018-03-05 20:37:10 -05:00
Rémi Verschelde
6a6aab498e
Merge pull request #17262 from poke1024/fix-sprite-get-rects
...
Fix uninitialized data in Sprite::_get_rects()
2018-03-05 10:46:17 +01:00
Bernhard Liebl
166c2bdea7
Fix gesture events being blocked
2018-03-04 22:19:10 +01:00
Bernhard Liebl
5f917139ab
Fix uninitialized data in Sprite::_get_rects()
2018-03-04 21:19:32 +01:00
Fabio Alessandrelli
5081ced57f
Use MultiplayerAPI class for high level networking
...
Remove networking related logic from Node and SceneTree.
SceneTree now simply relay all networking related stuff to
MultiplayerAPI for compatibility
2018-03-03 18:34:22 +01:00
robfram
5ef88cf577
Added get_playing_speed
method to AnimationPlayer, returning the actual
...
playing speed of the animation being played.
As stated in #16550 , there is no way to get the playing speed of an
animation. The `playback_speed` property is for the whole AnimationPlayer
node, and the argument passed to `play` method is another scale applied
in top of the AnimationPlayer properties.
Thus, the actual playing speed is AnimationPlayer.speed_scale *
AnimationPlayer.playback.current.speed_scale. If it is not playing, the
method returns 0.
2018-03-03 09:29:22 +01:00
Ranoller
979dccbd8d
FIX Windows enter/exit mouse notifications
...
Fix to this issue #17202
2018-03-03 03:42:38 +01:00
Bernhard Liebl
0e1e95c41f
Fix more regressions in RichTextLabel from PR 15711
2018-03-02 19:19:46 +01:00
Andreas Loew
a01ba4523b
Fix selection of Sprites using AtlasTexture in the editor.
...
Fixes #16261 .
2018-03-02 19:17:47 +01:00
Rémi Verschelde
ab001d830b
Fix serialization of identifiers with non printable ASCII characters
...
Fixes #6888 .
2018-03-02 13:33:53 +01:00
Hein-Pieter van Braam
555eebf3f4
Don't crash when trying to add an invalid navmesh
...
It is possible to try to add an invalid object as a navmesh through
GDScript which results in an engine crash. This creates a debug message
that should help the user figure out what's wrong.
2018-03-02 09:37:32 +01:00
poke1024
89f607604e
Fix regression through fa98637aca
2018-03-01 18:03:53 +01:00
Rémi Verschelde
ce7da2c7d6
Viewport: Fix missing tooltips w/ disabled physics object picking
...
Previously this option seemed to be the sole responsible for enabling
physics processing in Viewport, while several other features like
tooltips and debugging collision hints rely on it.
All this logic is moved to internal processing (it's incorrect to let
it be affected by users disabling physics/idle processing), and disabling
physics object picking no longer affects the internal physics processing.
Fixes #17001 .
2018-03-01 16:01:10 +01:00
poke1024
a36f6e5386
Fix line thickness for CollisionPolygon2D.
2018-03-01 07:30:30 +01:00
Hein-Pieter van Braam
d702d7b335
Fix various valgrind reported uninitialized variable uses
2018-02-28 21:55:13 +01:00
Hugo Locurcio
c1544c12ef
Add an hinting mode setting to DynamicFonts
...
- Editor font hinting can now be tweaked in the Editor Settings.
- DynamicFonts used in projects now have tweakable hinting settings
in their DynamicFontData child. Changes will be visible upon
reloading the scene in the editor.
2018-02-28 00:12:26 +01:00
Rémi Verschelde
6093660bfb
Merge pull request #16656 from JFonS/fix_gradient_crash
...
Fix weird editor crash when switching from editing one gradient to another keeps 'grabbing' variable to true
2018-02-27 11:38:19 +01:00
Juan Linietsky
125fc8cc44
Add a split editor to polygon 2D UV editor, moving an inch closer to adding support for in the future
2018-02-25 12:07:13 -03:00
Marc Gilleron
d2fae5c9a6
Fix Line2D tile mode for non-square textures
2018-02-25 01:49:10 +01:00
Rémi Verschelde
bc4b7bc82e
Merge pull request #16973 from JFonS/fix_initial_gizmo_visibility
...
Fix visibility of gizmos on scene load
2018-02-24 14:06:50 +01:00
Poommetee Ketson
7effe46461
TileMap: add fix_invalid_tiles
2018-02-24 19:34:41 +07:00
JFonS
99d740c46e
Fix visibility of gizmos on scene load
2018-02-24 12:05:43 +01:00
Poommetee Ketson
38865345d9
Particles: fix corrupted scene when saved after convert (2nd try)
2018-02-24 15:58:17 +07:00
Rémi Verschelde
eedb85e618
Merge pull request #16932 from groud/fix_collision_shape_selection
...
Fixes collisions shape selection
2018-02-24 01:32:16 +01:00
Rémi Verschelde
6b32e96d6e
Merge pull request #16930 from PJB3005/18-02-22-styleboxtexture-texture
...
StyleBoxTexture: Texture instead of RES for texture and normal_map.
2018-02-24 01:29:35 +01:00
Rémi Verschelde
23ebae01dc
Refactor version macros and fix related bugs
...
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were
several places hardcoding their own variant of the version string, potentially
with bugs (e.g. forgetting the patch number when defined).
The new logic defines:
- VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1)
- VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch',
depending on whether the latter is defined (e.g. 3.1.4)
- VERSION_FULL_CONFIG, which contains the version status (e.g. stable)
and the module-specific suffix (e.g. mono)
- VERSION_FULL_BUILD, same as above but with build/reference name
(e.g. official, custom_build, mageia, etc.)
Note: Slight change here, as the previous format had the build name
*before* the module-specific suffix; now it's after
- VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed
with "Godot v" for readability
Bugs fixed thanks to that:
- Export templates version matching now properly takes VERSION_PATCH
into account by relying on VERSION_FULL_CONFIG.
- ClassDB hash no longer takes the build name into account, but limits
itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant
for the API hash).
- Docs XML no longer hardcode the VERSION_STATUS, this was annoying.
- Small cleanup in Windows .rc file thanks to new macros.
2018-02-23 20:15:29 +01:00
Fabio Alessandrelli
920d2bfdfa
Add two new default actions ui_end, ui_home
...
Used by Slider and Scrollbar
2018-02-23 13:01:28 +01:00
Fabio Alessandrelli
ff122a7e1f
Add item_focused signal to OptionButton
...
And id_focused to Popupmenu.
2018-02-23 13:01:28 +01:00
Fabio Alessandrelli
90b9449844
Properly set input as handled when closing modal
2018-02-23 13:01:28 +01:00
Fabio Alessandrelli
59c23c1369
Scrollbar now uses UI actions instead of keys
2018-02-23 13:01:28 +01:00
Fabio Alessandrelli
e15fe296bd
Line edit up/down focus pass through
...
When line edit receive a up/down and the cursor is at beginning/end it
will not set the input as handled
2018-02-23 13:01:28 +01:00
Fabio Alessandrelli
e3eb686906
Tree now uses UI actions instead of keys
2018-02-23 12:58:35 +01:00
Fabio Alessandrelli
4a71483a65
Popupmenu now uses UI actions instead of keys
2018-02-23 12:58:16 +01:00
Gilles Roudiere
c250a9a9f9
Fixes collisions shape selection
2018-02-22 20:48:25 +01:00
Pieter-Jan Briers
b51a86a57a
StyleBoxTexture: Texture instead of RES for texture and normal_map.
2018-02-22 19:27:35 +01:00
Rémi Verschelde
e349cedb6e
Skeleton2D: Fix missing return value in comparator
2018-02-22 08:18:25 +01:00
Juan Linietsky
7cd867c3fe
2D Skeletons WORK IN PROGRESS
2018-02-21 17:24:00 -03:00
luz.paz
612ab4bbc6
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Max
6a48f952ca
Fixed disappearing text on filedialog buttons
2018-02-21 16:04:51 +02:00
Juan Linietsky
9e3a1e5401
Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.
2018-02-21 09:39:09 -03:00
Rémi Verschelde
35053e57ab
Merge pull request #16710 from YeldhamDev/filedialog_nothing_disabled
...
Fixed "Open" button being enabled when nothing is selected in a FileDialog while in "Open folder" mode
2018-02-21 13:25:27 +01:00
Rémi Verschelde
222516a815
Merge pull request #16756 from willnationsdev/shifted-rect-sprite
...
Simplify detection of Sprite clicks
2018-02-21 10:42:47 +01:00
Rémi Verschelde
c291fc39ad
Merge pull request #16772 from damarindra/tileset_editor_improvement
...
Tileset Editor Improvement
2018-02-21 10:40:43 +01:00
Andrea Catania
39fb83630d
Added forgotten infinite_inertia to bindings
...
Related to this comment: https://github.com/godotengine/godot/pull/16757#discussion_r169470394
2018-02-21 08:42:36 +01:00
Damar Indra
e69dd47501
Tileset Editor Improvement
2018-02-20 22:33:59 +07:00
Michael Alexsander Silva Dias
db80d56388
Fixed "Open" button being enabled when nothing is selected in a FileDialog while in "Open folder" mode.
2018-02-20 12:19:06 -03:00
Rémi Verschelde
497a4e9e25
Merge pull request #16757 from AndreaCatania/kinpush
...
Improved kinematic body, Now can move rigid body
2018-02-20 15:41:10 +01:00
Andrea Catania
6ed392f47a
Improved kinematic body 2D and 3D, Now can move rigid body
2018-02-20 12:43:47 +01:00
Rémi Verschelde
2c44b2cee4
Merge pull request #16718 from Chaosus/triplanarfix
...
Add refraction possibility when triplanar uv mode enabled
2018-02-20 11:14:31 +01:00
Rémi Verschelde
55f00d9655
Merge pull request #16455 from volzhs/close-docs
...
Keep to show current script when closing all docs
2018-02-20 09:40:29 +01:00
volzhs
df84290a7e
Keep to show current script when closing all docs
...
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.
Fix #16403
2018-02-20 14:39:52 +09:00
Will Nations
b0bdb4456b
Expose Sprite._edit_get_rect for click rect access
2018-02-19 16:45:11 -06:00
Rémi Verschelde
b2aeb02e7d
Merge pull request #16530 from AndreaCatania/rays
...
Improved ray shape (2D and 3D) by addiing the possibility to act as r…
2018-02-19 22:15:49 +01:00
Rémi Verschelde
6ee4298ee3
Merge pull request #16652 from aragar/FixQuotationInString
...
Fix quotation in string
2018-02-19 22:12:53 +01:00
Rémi Verschelde
d5daaa72fa
Merge pull request #15306 from poke1024/item-list-draw-speed
...
Boost drawing speed of ItemLists with many items
2018-02-19 21:53:59 +01:00
Rémi Verschelde
5933cf867a
Merge pull request #15780 from volzhs/emoji
...
Support colored font
2018-02-19 21:51:53 +01:00
Chris Bradfield
a5688ccd90
Improve CollisionObject/CollisionObject2D warning message
2018-02-19 21:48:31 +01:00
Rémi Verschelde
a41c45c335
Merge pull request #16060 from sdfgeoff/apply_torque
...
Exposed apply_torque_impulse to gdscript
2018-02-19 21:38:33 +01:00
Andrea Catania
ffc3ef8677
Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape
2018-02-19 20:59:57 +01:00
Chaosus
399e553829
Added flip switch to generate_normals
2018-02-19 22:40:34 +03:00
Alexander Alekseev
66c39b1426
Fixes OptionButton selection index being reset to zero at instanciation
...
Bug: engine tries to set selected item before items were added during save scene/run project, because of wrong properties order.
Fixes #10213 .
2018-02-19 20:25:34 +01:00
Rémi Verschelde
b93d6a001b
Merge pull request #16566 from groud/gui_input_rework
...
2D Editor GUI input rework
2018-02-19 20:05:35 +01:00
Rémi Verschelde
52f45122ae
Merge pull request #16822 from Noshyaar/timefmt
...
Fix timer second not zero padded when < 10
2018-02-19 17:14:12 +01:00
Poommetee Ketson
d2e3607fa0
Fix timer second not zero padded when < 10
...
Also RTR "Time Left:"
2018-02-19 21:53:39 +07:00
isaacremnant
cc902cf9ab
Force controls to save rect_clip_content since they do not all default to false.
2018-02-18 22:24:05 -05:00
Artem Varaksa
d35e486228
Clean up some bad words from code comments
2018-02-17 16:00:39 +03:00
Gilles Roudiere
8dad41e395
2D editor GUI input rework. Changes are:
...
- The input handling is done into several distinct functions, and the
code is more consistent.
- The actions' history is more precise ("Edited CanvasItem"
is now "Rotated CanvasItem","Moved CanvasItem",etc...)
- Fixed a little bug about input key events not forwarded correctly to plugins
- IK is followed by default when you move a bone node, the alt-key allow
you to move it normally
2018-02-16 10:14:52 +01:00
sdfgeoff
cdd8334585
Exposed apply_torque_impulse to gdscript and added documentation for added apply_torque_impulse method
2018-02-15 16:42:24 +01:00
Webster Sheets
973be3711a
Fix Sprite3D's incorrect behavior when using AtlasTextures.
2018-02-15 10:33:58 -05:00
Chaosus
b5e4f637fc
Added refraction possibility for triplanar uv mode
2018-02-15 17:21:09 +03:00
Rémi Verschelde
5a83705b19
Merge pull request #15523 from Nutriz/change_primmesh_accuracy_value
...
Change primitive meshes acccuracy value
2018-02-14 17:05:19 +01:00
JFonS
f68594a525
Fix weird editor crash when switching from editing one gradient to another keeps 'grabbing' variable to true
2018-02-14 16:48:13 +01:00
Rémi Verschelde
309303d92c
Merge pull request #15592 from paulloz/textedit-initial-size
...
set a better initial size to TextEdit nodes
2018-02-14 16:38:27 +01:00
Rémi Verschelde
2551db44e1
Merge pull request #15618 from ianb96/fold_comment
...
TextEdit folding over unindented comments
2018-02-14 16:36:42 +01:00
Rémi Verschelde
f1ee573ebe
Merge pull request #15711 from poke1024/fix-rtl-descent
...
Fixes wrong vertical font layout in RichTextLabel
2018-02-14 16:28:16 +01:00
Rémi Verschelde
c5a5b10342
Merge pull request #15799 from SaracenOne/lightmap_unwrap_script_expose
...
Expose 'lightmap_unwrap' method to the scripting engine.
2018-02-14 16:17:35 +01:00
Rémi Verschelde
e777751958
Merge pull request #15855 from mrcdk/texture_button_mask_fixes
...
The TextureButton's bitmask takes into account the stretch mode selected
2018-02-14 16:16:10 +01:00
Rémi Verschelde
1f17881d5d
Merge pull request #15903 from groud/fix_minsize
...
Fixes GridContainer and SplitContainer wrong layouting
2018-02-14 16:04:06 +01:00
Michael Alexsander Silva Dias
4dbf6ac1b8
Added "allow_reselect" property to ItemList and enabled it for the method/help lists.
2018-02-14 03:38:07 -02:00
Rémi Verschelde
8944773934
Merge pull request #16422 from synasius/fixed-line-edit-text-changed-signal
...
Fixed #15082 : line edit emits two "text_changed" signals when pasting while text is selected
2018-02-13 22:14:25 +01:00
Rémi Verschelde
8d75b27405
Merge pull request #16432 from Ovnuniarchos/master
...
SpinBoxes calculate correctly their width before first redraw.
2018-02-13 15:46:39 +01:00
Rémi Verschelde
eefb58a892
Merge pull request #16424 from AndreaCatania/phyj
...
Added physics API in order to enable/disable collisions between rigidbody attached to a joint with bullet physics bullet
2018-02-13 15:26:04 +01:00
Rado'sPC\aRaGaR
f38e819fc1
Fix quotation in string
...
fix for #16404
2018-02-12 23:01:36 +02:00
isaacremnant
4ef11eb3ed
Implements #16546 by adding GROW_DIRECTION_BOTH which allows a control to grow from its center.
2018-02-12 01:39:18 -05:00
ronroniv
5e8f7c9782
Update an outdated method name in error message
...
set_enable_monitoring -> set_monitoring
2018-02-07 12:32:05 +09:00
Ovnuniarchos
fe1ca3c6e6
SpinBoxes calculate correctly their width before first redraw.
2018-02-05 22:42:30 +01:00
Andrea Catania
a42765dada
Added physics API in order to enable/disable collisions between rigidbody attached to a joint with bullet physics bullet
...
Fixes #16424
2018-02-05 18:54:07 +01:00
Federico Frenguelli
9cd3ed4ace
Fixed #15082 : line edit emits two "text_changed" signals when pasting while text is selected
2018-02-05 16:22:34 +01:00
Phil Jones
d1a471f909
Fix texture import spelling
2018-02-03 18:38:39 +00:00
Poommetee Ketson
4f9ef96b54
Gradient: fix wrong property type
2018-02-03 22:38:54 +07:00
binbitten
331cfc1d18
Fix wrong property type for fixed icon size in ItemList
2018-02-03 10:02:27 +01:00
Rémi Verschelde
0033e72a0f
Merge pull request #16276 from bcr3ative/issue_15668
...
Fix inconsistencies and typos in argument names
2018-02-01 17:26:13 +01:00
Rémi Verschelde
4cb64feae8
Merge pull request #15910 from robfram/fix-audio-signal-issue-15895
...
Fix issue #15895 , audio streams don't signalling finished after the first one
2018-02-01 16:54:31 +01:00
Rémi Verschelde
51d3dee9c2
Merge pull request #15946 from MarianoGnu/issue_15870
...
Attemp to fix #15870
2018-02-01 16:49:35 +01:00
Paolo Perkovic
08d4bfacaf
Fix inconsistencies and typos in argument names
2018-02-01 16:47:20 +01:00
Rémi Verschelde
9247f2de37
Merge pull request #16249 from binbitten/fix-highlight-ofs
...
Fix TextEdit current line highlight horizontal offset
2018-02-01 15:25:02 +01:00
Rémi Verschelde
ff287d8341
Merge pull request #15254 from mrcdk/pitch_scale
...
Added pitch scale property to AudioStreamPlayer, AudioStreamPlayer2D and AudioStreamPlayer3D
2018-02-01 14:26:27 +01:00
binbitten
ba8c5bff69
Fix TextEdit current line highlight horizontal offset
2018-01-31 19:04:50 +01:00
George Marques
b80bc73a17
Expose a few GraphEdit methods to script languages
2018-01-30 22:09:41 -02:00
Juan Linietsky
1322ca6fb2
Ability to import .escn files, which is just a .tscn but with forced import.
...
This works together with the new Blender to Godot exporter.
2018-01-30 11:04:22 -03:00
Rémi Verschelde
d1954f464c
Merge pull request #16152 from hpvb/fix-16131
...
Allow focus on disabled buttons
2018-01-30 13:44:28 +01:00
Rémi Verschelde
ed6bf28014
Merge pull request #15980 from mrcdk/audio_stream_get_length
...
Expose audio streams get_length()
2018-01-30 13:43:34 +01:00
Hein-Pieter van Braam
713f190a30
Allow focus on disabled buttons
...
This behavior better matches other gui toolkits. A selected disabled
button still can't be interacted with but it can now be selected. This
seems to be what QT and GTK do also.
This fixes #16131
2018-01-28 18:49:22 +01:00
robfram
3cf2d6524b
Fix inverted RIGHT/LEFT TOP/BOTTOM Camera2D drag margin in runtime (editor works fine). Fix #16095 .
2018-01-27 19:37:04 +01:00
Bojidar Marinov
57bed14e95
Remove duplicate "autoplay" property
...
Part of #16051
2018-01-25 16:17:35 +02:00
Paul Joannon
e30aa1386c
update signals' MethodInfo in Tween
...
key is a NodePath, not a String
2018-01-23 13:06:03 +01:00
Todd Ross
fd6a98b753
defend Path2D against a null curve
2018-01-22 22:45:38 -06:00
MrCdK
8a9f1c2a5d
Expose audio streams get_length()
2018-01-22 20:35:33 +01:00
Blazej Floch
e58b10c883
Implements "Batch Rename" editor tool.
2018-01-22 00:43:19 -05:00
Rémi Verschelde
37cb029fcc
Merge pull request #15938 from poke1024/fix15904
...
Fix crash on deleted rigidbodies without contact monitor (issue 15904)
2018-01-22 00:02:14 +01:00
Rémi Verschelde
e1f34249eb
Fix typo in CollisionObject warning
2018-01-21 21:32:00 +01:00
Juan Linietsky
8daf5491ab
I have no idea why this commit fixes #15392
2018-01-21 16:19:35 -03:00
Mariano Suligoy
517ff5c8d7
attemp to fix #15870
2018-01-21 12:31:59 -03:00
Bernhard Liebl
e9237d83c7
Fix crash on deleted rigidbodies without contact monitor (issue 15904)
2018-01-21 12:46:13 +01:00
Zephilinox
a826fb8d8b
Add ready signal to Node
...
Closes #15889
2018-01-20 21:57:59 +00:00
robfram
d588fe2740
Fix issue 15895, audio streams don't signalling finished after the first one
...
if the audio player is set to play again due to the order of calls in
_notification. First it emits the signal, and later it disable the internal
processing regardless what the callback did.
Changed to emit the signal at the end to ensure the changes done at callback
remains.
2018-01-20 22:22:00 +01:00
Gilles Roudiere
30e1e42175
Fixes a bas resizing with SplitContainer
2018-01-20 21:03:20 +01:00
Yuri Chornoivan
17614f79ea
Fix minor typo: it's -> its
2018-01-20 20:18:43 +02:00
Gilles Roudiere
d1f32708b7
Fixes a Gridcontainer wrong children fitting with expanded+non-zero minisize
2018-01-19 00:56:30 +01:00
MrCdK
9927b70efb
The TextureButton's bitmask takes into account the stretch mode selected
...
When the stretch is tile the mask gets applied to each tile.
2018-01-19 00:01:23 +01:00
Rémi Verschelde
598724c043
Remove obsolete Viewport _update_rect() code
2018-01-18 22:37:45 +01:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Juan Linietsky
cc8dfcc9c0
Before I forget, add warnings on areas without children (should not break anything).
...
Seen too many users misunderstanding the edit rect is the shape.
2018-01-18 14:31:07 -03:00
Ian
1b837125ce
TextEdit fix get_mouse after many folds
2018-01-18 12:18:06 -05:00
Rémi Verschelde
6c46787749
doc: Replace some more "val" with "value" + sync
2018-01-17 10:43:23 +01:00
Saracen
e3fdacdf90
Expose 'lightmap_unwrap' method to the scripting engine.
2018-01-17 03:39:06 +00:00
Juan Linietsky
4de84f4c0a
BMFont loading direct support from .fnt files.
2018-01-16 17:58:04 -03:00
volzhs
c5e3acc29c
Support colored font
2018-01-16 22:56:54 +09:00
Gilles Roudiere
b06c6602c8
Changes the keep_margin parameter to true by default, so that people are not suprised that set_anchor changes the margins values
2018-01-15 10:37:13 +01:00
Rémi Verschelde
05b1843818
Merge pull request #15696 from bojidar-bg/15646-assigned-animation
...
Fix an issue with the animation editor not seeking to the target time
2018-01-15 08:54:07 +01:00
Fabio Alessandrelli
765051e104
ViewportContainer passes input down to children viewports
2018-01-15 00:36:57 +01:00
Bernhard Liebl
77b1320fb4
Fixes wrong vertical font layout in RichTextLabel
2018-01-14 19:29:04 +01:00
Rémi Verschelde
a1a67e6e84
Merge pull request #15708 from Paulb23/current_line_clipping_issue_15427
...
Fixed current line highlighting with horizontal clipping, issue 15427
2018-01-14 17:22:09 +01:00
Paulb23
386c57cfad
Fixed current line highligting with horizontal clipping, issue 15427
2018-01-14 16:06:27 +00:00
Bojidar Marinov
f2355949c4
Fix an issue with the animation editor not seeking to the target time properly.
...
Fixes #15646 .
2018-01-14 12:28:57 +02:00
Rémi Verschelde
892568abee
Merge pull request #15670 from poke1024/fix15588
...
Fixes hangs with Tree in multi selection mode (issue 15588)
2018-01-13 17:45:03 +01:00
Bernhard Liebl
363980519c
Fixes hangs with Tree in multi selection mode (issue 15588)
2018-01-13 17:34:12 +01:00
Rémi Verschelde
69452fbc37
Merge pull request #15657 from paulloz/fix-textedit-undo-redo-selection
...
TextEdit: Fix selection issue with undo/redo
2018-01-13 17:05:46 +01:00
Paul Joannon
8ae0624c80
Deselect on undo/redo in TextEdit
2018-01-13 11:46:53 +01:00
Ruslan Mustakov
0b632be4a9
Fix get_parent_range to return 0 when there is no parent
...
Fixes #15635
2018-01-13 16:48:07 +07:00
letheed
524ee14054
Small fix for Control bindings
2018-01-13 09:40:42 +01:00
Rémi Verschelde
1ca4ad2cca
Merge pull request #15623 from kubecz3k/param-name-rename
...
modify default param names in couple of signals
2018-01-12 19:16:52 +01:00
Rémi Verschelde
187e3d1039
Merge pull request #15629 from endragor/fix-shader-property
...
Fix Material's shader property binding
2018-01-12 18:26:28 +01:00
Ruslan Mustakov
b517fc11af
Fix Material's shader property binding
...
ShaderGraph doesn't exist in 3.0.
2018-01-12 22:37:00 +07:00
Juan Linietsky
471c2d0d38
Make burley default for materials, fixes #15054
2018-01-12 11:50:08 -03:00
Unknown
5876457410
modify default param names in couple of signals
...
'name' default param should not be used since there is problem with name shadowing
2018-01-12 15:45:29 +01:00
Juan Linietsky
419705db6e
Add special coloring to members, to make shadowing more obvious.
2018-01-12 11:01:09 -03:00
Rémi Verschelde
bab9759645
Merge pull request #15606 from RandomShaper/fix-inherited-coll-shapes
...
Update collision shapes data on tree entered
2018-01-12 13:48:17 +01:00
Rémi Verschelde
2dbd3475a5
Merge pull request #15620 from AndreaCatania/p4
...
Reset collider on ray node
2018-01-12 12:49:16 +01:00
AndreaCatania
207af6c4f9
Reset collider on ray node
2018-01-12 12:31:02 +01:00
Juan Linietsky
a26e6c8215
Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification.
...
Updated doc accordingly.
2018-01-12 08:29:24 -03:00
Ian
d327f75392
TextEdit folding over unindented comments
2018-01-12 00:25:04 -05:00
Juan Linietsky
c48aab2f05
Restored multiplication by texture
2018-01-11 20:47:04 -03:00
Juan Linietsky
eb16f9939a
Removed extra multiplication in baker
2018-01-11 20:23:41 -03:00
Bojidar Marinov
9b8e8b2220
Bind many more properties to scripts
...
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
2018-01-12 00:58:14 +02:00
Rémi Verschelde
c1c17b04bd
Merge pull request #15610 from groud/fix_node_resize_setting_anchors
...
Fixes nodes being resized or moved when changing an anchor
2018-01-11 23:46:50 +01:00
Gilles Roudiere
00473e0897
Fixes nodes being resized or moved when changing an anchor
2018-01-11 23:39:49 +01:00
Rémi Verschelde
e6edbc7699
Merge pull request #15528 from AndreaCatania/p1
...
Fixed viewport node error on editor
2018-01-11 22:19:02 +01:00
Pedro J. Estébanez
aefedb73fc
Update collision shapes data on tree entered
...
This is needed because the final startup values for shapes may change between parenting and entering the scene tree. For instance, if the collision shape belongs to a inherited scene.
Fixes #13835 .
2018-01-11 21:08:58 +01:00
Juan Linietsky
9a62829759
Merge pull request #15531 from AndreaCatania/p2
...
Fixed crash on duplicate GIProbe baking
2018-01-11 16:44:18 -03:00
Juan Linietsky
5398363572
solved particle memory leak, fixes #15591
2018-01-11 16:04:12 -03:00
AndreaCatania
09a6a74074
Forced no duplication of animation data
2018-01-11 19:52:46 +01:00
AndreaCatania
5ac441131e
Fixed crash on duplicate GIProbe baking
2018-01-11 19:50:33 +01:00
AndreaCatania
b77968dea3
Fixed resource setup handling
2018-01-11 19:26:28 +01:00
Rémi Verschelde
c5b66daec8
Merge pull request #15595 from endragor/fix-light-data-type
...
Fix registered light_data property type name
2018-01-11 15:27:27 +01:00
Ruslan Mustakov
0d83e20236
Fix registered light_data property type name
2018-01-11 19:53:54 +07:00
Paul Joannon
842cb1ad8c
set a better initial size to TextEdit nodes
...
Address #15163
2018-01-11 12:11:44 +01:00
Rémi Verschelde
2c17af0509
Merge pull request #15579 from damarindra/add-receptor-tileset
...
fix updating tileset list when assign texture and set autotile true
2018-01-11 11:15:42 +01:00
poke1024
c1db81b9ed
Fixes empty line selection when scrolling
2018-01-11 06:51:20 +01:00
damarindra
bea40343ab
fix updating tileset list when assign texture and set autotile true
2018-01-11 05:50:36 +07:00
Rémi Verschelde
415d128249
Merge pull request #15530 from akien-mga/signal-args
...
Fix signal arguments shadowing member variables
2018-01-10 10:38:28 +01:00
Konrad Nowakowski
c73589305e
Fix bitwise NOT operator on BitMap's set_bit
2018-01-09 21:11:16 +00:00
Rémi Verschelde
4b6bef6524
Fix signal arguments shadowing member variables
...
Fixes #10212 .
2018-01-09 16:51:19 +01:00
Rémi Verschelde
e1c799f1b4
Merge pull request #15495 from poke1024/font-oversampling
...
Two potential glitches in font oversampling
2018-01-09 16:03:13 +01:00
Jerome67000
b72c9b85d0
Change primitive meshes acccuracy value
2018-01-09 13:41:59 +01:00
Rémi Verschelde
4b414f45c4
Merge pull request #15507 from poke1024/fix15106
...
Fix whole word search missing occurences
2018-01-08 22:59:16 +01:00
Bernhard Liebl
3af5dfbbf3
Fix whole word search missing occurences
2018-01-08 22:50:33 +01:00
Rémi Verschelde
05297d8b39
Merge pull request #15060 from poke1024/camera2d-update
...
Update Camera2D scroll using NOTIFICATION_INTERNAL_PROCESS
2018-01-08 19:31:50 +01:00
Bernhard Liebl
d4adcf3fa2
Update Camera2D scroll using NOTIFICATION_INTERNAL_PROCESS
2018-01-08 18:29:22 +01:00
Bernhard Liebl
a64dc5af74
Two potential glitches in font oversampling
2018-01-08 18:09:41 +01:00
Juan Linietsky
c791c1d48e
Merge pull request #14907 from scayze/rigid_vehicle
...
Added RigidBody functionality to VehicleBody
2018-01-08 11:50:49 -03:00
Rémi Verschelde
380169e3ef
Merge pull request #15446 from marcelofg55/video_mix_rate
...
Fix Video Player issue with audio mix_rate when different than 44100
2018-01-07 17:06:22 +01:00
Rémi Verschelde
1b098e6466
Merge pull request #15445 from poke1024/fix15392
...
Fix stale dynamic font reference fetch from cache
2018-01-07 17:05:16 +01:00
Marcelo Fernandez
6fc1801b6a
Fix Video Player issue with audio mix_rate when different than 44100
2018-01-07 12:57:48 -03:00
Bernhard Liebl
526e637a97
Fix stale dynamic font reference fetch from cache
...
Seems to fix issue 15392
2018-01-07 16:57:23 +01:00
Bernhard Liebl
249521670d
Corrects wrong scrolling for short popups broken in 15405
2018-01-07 02:19:11 +01:00
Scayze
4a201ade76
Added RigidBody functionality to VehicleBody
2018-01-07 00:18:42 +01:00
Ian
b3ad2538d0
fix center viewport out of size error, #15411
2018-01-06 18:06:09 -05:00
Juan Linietsky
9cf19f8dee
Ensure depth reads go via alpha render list, fixes #14759
2018-01-06 17:38:39 -03:00
Juan Linietsky
50b975548d
Removed PBM bitmap loader, added abiliy to importi mages as bitmap. Fixes #14828
2018-01-06 16:38:36 -03:00
Rémi Verschelde
b6989d0b51
Merge pull request #15412 from poke1024/fix-tree-get-rect-crash
...
Fix crash when calling tree API before NOTIFICATION_ENTER_TREE
2018-01-06 19:56:29 +01:00
Rémi Verschelde
b77c6d43a8
Merge pull request #15405 from poke1024/fix-popup-scroll
...
Allow popup menu scrolling without mouse wheel
2018-01-06 19:55:36 +01:00
Bernhard Liebl
4cbe726cf5
Fix crash when calling tree API before NOTIFICATION_ENTER_TREE
2018-01-06 19:48:54 +01:00
Bernhard Liebl
3f9a7da857
Allow popup menu scrolling without mouse wheel
2018-01-06 16:21:27 +01:00
Poommetee Ketson
768fd83e61
Fix typo in new strings
2018-01-06 21:33:11 +07:00
volzhs
13af5e8878
Remove button from button_group when free
2018-01-06 06:06:22 +09:00
Juan Linietsky
90d47ae23d
Force button release when window focuses out, fixes #15318 and likely many other issues.
2018-01-05 15:40:08 -03:00
Fabio Alessandrelli
a63a82d5e5
Fix theme inheritance
2018-01-05 18:30:40 +01:00
Bernhard Liebl
85ecd79012
Boost drawing speed of ItemLists with many items
2018-01-05 17:40:53 +01:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
92e114edfd
Merge pull request #15335 from volzhs/popup-menu
...
Fix PopupMenu to show & detect properly hover area
2018-01-04 19:54:19 +01:00
Rémi Verschelde
32bb236f24
Merge pull request #15334 from poke1024/textedit-mousepos
...
Fix TextEdit::_get_mouse_pos rounding errors
2018-01-04 19:53:43 +01:00
volzhs
f2d531bd43
Fix PopupMenu to show & detect properly hover area
...
Fix #15275
2018-01-05 02:37:46 +09:00
Bernhard Liebl
cc64679a20
Fix TextEdit::_get_mouse_pos rounding errors
2018-01-04 18:30:15 +01:00
Rémi Verschelde
dc2cc6bc2b
Merge pull request #15186 from GodotExplorer/default-theme
...
Fix errors with custom theme and custom font in project settings.
2018-01-04 14:50:15 +01:00
Rémi Verschelde
94bda27659
Merge pull request #15317 from poke1024/fix-rtl-underline
...
RichTextLabel: don't draw underline character-wise
2018-01-04 13:30:00 +01:00
Bernhard Liebl
e74e2763bd
RichTextLabel: don't draw underline on single characters
2018-01-04 12:10:29 +01:00
Rémi Verschelde
465d66be67
Merge pull request #15314 from poke1024/tree-rlines
...
Tree: only draw visible relationship lines
2018-01-04 10:33:55 +01:00
Bernhard Liebl
e9aa6f2943
Tree: only draw visible relationship lines
2018-01-04 10:03:46 +01:00
Rémi Verschelde
59ce175767
Merge pull request #15312 from poke1024/fix-rtl-table-wrap
...
Fixes word wrapping in tables in RichTextLabel
2018-01-04 09:07:31 +01:00
Bernhard Liebl
c6c016e95a
Fix word wrapping in tables in RichTextLabel
2018-01-04 08:22:41 +01:00
firefly2442
f066991aa7
found via cppcheck:
...
remove code that will never run
make definition and declaration names for parameters match
change floats that were being set to bool values
remove pointer that is never used
2018-01-03 21:23:48 -07:00
Rémi Verschelde
023c04689e
Merge pull request #15308 from ianb96/horizontal_scrolling
...
TextEdit horizontal scrolling with shift
2018-01-04 01:35:38 +01:00
Rémi Verschelde
d65ac7378c
Fix crash in OS::execute on FreeBSD
...
As spotted by @robfram, closes #15288 .
Also reviewed other uses of `if (String.find(.*))` for potential similar mistakes, found a wrong (and useless) one in ScriptEditorDialog.
2018-01-04 01:20:20 +01:00
Rémi Verschelde
f9f6f250e6
Merge pull request #15191 from Jerome67000/z_renaming
...
renames "z" Node2D property to "z_index"
2018-01-04 00:41:45 +01:00
Ian
ae6b7c0b41
TextEdit horizontal scrolling with shift
2018-01-03 17:21:54 -05:00
Juan Linietsky
cd63407aa4
Avoid crashes in skeleton
2018-01-03 17:27:31 -03:00
Jerome67000
42ae3525a3
#15078 renamed "z" -> "z_index" property in Node2D
2018-01-03 13:02:26 +01:00
Rémi Verschelde
ffd6838704
Merge pull request #15192 from volzhs/expose-quit-on-go-back
...
Bind SceneTree::set_quit_on_go_back() to gdscript
2018-01-03 12:14:16 +01:00
Rémi Verschelde
b23f7bc923
Merge pull request #15161 from volzhs/tween-follow
...
Fix Tween follow not working
2018-01-03 11:45:19 +01:00
Rémi Verschelde
e3c744f9f1
Merge pull request #15127 from poke1024/smooth-scroll-play
...
Remove some lagginess from TextEdit's smooth scrolling
2018-01-03 11:34:42 +01:00
Rémi Verschelde
fd5f193da5
Merge pull request #15103 from poke1024/lineedit-key-up-down
...
Support KEY_UP and KEY_DOWN in LineEdit
2018-01-03 11:32:31 +01:00
Rémi Verschelde
48962db5b4
Merge pull request #15132 from RandomShaper/fix-multiple-finish
...
Fix AnimationPlayer redundantly signaling finish
2018-01-03 11:24:48 +01:00
Rémi Verschelde
459ee51338
Merge pull request #15093 from poke1024/canvas-editor-select
...
More exact picking for canvas editor
2018-01-03 11:15:28 +01:00
Rémi Verschelde
592b0fc068
Merge pull request #15063 from poke1024/textedit-select-last-line
...
Fix key down on last line in TextEdit
2018-01-03 10:30:51 +01:00
Rémi Verschelde
6cd33f17f7
Merge pull request #14792 from Krakean/enh-1
...
A few small Debugger->Errors tab enhancements:
2018-01-03 10:26:55 +01:00
Juan Linietsky
14772d2213
Merge pull request #15083 from tagcup/spatial_rot_fix
...
Restore the behavior of Spatial rotations recently changed in c1153f5
.
2018-01-02 15:02:19 -03:00
Rémi Verschelde
d7d8fc6c20
Merge pull request #14983 from Paulb23/keyboard_selection_issue_14675
...
Fixed keyboard word selection when at the start/end of line, issue 14675
2018-01-02 11:19:34 +01:00
Ryan Stein
3c9ee75e26
Use exact positioning for the ItemList::get_tooltip method.
2018-01-01 22:46:32 -05:00
MrCdK
5bc010e8ee
Added pitch scale property to AudioStreamPlayer, AudioStreamPlayer2D and AudioStreamPlayer3D
2018-01-01 22:23:16 +01:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Noshyaar
7d0212f4eb
Merge pull request #14953 from poke1024/fix-toolbar-gesture
...
Hide tooltip on gesture input
2018-01-01 18:53:11 +07:00
Noshyaar
97d7f689e1
Merge pull request #14972 from poke1024/fix-unindent-col-0
...
Fix unindent (shift-tab) on column 0
2018-01-01 18:52:06 +07:00
Noshyaar
a6328011d8
Merge pull request #14973 from poke1024/docs-word-selection
...
Double-click word selection for RichTextLabel (i.e. docs)
2018-01-01 18:51:35 +07:00
Noshyaar
45612f1657
Merge pull request #15121 from yanorax/treeitem_set_text_align_fix
...
Fix TreeItem cell text alignment
2018-01-01 18:47:35 +07:00
firefly2442
6af109cd99
change float to bool as correct type
2017-12-30 22:14:27 -07:00
volzhs
c132d873b1
Bind SceneTree::set_quit_on_go_back() to gdscript
...
Fix #15189
2017-12-30 21:15:17 +09:00
geequlim
bd0a9f4bd6
Fix errors with custom default theme and custom fonts.
2017-12-30 17:30:37 +08:00
Juan Linietsky
c595aff4a3
avoid error on setting skeleton from transform changed
2017-12-29 12:36:44 -03:00
Juan Linietsky
2de70698ae
Missing transform notification for Skeleton.
2017-12-29 11:55:34 -03:00
Juan Linietsky
448b58ba4c
Use a different approach to update skeletons when transform changes
2017-12-29 11:34:36 -03:00
Juan Linietsky
a54e3f72ce
Update the skeleton on transform
2017-12-29 10:54:24 -03:00
volzhs
c3f59f290c
Fix Tween follow not working
...
Fix regression from 7609efe757
2017-12-29 21:59:45 +09:00
Pedro J. Estébanez
9c3fbfc9db
Fix AnimationPlayer redundantly signaling finish
...
Now it will emit only when actually going from not-finished-yet to finished, as has always been the case.
The bug was a side effect of 2d2467c0ff
.
2017-12-28 21:48:09 +01:00
Juan Linietsky
f11a138505
Added more hacks to GLTF2 importer to support crap exporter (MakeHuman in this case), fixes #13393
2017-12-28 16:07:45 -03:00
Bernhard Liebl
2897523d12
Fix unindent (shift-tab) on column 0 and more
2017-12-28 17:48:40 +01:00
Bernhard Liebl
b80bc553dd
Double-click word selection for RichTextLabel (i.e. docs)
2017-12-28 17:44:22 +01:00
Bernhard Liebl
d640542f6d
Remove some lagginess from TextEdit's smooth scrolling
2017-12-28 15:49:37 +01:00
yanorax
8627de2794
Fix TreeItem cell text alignment
2017-12-29 00:23:57 +11:00
Bernhard Liebl
098bcf55d0
More efficient subwindow handling
2017-12-28 11:27:43 +01:00
tagcup
e9896b17a9
Restore the behavior of Spatial rotations recently changed in c1153f5
.
...
That change was borne out of a confusion regarding the meaning of "local" in #14569 .
Affine transformations in Spatial simply correspond to affine operations of its Transform. Such operations take place in a coordinate system that is defined by the parent Spatial. When there is no parent, they correspond to operations in the global coordinate system.
This coordinate system, which is relative to the parent, has been referred to as the local coordinate system in the docs so far, but this sloppy language has apparently confused some users, making them think that the local coordinate system refers to the one whose axes are "painted" on the Spatial node itself.
To avoid such conceptual conflations and misunderstandings in the future, the parent-relative local system is now referred to as "parent-local", and the object-relative local system is called "object-local" in the docs.
This commit adds the functionality "requested" in #14569 , not by changing how rotate/scale/translate works, but by adding new rotate_object_local, scale_object_local and translate_object_local functions. Also, for completeness, there is now global_scale.
This commit also updates another part of the docs regarding the rotation property of Spatial, which also leads to confusion among some users.
2017-12-27 16:40:49 -05:00
Bernhard Liebl
8505871a87
More exact picking for canvas editor
2017-12-27 20:24:58 +01:00
Bernhard Liebl
414c60aee7
Support KEY_UP and KEY_DOWN in LineEdit
2017-12-27 17:04:07 +01:00
Noshyaar
5c636875e4
Merge pull request #14971 from mrcdk/particles_emitting
...
Set particles emitting to false when particles finish emitting with one-shot enabled
2017-12-27 10:45:36 +07:00
Noshyaar
e6b6683694
Merge pull request #14991 from djrm/pr_fixes
...
Show Options Dialog for NodePath and File in clicked button position.
2017-12-27 10:29:25 +07:00
Noshyaar
ab444a8ca9
Merge pull request #14996 from neikeq/enums-mono
...
Mono: Make the bindings generator output enums
2017-12-27 10:29:00 +07:00
Noshyaar
d26b6f284f
Merge pull request #15008 from AlmightyScientist/issue-15000
...
Animation Tree: Prevent cycle_test from being altered by past-test.
2017-12-27 10:28:12 +07:00
Noshyaar
07d0f2e72b
Merge pull request #15046 from YeldhamDev/optionbutton_changes
...
Added "get_popup" method for OptionButton
2017-12-27 10:22:22 +07:00
Noshyaar
198bb5309d
Merge pull request #15049 from YeldhamDev/get_popup_const
...
Made MenuButton and ColorPickerButton's "get_popup" methods return constant
2017-12-27 10:20:56 +07:00
Ian
19c3f4c4c1
fix indent selection crash
2017-12-26 12:13:17 -08:00
PJB3005
7f0a1c1780
Hiding a control now fires NOTIFICATION_FOCUS_EXIT.
...
It always removed the focus from the control, but this happened without firing the relevant notification.
2017-12-26 20:58:53 +01:00
Juan Linietsky
c2240a2a71
A promise is a promise, so added ability to load and save shaders as text files, closes #14431
2017-12-26 13:52:09 -03:00
Juan Linietsky
edd3bd8cb8
Ability to set flags via code in StreamTexture, as some users find it useful. Fixes #14526 .
2017-12-26 12:50:46 -03:00
Juan Linietsky
c1153f5041
Change the rotate function of Spatial to be local, makes more sense. Closes #14569
2017-12-26 12:45:56 -03:00
Juan Linietsky
02e883713a
Merge pull request #14977 from volzhs/fix-crash-group
...
Fix crash & error at saving scene
2017-12-26 11:43:02 -03:00
Juan Linietsky
2b31155baa
Fix sidedness check in material. Also remove SIDE built-in.
2017-12-26 11:09:52 -03:00
Juan Linietsky
4a2eef4ad8
Removed the InputEvent ID field, which was unused and can cause bugs.
2017-12-26 09:49:31 -03:00
Bernhard Liebl
076a5f35fc
Fix shift-key down on last line in TextEdit
2017-12-26 08:32:30 +01:00
Andreas Haas
37aab45091
Merge pull request #15040 from Noshyaar/pr2
...
AnimTreePlayer: fix duplicated properties
2017-12-25 17:47:29 +00:00
Michael Alexsander Silva Dias
23080c7ed7
Made MenuButton and ColorPickerButton's "get_popup" methods return constant.
2017-12-25 14:03:53 -02:00
Michael Alexsander Silva Dias
096b5a65c6
Added "get_popup" method for OptionButton and minor changes.
2017-12-25 13:49:27 -02:00
Poommetee Ketson
6c897707ca
Add missing parameter names
2017-12-25 21:19:56 +07:00
Poommetee Ketson
f9c2cfbe31
AnimTreePlayer: fix duplicated properties
2017-12-25 19:26:39 +07:00
Noshyaar
256a60bc6e
Merge pull request #14826 from carlosfvieira/14371-F_key_Viewport_focus_problem
...
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys)
2017-12-25 08:42:31 +07:00
Noshyaar
deda8974df
Merge pull request #14853 from MattUV/context-menu
...
Adds an option to move cursor with right click in TextEdit
2017-12-25 08:40:20 +07:00
Noshyaar
24515266a1
Merge pull request #14875 from YeldhamDev/splitcontainer_cursor
...
Fixed SplitContainer showing the "resize" cursor when it shouldn't
2017-12-25 08:37:52 +07:00
Noshyaar
a483edbddd
Merge pull request #14899 from volzhs/render-quality-option
...
Respect HDR option
2017-12-25 08:36:46 +07:00
Noshyaar
aab4434d76
Merge pull request #14801 from RayKoopa/insert_tree_item
...
Tree: Insert new item, fix behavior when no parent given
2017-12-25 08:35:31 +07:00
Noshyaar
1348b087e6
Merge pull request #14753 from NathanWarden/mouse_button_fix
...
Fixed a bug where mouse button focus breaks when using multiple buttons at once.
2017-12-25 08:33:42 +07:00
volzhs
ff68b80df7
Fix error if scene has Camera at saving scene
2017-12-25 02:43:37 +09:00
AlmightyScientist
7ace1f2494
Animation Tree: Prevent cycle_test from being altered by past-test.
2017-12-24 18:21:59 +01:00
volzhs
d6a88cdc41
Fix crash from move_child at saving scene
2017-12-25 01:31:13 +09:00
Juan Linietsky
021f3c924b
-Removed OpenMP support, replaced by a custom class.
...
-Disabled Opus, implementation is wrong.
2017-12-24 09:32:12 -03:00
Ignacio Etcheverry
0a0a44da8d
Mono: Make the bindings generator output enums
...
- Switch to PascalCase for constants names
2017-12-24 04:20:41 +01:00
Daniel J. Ramirez
07fd5456c8
Show Options Dialog for NodePath and File in clicked button position.
...
Auto select newly created nodes.
2017-12-23 15:15:48 -06:00
Paulb23
a11a691b17
Fixed keyboard word selection when at the start/end of line, issue 14675
2017-12-23 14:47:04 +00:00
MrCdK
1f609b7a82
Set particles emitting to false when particles finish emitting with one-shot enabled
2017-12-23 05:23:41 +01:00
Rémi Verschelde
7d9b7f9c47
Merge pull request #14897 from BastiaanOlij/arvr_tweaks
...
Few small tweaks for ARVR
2017-12-23 00:59:09 +01:00
Daniel J. Ramirez
1696db8f00
Fixes 3d camera keep aspect.
2017-12-22 14:24:38 -06:00
Bernhard Liebl
27afa8813d
Hide tooltip on gesture input
2017-12-22 19:39:23 +01:00
Rémi Verschelde
3068ccc8e6
Merge pull request #14913 from poke1024/tooltip-shortcut-names
...
Consistent display of shortcut names in tooltips
2017-12-21 22:47:50 +01:00
Juan Linietsky
7d0cabe9d3
Change skeleton processing to work on global coordinates, should help fix many import problems from Blender, GLTF2, etc.
2017-12-21 17:36:39 -03:00
poke1024
22d87f20fa
Consistent display of shortcut names in tooltips
2017-12-21 20:17:30 +01:00
Bastiaan Olij
6fd51b6a1b
Reserved controller ids 1 and 2 for left and right hand controllers and added new center on hmd option
2017-12-22 01:21:23 +11:00
Juan Linietsky
1fa9aac3e4
-Make capture dependent on a cell size, not subdivision.
...
-Fixed a bug recently introduced when releasing mouse events and calling popups
2017-12-21 11:05:55 -03:00
volzhs
0856259d19
Respect HDR option
2017-12-21 22:49:55 +09:00
carlosfvieira
49859871d9
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
...
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
2017-12-21 11:29:17 +00:00
Michael Alexsander Silva Dias
e3c1305027
Fixed wrong Project Settings direction on an error message.
2017-12-20 22:06:43 -02:00
Juan Linietsky
feef500b39
properly send mouse released event when grabbing modal focus, fixes #14854
2017-12-20 18:03:48 -03:00
Michael Alexsander Silva Dias
274b3db0d9
Fixed SplitContainer showing the "resize" cursor when it shouldn't.
2017-12-20 18:20:23 -02:00
Hein-Pieter van Braam
0db5123548
Prevent false sharing in lightbaker RNG state
...
The previous commit corrected the RNG behavior for the lightbaker but
also made it significantly slower on high core count systems. Due to the
vector of states being physically close together in RAM we force a cache
synchronization across all cores whenever we call for the next random
number to be generated.
This will create a temporary local copy of the RNG state before entering
the loop and then saving it back to the global state when done. This
will preserve the per-thread RNG state (and random number quality) while
significantly improving performance.
On my 16 thread box it saves 3 minutes baking the Sponza scene, bringing
performance back in line to before the various RNG fixes were
introduced, being slightly faster than the first implementation.
2017-12-20 14:37:00 +01:00
Hein-Pieter van Braam
ccbb5923ac
Fix lightmapper rng
...
In our previous attempts to fix the lightmapper we may have
inadvertently introduced the same issue we were trying to fix. It
appears that rand() will on some platforms introduce a mutex making it
slower and on others may have a per-thread state that would need to be
initialized with srand() on each thread. This slows down the lightbaking
further.
This sets up a separate rng state for each OpenMP thread by calling
rand() only in the single-threaded part of the code. We then keep a
vector of states.
I believe this solves our problems.
2017-12-20 12:09:09 +01:00
MattUV
a55870cd81
Adds an option to move cursor with right click in TextEdit
...
Fixes #14832
- Added an option in the editor settings/cursor to make the cursor move with right click.
- If the option is activated (true by default), a right click will move the cursor before displaying context menu.
- If there is a selection, a right click on it will keep it selected, a right click outside it will unselect it.
- The option is available in textEdit via an inspector property (or via GDScript): caret_moving_by_right_click
- The option is available in the script editor and the shader editor via the editor settings
- The documentation has been updated with the new property, and a few other entries in TextEdit.xml.
2017-12-20 09:01:09 +01:00
Juan Linietsky
b08735f209
Make dynamic font oversampling fully dynamic.
2017-12-19 21:58:32 -03:00
Hein-Pieter van Braam
7a10d3ab78
Correct license headers in main.cpp and voxel_light_baker.cpp
...
Sorry for the churn
2017-12-20 01:04:30 +01:00
Hein-Pieter van Braam
9fa5a588f0
Fix lightbaker clang-format issue and add license headers
2017-12-20 01:02:03 +01:00
Hein-Pieter van Braam
ff04c07912
Lightbaker: include stdlib.h to fix CI builds
2017-12-20 00:29:27 +01:00