Hugo Locurcio
fa0e66a88f
Draw the outline as part of the Label font shadow
...
This closes #30165 .
2019-06-28 23:21:55 +02:00
Chaosus
eeabb132ec
Auto-change file extension in EditorFileDialog when filter changes
2019-06-28 18:35:24 +03:00
Chaosus
eb6e260918
Fix some bugs inside ColorPicker
2019-06-28 17:25:00 +03:00
Zak
d29b1b7917
Fix ReferenceRect node
...
ReferenceRect node by default was only displaying in the editor and not when the game is running.
2019-06-28 12:42:42 +03:00
Bojidar Marinov
583f7adb51
Allow ColisionObject2D to get shapes from tilemaps
...
Fixes #4454 and likely resolves #22285
2019-06-27 21:16:54 +03:00
Rémi Verschelde
0636f709af
Merge pull request #29937 from clayjohn/particles-one-shot-bug
...
Update emitting status on one-shot particles
2019-06-27 17:29:40 +02:00
Bojidar Marinov
0c4c36d823
Add default values to the editor help, docs, and generated RST
...
Also, make spacing of "=" in the editor help a bit more consistent.
Closes #16086
2019-06-27 18:29:35 +03:00
Rémi Verschelde
f35fd681ac
Merge pull request #30114 from Chaosus/vs_context_menu
...
Shows menu when dragging connection on empty space in visual shader
2019-06-27 15:14:54 +02:00
Rémi Verschelde
86ed7a9884
doc: Complete and harmonize all _MAX constant descriptions
2019-06-27 11:10:53 +02:00
Chaosus
0aec3c3113
Shows menu when dragging connection on empty space in visual shader graph
2019-06-27 10:48:18 +03:00
Rémi Verschelde
eaaff9da31
Merge pull request #29941 from qarmin/redundant_code_and_others
...
Remove redundant code, possible NULL pointers and others
2019-06-27 01:05:18 +02:00
Tomasz Chabora
00b15c19b7
Add a Direction property to ParticlesMaterial
2019-06-26 20:37:39 +02:00
Rémi Verschelde
6e9272eea8
Node: Fix logic of has/get_node_and_resource and document it
...
Also document NodePath.
2019-06-26 15:46:32 +02:00
qarmin
4e5310cc60
Some code changed with Clang-Tidy
2019-06-26 15:08:25 +02:00
clayjohn
d59dbda24f
update emitting status on one-shot particles
2019-06-25 22:07:29 -07:00
Rémi Verschelde
18b62d5019
Merge pull request #30053 from guilhermefelipecgs/fix_popup_centered
...
Fix Popup::popup_centered not centralizing at the first call
2019-06-25 17:46:57 +02:00
Guilherme Felipe
54653565a4
Fix Popup::popup_centered not centering at the first call
2019-06-25 12:04:29 -03:00
Rémi Verschelde
93a67dba37
Merge pull request #30002 from GlaceGwyneth/master
...
Give LineEdit/TextEdit a custom color for font while uneditable
2019-06-25 13:05:27 +02:00
Rémi Verschelde
b966ee49b2
Merge pull request #29979 from flomar/master
...
Line edit placeholders now react properly to translation changes.
2019-06-25 08:59:31 +02:00
Gwyneth Lowe
45f78d786a
Give TextEdit a custom color for font when read only is set
...
Previously there was some transparency hard coded into TextEdit when in read only mode.
This change adds a custom color for adjusting the font in read only mode.
It also applies when syntax highlighting is on.
2019-06-24 20:00:05 -05:00
Gwyneth Lowe
f07e5ac153
Give LineEdit a custom font color when un-editable
...
By default the LineEdit's text when editable is unchecked had some transparency hardcoded.
This change adds a custom color to LineEdit for adjusting the font when editable is off.
Addresses issue 29814
2019-06-24 20:00:05 -05:00
Florian Marchal
0f2b25f83e
Line edit placeholders now react properly to translation changes.
2019-06-24 23:22:20 +02:00
Rémi Verschelde
6fbd045845
Merge pull request #29913 from eligt/fix-editor-help
...
Ensure indentation works properly in rich text
2019-06-24 22:59:59 +02:00
Rémi Verschelde
29cddef895
Merge pull request #29940 from jonri/fix-vehicle-contact
...
Prevent VehicleBody contact damping from exceeding the baseline value…
2019-06-24 22:58:46 +02:00
Rémi Verschelde
f34c8015cb
Area2D: Fix argument type of body_* signals
...
Those signals receive either a PhysicsBody2D or a TileMap object,
and what the emitting method checks internally is only that the
object is a Node. In theory any Node could go through these signals
if they talk directly to the PhysicsServer2D.
Also updated docs.
Fixes #27076 .
Might need further (compat breaking) improvement as this API is a
bit confusing, cf. #24739 .
2019-06-24 21:40:31 +02:00
Rémi Verschelde
efa4264633
Merge pull request #30009 from Anutrix/tree-icons-height-fix
...
Fixed script and visibility icons's highlight height in tree
2019-06-24 18:55:44 +02:00
Rémi Verschelde
908a50739a
Merge pull request #30031 from qarmin/prevent_setting_bad_index_enums
...
Set to enum variables, only correct values
2019-06-24 18:34:23 +02:00
qarmin
33c15799c7
Set to enum variables, only correct values
2019-06-24 14:53:26 +02:00
Rémi Verschelde
25022a1d89
Merge pull request #29974 from clayjohn/particles_restart
...
Properly set emitting when particles restart
2019-06-24 13:48:56 +02:00
Gwyneth Lowe
7142064110
Correct typo that broke custom selected font color
...
Change several font_selected_color to font_color_selected; the actual name of the override
2019-06-24 04:55:29 -05:00
Rémi Verschelde
0099122706
Merge pull request #24764 from SoIAS/double_clicking_24444
...
Center script line when double clicked on error in debugger
2019-06-23 23:53:06 +02:00
Rémi Verschelde
87039af95b
Merge pull request #29987 from Chaosus/fix_crashes
...
Fix expression node crashes
2019-06-23 20:36:44 +02:00
unknown
c58b7ab094
Fixed script and visibility icons's highlight height in tree
2019-06-23 22:26:24 +05:30
Dawid Wdowiak
0f14489ecb
Center script line when double clicked on error in debugger
2019-06-23 15:58:07 +02:00
Rémi Verschelde
e294f0872e
TileSet: Don't error out on tile_ getters with wrong shape id
...
Partial revert of 02319dceb2
,
previous code handled this cases without errors and the TileSet and
TileSetEditorPlugin are written with the expectation that those will
not error out.
This is a bit wonky and these classes should likely be refactored,
but until then it's best to keep things as they were.
Fixes #29962 .
2019-06-23 13:57:53 +02:00
Chaosus
7bed1a0f21
Fix expression node crashes
2019-06-22 17:41:51 +03:00
clayjohn
64ecc8a5a3
properly set emitting when particles restart
2019-06-21 22:33:11 -07:00
Rémi Verschelde
ee07560abf
Curve: Prevent forcing 1.0 min value to 0.99
...
The setters are called when the property is first initialized, and before
that its default min and max are 0.0 and 1.0 respectively.
If you configured min_value to 1.0 and max_value to e.g. 3.0, since the
min_value setter can be called before that of max_value (which thus still
defaults to 1.0), the min will be set to 0.99.
Same conflict could happen with a configured max_value of 0 if its setter
is called before that of a valid, negative min value.
2019-06-21 16:08:45 +02:00
Rémi Verschelde
b3fe249e94
CPUParticles: Set linear velocity to 0, like GPU Particles
2019-06-21 15:23:48 +02:00
Rémi Verschelde
fae3df1204
Particles: Properly initialize angular velocity parameter
...
Right now it would take garbage values when loading scenes,
which could end up written to the scene file.
2019-06-21 15:23:10 +02:00
qarmin
c77ff48a85
Fix some editor crashes
2019-06-21 11:34:32 +02:00
Rémi Verschelde
5c66771e3e
Merge pull request #29283 from qarmin/fix_some_always_same_values
...
Remove always true/false values
2019-06-20 21:10:10 +02:00
qarmin
532a7ba06a
Fix TextEdit Select
2019-06-20 17:13:16 +02:00
qarmin
072e40368e
Fix always true/false values
2019-06-20 16:59:48 +02:00
Rémi Verschelde
8591691b9b
Merge pull request #24249 from zorbathut/zorbathut/animimmediate
...
Implement AnimationPlayer call modes as per #23498 .
2019-06-20 13:04:34 +02:00
Elia Sarti
81065d53df
Fix for #29810
...
Ensure indentation works properly in rich text
Fix formatting
2019-06-20 11:42:25 +01:00
Rémi Verschelde
300d4dfd54
Merge pull request #25573 from nekomatata/button-shortcut-fix
...
Fixed shortcut events in BaseButton (now acts the same as ui_accept action)
2019-06-20 12:06:31 +02:00
Rémi Verschelde
b9f8e072ce
Merge pull request #26205 from Calinou/spatialmaterial-use-packed-channels
...
Tweak SpatialMaterial's default metallic and roughness texture channels
2019-06-20 11:46:01 +02:00
PouleyKetchoupp
1e6fa5d1a5
Fixed shortcut events in BaseButton (now acts the same as ui_accept action)
2019-06-20 09:13:23 +02:00
Rémi Verschelde
5a29be31b3
Merge pull request #27188 from samH-FIT/MacroUpdate
...
Made use of semicolons after GDCLASS more consistent, added semicolons where I found them missing.
2019-06-19 22:59:49 +02:00
Rémi Verschelde
02ed4b392c
Merge pull request #29902 from KoBeWi/dem_setters
...
Fix set_pick_color error
2019-06-19 20:43:15 +02:00
Tristan Grespinet
14f8ed3317
Added a Width Curve to Line2D + UVs fix
2019-06-19 15:44:07 +02:00
JohnJLight
38d3bfe971
Made use of semicolons more consitent, fixed formatting
2019-06-19 15:24:31 +02:00
Rémi Verschelde
30cbe28677
Merge pull request #27310 from KoBeWi/angular_dank
...
Make angular_damp of new Area nodes match the global default
2019-06-19 15:00:44 +02:00
Tomasz Chabora
9bdf110840
Fix set_pick_color error
2019-06-19 14:52:54 +02:00
Rémi Verschelde
d7af08aa95
Merge pull request #27389 from YeldhamDev/acceptdiag_label_wrap
...
Add option to enable autowrapping for label inside 'AcceptDialog'
2019-06-19 14:46:32 +02:00
Rémi Verschelde
66a854da78
Merge pull request #29878 from Dentrax/fixes
...
Added ERR_FAIL checks for `Animation::track_set_key_value` and `AnimationNodeStateMachine::remove_node`
2019-06-19 14:18:52 +02:00
Rémi Verschelde
bb0aeb4874
Merge pull request #28659 from KoBeWi/rainbow_mode
...
Add HSV mode to color picker
2019-06-19 12:41:51 +02:00
Furkan Türkal
09907a28b3
added forgotten err_fail_index check
2019-06-19 13:07:18 +03:00
Jon Ring
b2d433c4a8
Prevent VehicleBody contact damping from exceeding the baseline value when roll influence is very small.
...
When contact damping exceeds 1.0, the wheels will lose grip when the vehicle is not moving.
2019-06-18 17:40:49 -04:00
Rémi Verschelde
d6176db271
Unexpose subclasses of ResourceFormatLoader and -Saver
...
ResourceFormatLoader and ResourceFormatSaver are meant to be overridden
to add support for different formats in ResourceLoader and ResourceSaver.
Those should be exposed as they can be overridden in plugins.
On the other hand, all predefined subclasses of those two base classes
are only meant to register support for new file and resource types, but
should not and cannot be used directly from script, so they should not
be exposed.
Also unexposed ResourceImporterOGGVorbis (and thus its base class
ResourceImporter) which are editor-only.
2019-06-18 17:56:23 +02:00
Rémi Verschelde
d61d1af64d
Merge pull request #29489 from groud/fixes_nan
...
Fixes NaN errors with anchors mode
2019-06-18 09:53:25 +02:00
clayjohn
7d1ee6d3c3
change emit shape circle to sphere in CPUParticles2D
2019-06-17 11:59:31 -07:00
Rémi Verschelde
3b3ba7d179
Merge pull request #29847 from yurchor/master
...
Fix minor typos
2019-06-17 17:28:55 +02:00
Rémi Verschelde
1d93b4abef
Merge pull request #29633 from jbuck3/optionbutton-selection
...
Connect OptionButton selection to menu's "index_pressed" signal
2019-06-17 16:56:16 +02:00
Yuri Chornoivan
340c2c0584
Fix minor typos
2019-06-17 15:11:49 +03:00
Rémi Verschelde
24ee8c3566
Add script to fix style issues and copyright headers
...
This is only meant to check the validity of the whole codebase every
now and then, or to apply clang-format config changes when relevant.
2019-06-17 13:35:47 +02:00
Rémi Verschelde
2935caa13f
Merge pull request #29838 from KoBeWi/4real
...
Fix selection undo... for real
2019-06-17 11:07:26 +02:00
Rémi Verschelde
e7c8682075
Merge pull request #29835 from Calinou/tweak-editor-property-hints
...
Tweak some editor property hints to be more flexible and consistent
2019-06-17 11:06:48 +02:00
Tomasz Chabora
e5cfb9d6b2
Fix selection undo... for real
2019-06-17 03:54:28 +02:00
Hugo Locurcio
c0b3e20ca7
Tweak some editor property hints to be more flexible and consistent
...
This partially addresses #19242 .
2019-06-16 23:52:16 +02:00
Michael Alexsander Silva Dias
98d0c99652
Fix Range's "changed" signal emitting with a value even if binded to emit none
2019-06-16 12:00:49 -03:00
Rémi Verschelde
9d3342545d
Merge pull request #29700 from clayjohn/cpuparticles_transform_bug
...
Fix CPU particles bug with local_coords and transform
2019-06-16 10:49:30 +02:00
Rémi Verschelde
baab976d0f
Merge pull request #10643 from BastiaanOlij/camera_server
...
CameraServer class
2019-06-16 10:22:26 +02:00
Rémi Verschelde
68735d2a88
Fix compilation warnings in JS and Windows builds
...
Warnings raised by Emscripten 1.38.0 and MinGW64 5.0.4 / GCC 8.3.0.
JS can now build with `werror=yes warnings=extra`.
MinGW64 still has a few warnings to resolve with `warnings=extra`,
and only one with `warnings=all`.
Part of #29033 and #29801 .
2019-06-15 14:40:45 +02:00
BastiaanOlij
02ea99129e
Adding a new Camera Server implementation to Godot.
...
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server.
Other parts of Godot can interact with this to obtain images from the camera as textures.
This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
2019-06-15 21:30:32 +10:00
Rémi Verschelde
0a3c21d999
Merge pull request #29785 from eligt/fix-richtext-alignment
...
Fix RichTextLabel alignment tags not working properly
2019-06-15 10:34:22 +02:00
Rémi Verschelde
e999929024
Merge pull request #29787 from Paulb23/fix_negative_cursor_column
...
Fix TextEdit cursor.column having a negative value
2019-06-15 00:29:07 +02:00
Paulb23
1d55207fd2
Fix TextEdit cursor.column having a negative value
2019-06-14 21:48:16 +01:00
Elia Sarti
c4e5ee1fd2
Fix RichTextLabel alignment tags not working properly
...
Also fixes #6982
Fix error and formatting
2019-06-14 21:38:33 +01:00
Rémi Verschelde
8e04aecb19
Merge pull request #29647 from YeldhamDev/file_dialog_hidden_toggle
...
Add toggle for hidden file visibility in FileDialog
2019-06-14 22:29:49 +02:00
clayjohn
52696e98b4
fix CPU particles bug with local_coords and transform
2019-06-14 13:22:19 -07:00
Rémi Verschelde
0b555fc70a
Merge pull request #29782 from JFonS/expose_camera_clip_offset
...
Expose ClippedCamera clip_offset
2019-06-14 18:31:47 +02:00
jfons
30b3591152
Expose ClippedCamera clip_offset
2019-06-14 17:39:13 +02:00
Rémi Verschelde
40f2480d0e
Merge pull request #29621 from DevinPentecost/feature/0_duration_tween
...
Implementing 0-duration tweens
2019-06-14 16:57:09 +02:00
Devin Pentecost
265eaf1a2c
Implementing 0-duration tweens
...
Some light refactor
Adding comments in functions
2019-06-14 07:20:13 -07:00
Rémi Verschelde
52dd0f8751
Implement missing orbit velocity for CPUParticles and CPUParticles2D
...
The relevant code was copied from (GPU) ParticlesMaterial but commented
out initially, and never ported.
Closes #29580 .
2019-06-13 11:35:07 +02:00
Rémi Verschelde
a745934761
Merge pull request #29731 from akien-mga/scene-is-off-limits
...
Cleanup some unecessary editor/ includes in scene/
2019-06-12 23:44:24 +02:00
Rémi Verschelde
84d969a42a
Cleanup some unecessary editor/ includes in scene/
...
Part of #29730 , handles false positives.
2019-06-12 22:48:43 +02:00
Rémi Verschelde
2cedf7173a
BaseButton: Make shortcuts call virtual methods
...
When buttons are not in Toggle Mode, shortcuts used to only trigger the
`pressed` signal, without calling the `_pressed` virtual method,
contrarily to what happens when you click the button.
For Toggle Mode buttons, it did call the `_toggled` virtual method
together with emitting the `toggled` signal *twice*.
This commit harmonizes it all and makes shortcuts behave the same as
mouse clicks or `ui_accept`, for both toggle and non-toggle modes.
Fixes #29604 .
2019-06-12 16:35:49 +02:00
Rémi Verschelde
df25679235
Merge pull request #29601 from NilsIrl/hiding_enabled
...
Treat hiding_enabled as bool throughout
2019-06-12 14:23:27 +02:00
Rémi Verschelde
434a1fddf3
Merge pull request #29648 from jbuck3/tree-tooltips
...
Fix Tree button tooltips
2019-06-12 13:29:36 +02:00
Rémi Verschelde
5688cb40b2
Merge pull request #29589 from kbajno/master
...
Add in missing 'FLAG_DRAW_NEXT_FRAME_IF_VISIBLE' to Flag enun
2019-06-12 12:52:47 +02:00
Rémi Verschelde
971b5160c6
Merge pull request #29306 from qarmin/small_code_fixes
...
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-12 12:49:21 +02:00
Rémi Verschelde
f160c81f68
Merge pull request #29696 from akien-mga/cpuparticles-randomness
...
CPUParticles: Do randomness ratio computations in phase instead of time
2019-06-12 10:54:02 +02:00
Rémi Verschelde
fd66a45f32
Merge pull request #29685 from akien-mga/cpuparticles-tangential-accel
...
CPUParticles: Fix inconsistent tangential acceleration
2019-06-12 10:53:31 +02:00
Rémi Verschelde
d0c2005da1
CPUParticles: Do randomness ratio computations in phase instead of time
...
The original shader code uses a phase (ratio from 0 to 1 for the particle
lifetime) for the randomness ratio computations, and this code was ported
over but converted to time computations.
The seeding/cycle logic was thus invalid, so we're going back to phase
for these computations, thus fixing the previous non-working time/emission
randomness property.
Part of #29692 . Follow-up to #26859 .
2019-06-11 23:40:56 +02:00
Rémi Verschelde
4043c8a8c9
Merge pull request #29678 from akien-mga/err-macros-semicolon
...
Fix error macro calls not ending with semicolon
2019-06-11 19:01:26 +02:00
Rémi Verschelde
9206bcabaa
CPUParticles: Fix inconsistent tangential acceleration
...
The tangential acceleration for both CPUParticles2D and CPUParticles had been
badly converted from their GPU counterpart (ParticlesMaterial).
This fixes it and ensures that both GPU and CPU particles behave the same with
regard to tangential acceleration.
2019-06-11 18:56:07 +02:00
Rémi Verschelde
15425b450f
Merge pull request #29573 from qarmin/fix_rich_text_process_line
...
Fix RichLabelText::_process_line crash
2019-06-11 16:00:03 +02:00
Rémi Verschelde
0d5b2dba91
Merge pull request #29543 from qarmin/fix_arvr_error_spam
...
Fix ARVRAnchor and ARVRController error spam
2019-06-11 15:58:04 +02:00
Rémi Verschelde
6d16f2f053
Fix error macro calls not ending with semicolon
...
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
2019-06-11 14:49:34 +02:00
Rémi Verschelde
d8877d2df5
Merge pull request #29539 from qarmin/fix_crash_with_get_keywords_color
...
Fix crash with get_keywords_color
2019-06-11 14:19:18 +02:00
Rémi Verschelde
7b883d7d50
Merge pull request #29558 from SamSindt/fix-lifetime-reversed-CPUParticles2D
...
Reversed operator in SortLifetime fixing #29440
2019-06-11 12:14:26 +02:00
Rémi Verschelde
227b5d20ee
Merge pull request #29519 from Ranoller/master
...
Make tilemap texture origin point top-left.
2019-06-11 12:05:13 +02:00
Rémi Verschelde
9ec33eaee2
Merge pull request #29498 from bruvzg/fix_line_edit_alt_keys
...
Fix third and fourth level (AltGr / ⌥ modifier) keys input in LineEdit.
2019-06-11 11:49:44 +02:00
bruvzg
63d8dc0920
Fix third and fourth level (AltGr / ⌥ modifier) keys input in LineEdit.
2019-06-11 08:10:07 +03:00
qarmin
37c2595526
Fix crash when frames are empty
2019-06-10 08:36:28 +02:00
James Buck
215fed1fb3
Fix Tree button tooltips
...
Fixes #22777
2019-06-09 22:33:47 -05:00
Michael Alexsander Silva Dias
be6d48fcad
Add toggle for hidden file visibility in FileDialog
2019-06-10 00:20:24 -03:00
James Buck
17e1be6478
Connect OptionButton selection to menu's "index_pressed" signal
...
Simplifies code and fixes bug where only the first item with a given
ID could be selected.
2019-06-09 14:44:36 -05:00
Nils ANDRÉ-CHANG
e4f90337f2
Treat hiding_enabled as bool throughout
2019-06-08 12:37:57 +01:00
kbajno
c90fb3ec6c
Add in missing 'FLAG_DRAW_NEXT_FRAME_IF_VISIBLE' to Flag enun
2019-06-07 15:21:07 -07:00
MrCdK
1810a901d2
Drop the physics mouseover whenever a input has been handled.
...
Fixes #29575
2019-06-07 17:21:12 +02:00
qarmin
685451967c
Fix RichLabelText::_process_line crash
2019-06-07 12:36:11 +02:00
SamSindt
6a23eff748
Reversed operator in SortLifetime fixing #29440
2019-06-06 12:49:48 -07:00
qarmin
2621131549
Fix 2D Line crash
2019-06-06 21:09:37 +02:00
qarmin
3de3f87657
Fix ARVRAnchor and ARVRController error spam
2019-06-06 14:33:04 +02:00
qarmin
8d993f6357
Fix crash with get_keywords_color
2019-06-06 12:59:29 +02:00
Ranoller
f26e9daab5
Make tilemap texture origin point top-left.
...
Fix https://github.com/godotengine/godot/issues/29487 . In this commit: https://github.com/godotengine/godot/pull/28896 bad offset of textures and shapes was fixed, but a center of texture was added too, and this seems not dessired by default because breaks too much compatibility with demos and user projects. A future Check box for center texture can be added
2019-06-05 23:23:36 +02:00
Rémi Verschelde
197b65f32a
Merge pull request #29411 from clayjohn/multimesh_instance_2d
...
Added MultiMeshInstance2D node for using MultiMesh in 2D
2019-06-04 22:40:13 +02:00
Rémi Verschelde
46c56cad0c
Merge pull request #29469 from bojidar-bg/29446-graphnode-seperation
...
Fix GraphNode not adding separation after the first node
2019-06-04 22:37:55 +02:00
Gilles Roudière
df0a69bbac
Fixes NaN errors with anchors mode
2019-06-04 21:58:21 +02:00
Bojidar Marinov
8a1a067b91
Fix GraphNode not adding seperation after the first node
...
Fixes #29446
2019-06-04 16:05:23 +03:00
Tomasz Chabora
2f75471f24
Fix crash when searching Tree with no selection
2019-06-04 01:50:50 +02:00
Rémi Verschelde
774a9fde84
Merge pull request #26848 from ptrojahn/utf8navigation
...
Support UTF-8 in TextEdit and LineEdit navigation
2019-06-03 22:28:54 +02:00
qarmin
8245db869f
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-03 21:52:50 +02:00
clayjohn
2b8b1d7c46
added MultiMeshInstance2D node for using MultiMesh in 2D
2019-06-03 12:11:54 -07:00
Rémi Verschelde
22583ec6a3
Merge pull request #29432 from bojidar-bg/29401-tscn-serialization
...
Escape node names when saving to .tscn
2019-06-03 16:25:00 +02:00
Bojidar Marinov
cc004485bc
Escape node names when saving to .tscn
...
Fixes #29401
2019-06-03 16:54:41 +03:00
Rémi Verschelde
0dac4d6db6
Merge pull request #25522 from aqnuep/MeshLibrary_improvements
...
MeshLibrary export improvements
2019-06-03 13:59:43 +02:00
Rémi Verschelde
164fae9c1d
Merge pull request #29414 from YeldhamDev/meshinstance2d_texture_signal
...
Properly add "texture_changed" signal to MeshInstance2D
2019-06-03 13:57:32 +02:00
Rémi Verschelde
1e55f8a241
Merge pull request #29422 from akien-mga/particlesmaterial-missing-enum-value
...
Bind missing FLAG_DISABLE_Z enum value in ParticlesMaterial
2019-06-03 12:24:40 +02:00
Rémi Verschelde
7da9f28035
Merge pull request #29424 from JFonS/add_heightmap_gizmo
...
Add HeightMapShape mesh in CollisionShape gizmo
2019-06-03 12:18:28 +02:00
JFonS
6f31143996
Add HeightMapShape mesh in CollisionShape gizmo
2019-06-03 11:59:55 +02:00
Rémi Verschelde
a3462c97ad
Bind missing FLAG_DISABLE_Z enum value in ParticlesMaterial
...
Fixes #29419 .
2019-06-03 11:18:13 +02:00
JFonS
c2a2a1083d
Remove MeshLibrary from disable_3d=true builds
2019-06-03 10:25:11 +02:00
Michael Alexsander Silva Dias
962652f14b
Properly add "texture_changed" signal to MeshInstance2D
...
Fixes #29410 .
2019-06-02 23:51:44 -03:00
Rémi Verschelde
a25e52fb72
Merge pull request #29378 from KoBeWi/why
...
Fixed get_item_at_position being weird
2019-06-02 21:11:53 +02:00
Tomasz Chabora
59f403de0b
Fixed get_item_at_position being weird
2019-06-02 14:32:32 +02:00
Rémi Verschelde
449395716f
Merge pull request #28390 from KoBeWi/smaller_bigger_gizmo
...
Allow to change Position2D gizmo size
2019-06-02 00:06:28 +02:00
Tomasz Chabora
662c8f95ec
Allow to change Position2D gizmo size
2019-06-01 12:33:24 +02:00
Rémi Verschelde
64a88e8ef3
Merge pull request #28841 from KoBeWi/option_button_options
...
Improvements to incremental search
2019-06-01 11:47:06 +02:00
Rémi Verschelde
4b399034aa
Merge pull request #24560 from guilhermefelipecgs/fix_24549
...
Add EDITMODE_PRIORITY for ATLAS_TILE
2019-06-01 09:49:18 +02:00
Rémi Verschelde
af2c742f53
Fix and expose String::strip_escapes(), use it in LineEdit paste
...
Supersedes #27736 .
2019-05-31 15:49:14 +02:00
Tomasz Chabora
9de912caf5
Improvements to incremental search
2019-05-31 14:56:49 +02:00
Rémi Verschelde
7770f8cb7e
Merge pull request #29331 from KoBeWi/animation_time_machine
...
Add track_set_key_time() to Animation
2019-05-31 10:12:37 +02:00
Rémi Verschelde
77880d1b4d
Merge pull request #29299 from creikey/master
...
Check if parent is null before updating transform
2019-05-31 09:51:05 +02:00
Tomasz Chabora
adcbcf87dd
Add track_set_key_time() to Animation
2019-05-31 00:40:29 +02:00
Rémi Verschelde
62b868fd37
Merge pull request #26942 from RandomShaper/fix-vp-issues
...
Fix Viewport and Camera issues
2019-05-30 18:31:15 +02:00
Rémi Verschelde
603bb98340
Merge pull request #29188 from Calinou/improve-ssao-performance-quality
...
Improve SSAO performance and quality
2019-05-30 14:27:25 +02:00
Rémi Verschelde
24dd8e29ea
Merge pull request #29296 from jbuck3/cleanup
...
Remove some redundant lines
2019-05-30 12:52:23 +02:00
Cameron Reikes
9f29c28918
Check if parent is null before updating trasnform
...
- parent being null means it's not a CollisionObject
2019-05-29 16:09:52 -07:00
James Buck
4f4513f99c
Remove some redundant lines
2019-05-29 15:20:39 -05:00
Rémi Verschelde
c11bf884e0
Merge pull request #25012 from avencherus/prevent-duplicate-keyframes
...
Do precision comparison to prevent the creation of keyframes with a time that already exists
2019-05-29 18:59:19 +02:00
Rémi Verschelde
586539d867
Fix wrong property binding for NavigationPolygon::vertices
2019-05-29 17:28:22 +02:00
Rémi Verschelde
e9ca1a1299
Merge pull request #25520 from Zylann/expose_node_custom_aabb
...
Exposed custom AABB setter on GeometryInstance
2019-05-29 17:18:17 +02:00
Rémi Verschelde
e832a3269c
Merge pull request #29261 from volzhs/fix-basebutton
...
Fix BaseButton not emitting signal with virtual function
2019-05-29 13:16:02 +02:00
volzhs
5c01e066e1
Fix BaseButton not emitting signal with virtual function
...
Fix #29258
2019-05-29 06:28:34 +09:00
Rémi Verschelde
bbb1af91d8
Merge pull request #29251 from qarmin/some_uninitialised_values_fixes
...
Fix some unintialised variables
2019-05-28 22:29:02 +02:00
Rémi Verschelde
84331549db
Merge pull request #28896 from Ranoller/master
...
Fix tilemap displaced textures and shapes
2019-05-28 22:25:18 +02:00
Rémi Verschelde
3a1c096eb8
Merge pull request #29246 from akien-mga/whats-in-a-name
...
Node::duplicate: Don't set name if original node is nameless
2019-05-28 19:26:33 +02:00
Rémi Verschelde
0e441e9a1a
Merge pull request #29248 from Cheeseness/camera_project_fix
...
Add a depth parameter to Camera::project_position()
2019-05-28 19:25:37 +02:00
qarmin
66a36ba474
Fix some unincialised variables
2019-05-28 19:12:19 +02:00
Cheeseness
6fe957de63
Add a depth parameter to Camera::project_position()
2019-05-29 02:04:50 +10:00
Tomasz Chabora
86e4677fb4
Add HSV mode to color picker
2019-05-28 18:00:52 +02:00
Rémi Verschelde
235172e26b
Merge pull request #26355 from fire/expose_surface_tool
...
Expose more surface tools and add create_from_blend_shape.
2019-05-28 14:07:16 +02:00
Rémi Verschelde
bf6f41e0b9
Merge pull request #26978 from qarmin/fix_recursive_bitmapfont_crash
...
Fix crash when trying to set as Bitmap Font fallback one of his parent
2019-05-28 13:49:34 +02:00
Rémi Verschelde
0823ae7ae4
Node::duplicate: Don't set name if original node is nameless
...
In practice this only happens when duplicating a node which is not in
the scene tree yet, as nameless nodes get assigned a generated name
when added to the scene tree.
Fixes #27319 .
2019-05-28 12:40:44 +02:00
Rémi Verschelde
8384582828
Merge pull request #27836 from turtletooth/right-click
...
Allow Right Click in Empty Space on FileSystemDock
2019-05-28 12:07:06 +02:00
Rémi Verschelde
b546591d1b
Merge pull request #27875 from Thource/vehicle_wheel-get_rpm
...
Added a get_rpm() function to VehicleWheel
2019-05-28 12:06:09 +02:00
Rémi Verschelde
47f00925dc
Merge pull request #28454 from homer666/popup-centered-maxsize
...
Add `popup_centered_clamped()` method to Popup
2019-05-28 11:36:41 +02:00
Rémi Verschelde
335111c98f
Merge pull request #28581 from Lisapple/patch-1
...
Fixing Curve2D/3D baked interpolated values
2019-05-28 10:56:00 +02:00
Rémi Verschelde
06da7bf6b9
Merge pull request #28726 from megalike/add_mac_os_hotkeys_le
...
Support Mac OS hotkeys in line_edit
2019-05-28 10:37:04 +02:00
Rémi Verschelde
556ee71277
Merge pull request #29174 from Chaosus/fix_line_wrap_output
...
Fix "Index out of size" TextEdit's spam to output (when using Expression nodes in the visual shaders)
2019-05-28 10:21:54 +02:00
Michael Alexsander Silva Dias
fad0338beb
Make animation editor change tracks positions instead of swapping them
2019-05-27 22:03:26 -03:00
Rémi Verschelde
2a74d852fe
Merge pull request #29228 from neikeq/issue-29117
...
Fix GetTypeInfo error due to missing include
2019-05-27 22:25:23 +02:00
Silvano Cerza
f23e1aab34
Implemented remote scene tree filtering
...
User can now filter the remote scene tree, like the local one is filtered, while
the game is running
2019-05-27 17:46:57 +02:00
Rémi Verschelde
9f6eb3882c
Merge pull request #29182 from clayjohn/radiance_map
...
Fix radiance map settings
2019-05-27 17:33:45 +02:00
Ignacio Etcheverry
d426dcabf8
Fix GetTypeInfo error due to missing include
2019-05-27 17:33:25 +02:00
Rémi Verschelde
4c77332e32
Merge pull request #29118 from JFonS/improve_navmesh_generation
...
Various improvements to NavigationMesh generation
2019-05-27 17:27:14 +02:00
Rémi Verschelde
ec5be4ee68
Merge pull request #29223 from Jummit/add-get-camera-rid
...
Add get_camera_rid method to Camera
2019-05-27 17:11:31 +02:00
Ibrahn Sahir
e975d9dcdb
Fix uninitialised member variable 'meta_hovering' in RichTextLabel
2019-05-27 15:14:48 +01:00
Jummit
ce2c45bde7
add get_camera_rid method
2019-05-27 16:05:27 +02:00
Rémi Verschelde
d4e26fd588
Merge pull request #29172 from KoBeWi/path_deoverflowing
...
Don't allow PathFollow offset outside bounds
2019-05-27 12:09:17 +02:00
Rémi Verschelde
89b5025adc
Merge pull request #29176 from Calinou/tweak-particle-animation-warning
...
Tweak the particle animation node configuration warning message
2019-05-27 12:04:32 +02:00
Tomasz Chabora
90ea9dfede
Fix TextEdit blocking scroll without scrollbar
2019-05-26 20:51:08 +02:00
Hugo Locurcio
eb0cced3c0
Improve SSAO performance and quality
...
This decreases the number of samples significantly, leading to a
notable performance increase with only a very slight loss in
visual quality.
This also tweaks the default SSAO settings to use 3×3 blurring,
which makes noise patterns much less visible.
2019-05-26 12:01:01 +02:00
clayjohn
4c55a909ad
fix radiance map settings
2019-05-25 18:57:32 -07:00
Hugo Locurcio
33fd5538d0
Tweak the particle animation node configuration warning message
2019-05-25 19:59:17 +02:00
Chaosus
e5f5a71d27
Fix "Index out of size" TextEdit's spam to output
2019-05-25 20:57:32 +03:00
Tomasz Chabora
f3c5db662d
Don't allow PathFollow offset outside bounds
2019-05-25 18:27:22 +02:00
Rémi Verschelde
25d2ee677f
Merge pull request #29152 from nekomatata/fix-node-rename-tool-script
...
Fixed scene tree update after changing node name in tool script
2019-05-24 22:41:37 +02:00
Rémi Verschelde
71c784f796
Merge pull request #29078 from KoBeWi/scroll_stuff
...
Improvements to scroll handling
2019-05-24 19:56:15 +02:00
Rémi Verschelde
01c41c782b
Merge pull request #28796 from clayjohn/GLES2-optimization
...
GLES2: Allow Viewports to render directly to screen
2019-05-24 17:31:44 +02:00
Rémi Verschelde
f173d242a2
Merge pull request #28811 from iwek7/editor_remove_spaces_to_closes_indention
...
Change rules of indenting for spaces
2019-05-24 16:21:04 +02:00
Rémi Verschelde
f279837f3e
Merge pull request #29067 from KoBeWi/spin_edit
...
Pass mouse events to SpinBox from its LineEdit
2019-05-24 15:51:03 +02:00
Rémi Verschelde
d1b4b62eb5
Merge pull request #29133 from KoBeWi/ninja_modulate
...
Don't modulate canvas on invisible color change
2019-05-24 15:45:24 +02:00
Rémi Verschelde
8689af6238
Merge pull request #29060 from volzhs/toggled-group
...
Refactor BaseButton event handling
2019-05-24 15:44:35 +02:00
PouleyKetchoupp
3f174c86d0
Fixed scene tree update after changing node name in tool script
2019-05-24 15:27:22 +02:00
Tomasz Chabora
01491aaf32
Improvements to scroll handling
2019-05-24 14:56:39 +02:00
Tomasz Chabora
5e9400b2e3
Don't modulate canvas on invisible color change
2019-05-24 13:10:21 +02:00
Rémi Verschelde
7c73a741f3
Merge pull request #29125 from rodolforg/fix_spatial_look_at_affecting_scale
...
fix un-scaling in Spatial::look_at_from_position
2019-05-23 17:01:40 +02:00
Rodolfo Ribeiro Gomes
48e4d62554
fix un-scaling in Spatial::look_at_from_position
...
As mentioned in
https://github.com/godotengine/godot/pull/26897#issuecomment-491178089
the look-at scaling issue solved by PR #26897 happens also in another
look-at method.
Spatial::look_at_from_position() also does not have same input checking
Spatial::look_at() has. Therefore, I fixed it too at same time.
2019-05-23 09:49:50 -03:00
Rémi Verschelde
2b1c3878f9
Merge pull request #29031 from BastiaanOlij/alpha_shadow
...
Implement shadow to opacity
2019-05-23 13:37:54 +02:00
jfons
1add4c15ab
Various improvements to NavigationMesh generation
...
* Expose EditorNavigationMeshGenerator as an engine singleton so users
can generate navmesehes from `tool` scripts.
* Add support for generating navmeshes from static colliders. All
collision shapes are supported except for Plane (since Plane is an
infinite collider and navmeshes need to have finite geometry).
* When using static colliders as a geometry source, a layer mask can be
specified to ignore certain colliders.
* Don't rely on global transform. It still should give the exact same
results but allows for building navmeshes on nodes that are not in the
tree (useful in `tool` scripts).
* Update navigation gizmos after every new bake.
This work has been kindly sponsored by IMVU.
2019-05-23 08:37:58 +02:00
Rémi Verschelde
c088386c5b
Merge pull request #29109 from RandomShaper/fix_onion_skinning
...
Fix onion skinning
2019-05-23 07:58:27 +02:00
Michael Alexsander Silva Dias
de378ef012
Fix 'TextEdit's line wrapping being highlighted incorrectly
...
Fixes #22867 .
2019-05-22 18:45:24 -03:00
Pedro J. Estébanez
88153fbb61
Fix 2D bones ignored by onion skinning
...
Fixes #27819 .
2019-05-22 20:40:57 +02:00
Ibrahn Sahir
d8a5fcd3d1
Initialize readonly/editable in LineEdit and TextEdit controls
2019-05-21 21:50:02 +01:00
Chaosus
6d38754a06
Fix expression node parsing when input_port + \0 is occured
2019-05-21 19:45:01 +03:00
Yuri Roubinsky
ebb6eb8be8
Merge pull request #29073 from Chaosus/express_fixes
...
Fix few bugs in expression node
2019-05-21 19:26:14 +03:00
Chaosus
6f2abd68f2
Fix few bugs in expression node
2019-05-21 18:37:31 +03:00
Rémi Verschelde
b6bd19dfc5
Merge pull request #29018 from guilhermefelipecgs/fix_28969
...
[StateMachine] Fix error message for travel method
2019-05-21 17:12:11 +02:00
Rémi Verschelde
7d42ca8384
Merge pull request #28838 from Chaosus/vs_exp
...
Expression node for visual shaders
2019-05-21 16:32:02 +02:00
Rémi Verschelde
1d9bb73a15
Merge pull request #29040 from swarnimarun/fix_override_bug
...
Clear overrides on passing null
2019-05-21 15:23:18 +02:00
Rémi Verschelde
26e0cc7aa3
Merge pull request #29041 from hbina/add_const
...
add const to methods that return literals
2019-05-21 15:16:41 +02:00
volzhs
5e8017721a
Refactor BaseButton event handling
...
also _toggled() function and "toggled" signal called when unpressed by ButtonGroup
2019-05-21 22:14:01 +09:00
Tomasz Chabora
2d84ec5468
Pass mouse events to SpinBox from its LineEdit
2019-05-21 14:49:53 +02:00
Bastiaan Olij
3ea778e66e
Implement shadow to opacity
2019-05-21 20:07:46 +10:00
Chaosus
5648924eef
Expression node for visual shaders
2019-05-21 12:11:41 +03:00
Rémi Verschelde
aa33b6a3fa
Merge pull request #29046 from volzhs/tree-page-down
...
PageDown key selects last one when left items count is short
2019-05-21 10:06:09 +02:00
volzhs
6f97022041
PageDown key selects last one when left items count is short
2019-05-21 15:32:17 +09:00
hbina085
f78baa5f93
added a const keyword for a methods that return constant literal...
2019-05-21 02:16:30 -04:00
Swarnim Arun
6ab7fb4976
Clear overrides on passing null
2019-05-21 10:50:43 +05:30
Rémi Verschelde
8c95e1aaf8
Merge pull request #28952 from jbuck3/update-margins
...
Update Control margins when size is overridden by change to minsize
2019-05-20 22:40:35 +02:00
Rémi Verschelde
63e7d2db08
Merge pull request #28218 from KoBeWi/b00km4rk5
...
Add bookmarks for easier code navigation
2019-05-20 22:39:19 +02:00
Rémi Verschelde
fdea3d48b0
Merge pull request #26809 from KoBeWi/undo_set_text_like_a_boss
...
Allow to undo TextEdit.set_text
2019-05-20 22:00:39 +02:00
Rémi Verschelde
79cc95c6a7
Merge pull request #27559 from groud/anchor_mode
...
Improve the anchors and margin workflow
2019-05-20 17:44:56 +02:00
Rémi Verschelde
6920c82742
Style: Fix issues with clang-format 8.0
2019-05-20 13:51:51 +02:00
Guilherme Felipe
4de6c94eb0
[StateMachine] Fix error message for travel method
2019-05-19 23:43:26 -03:00
Rémi Verschelde
a940b4cf64
Merge pull request #28997 from akien-mga/codespell
...
Fix typos with codespell
2019-05-19 22:04:14 +02:00
Rémi Verschelde
e0574e1d98
Fix typos with codespell
...
Using codespell 1.15.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-05-19 13:10:35 +02:00
Chaosus
719a9a9c1c
Added Fresnel and OneMinus to visual shaders
2019-05-19 13:44:30 +03:00
Max Hilbrunner
ee5ba3e097
Merge pull request #28366 from iwek7/feature/issue28355/showSpacesInEditor
...
Add feature to show spaces in code editor
2019-05-17 20:38:40 +02:00
James Buck
5f5507cc62
Update Control margins when size is overridden by change to minsize
2019-05-16 21:56:17 -05:00
Paulb23
a8a0392c12
Fix text_edit drawing incorrect chars when syntax highlighting enabled
2019-05-16 22:32:06 +01:00
Tomasz Chabora
3bc0445e05
Allow to undo TextEdit.set_text
2019-05-16 23:05:17 +02:00
Michael Alexsander Silva Dias
be8dc97be7
Fix leftover connection to the "Open" signal in FileSystemDock
...
Fixes #28903 .
2019-05-15 11:25:52 -03:00
Ranoller
7a8e4f64b8
Fix tilemap displaced textures and shapes with origin point BOTTOM_LEFT and CENTER and other casuistry
...
This commit fix https://github.com/godotengine/godot/issues/22989 fixing displaced textures and not coincident shapes in tilemap. Fix too: https://github.com/godotengine/godot/issues/15249 , https://github.com/godotengine/godot/issues/28206 , https://github.com/godotengine/godot/issues/28610 and probably others
2019-05-15 04:14:27 +02:00
Michael Alexsander Silva Dias
15cda53d80
Merge pull request #28583 from theoniko/show-long-name-variables-correctly
...
Fix First Ctrl+R and Ctrl+F not showing long name variables correctly
2019-05-14 21:53:36 +00:00
clayjohn
65c211d303
Implement ability to render viewports directly to screen
2019-05-13 15:20:15 -07:00
Gilles Roudiere
e875f05c3b
Improve the anchors and margin workflow
2019-05-13 18:55:31 +02:00
Rémi Verschelde
868ee3ea10
Merge pull request #28761 from aqnuep/texture_resource_reload_fix
...
Fix texture resource reload bug
2019-05-13 17:20:42 +02:00
Rémi Verschelde
647021e864
Merge pull request #28326 from BastiaanOlij/center_heightmap
...
Center shape according to logic Bullet applies
2019-05-13 12:58:00 +02:00
miwanczuk
cbc68a3e04
Change rules of indenting for spaces
...
Now indentations and deindentations of spaces attemt to align text to
closest full indent level. It works with tab/tab+shift (both with
selection and no selection) as well as backspace. Also fixes bug where
selection and cursor position were mispaced after (un)indenting selected
text.
2019-05-11 10:30:40 +02:00
Rémi Verschelde
fea0c8858e
Merge pull request #28770 from volzhs/fix-scroll-back-top
...
Fix scroll back top
2019-05-11 09:44:11 +02:00
Bojidar Marinov
68bee3d9a2
Allow or_greater for most properties of NavMesh
...
Closes #28624
2019-05-10 18:05:17 +03:00
JFonS
9e97bac0cf
Fixes to ClippedCamera
...
This work has been kindly sponsored by IMVU.
2019-05-10 10:35:15 +02:00
Aaron Franke
702b539405
Change "ID" to lowercase "id"
...
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-05-09 06:25:32 -04:00
volzhs
68c3728b47
Revert "Merge pull request #26053 from qarmin/back_scroll_to_start"
...
This reverts commit b5deb1dc72
, reversing
changes made to 2cc8848c3c
.
This change causes unwanted regression.
It's too risky to have scroll back to top in ItemList.clear()
2019-05-09 03:51:08 +09:00
Daniel Rakos
e34eb5c26c
Fix texture resource reload bug
...
If a non-imported texture resource file (e.g. DDS) gets updated the editor
doesn't reload it. The cause of the problem is two-fold:
First, the code of ImageTexture assumes that textures are always imported
from an image, but that's not the case for e.g. DDS. This change thus adds
code to issue a resource reload in case an image reload is not possible
(which is the case for non-imported texture resources).
Second, the code is filled with bogus calls to Image::get_image_data_size()
to determine the mipmap offset when that should be done using
Image::get_image_mipmap_offset(). Previous code literally passed the integer
mip level value to Image::get_image_data_size() where that actually expects
a boolean. Thus this part of the change might actually solve some other
issues as well.
To be pedantic, the texture_get_data() funciton of the rasterizer drivers is
still quite a mess, as it only ever returns the whole mipchain when
GLES_OVER_GL is set (practically only on desktop builds) but this change does
not attempt to resolve that.
2019-05-08 17:22:40 +02:00
Bastiaan Olij
e4dea0595a
Add transform support to deal with Bullets centering of shapes
2019-05-07 22:43:10 +10:00
Bastiaan Olij
4bb0df7060
Center shape according to logic Bullet applies
2019-05-07 20:44:09 +10:00
megalike
ed37912e66
Support Mac OS hotkeys in line_edit
2019-05-06 22:59:34 +03:00
Rémi Verschelde
2a8cb46c8e
Merge pull request #28516 from Chaosus/fix_vs_mix_title
...
Renames captions of Scalar/VectorInterp in Visual Shaders
2019-05-06 17:34:15 +02:00
Rémi Verschelde
7b7a664a97
Merge pull request #28709 from YeldhamDev/tabcontainer_locale_update
...
Fix 'TabContainer' not updating its tab titles when locale is changed
2019-05-06 10:53:22 +02:00
Rémi Verschelde
563d4b0e7f
Merge pull request #28696 from raphael10241024/debug_fix
...
fix CollisonShape changing shape cause crash when not in a tree
2019-05-06 10:42:56 +02:00
Rémi Verschelde
1a3a0e3d95
Merge pull request #28679 from megalike/fix_mac_os_delete_char_hotkeys
...
Support Mac OS default delete char hotkeys
2019-05-06 10:17:22 +02:00
Rémi Verschelde
9123db748e
Merge pull request #28330 from BastiaanOlij/improve_multimesh
...
Added set_as_bulk_array, fixed transform2D saving and documentation
2019-05-06 09:57:48 +02:00
Michael Alexsander Silva Dias
a242bf464a
Fix 'TabContainer' not updating its tab titles when locale is changed
2019-05-06 01:59:34 -03:00
Tomasz Chabora
0bfcf8bc2f
Add bookmarks for easier code navigation
2019-05-05 18:57:53 +02:00
yakun.zhang
2206c5e9c0
fix CollisonShape changing shape cause crash when not in a tree
2019-05-05 13:30:58 +08:00
Colin Redman
359d7f178c
Fix ParallaxBackground breaking when moving it out the scene tree
2019-05-04 17:09:33 -07:00
megalike
c6310e9a7e
Support Mac OS default delete char hotkeys
2019-05-04 17:15:32 +03:00
Michael Alexsander Silva Dias
37f4d51a75
Make 'TabContainer' update when icon/title is changed
...
Fixes #28655 .
2019-05-03 14:55:32 -03:00
Rémi Verschelde
7b64a24eb3
Merge pull request #28548 from YeldhamDev/check_button_disabled_icon
...
Add "disabled" icon for 'CheckButton'
2019-05-03 14:55:32 +02:00
qarmin
4270403724
Fix crash when trying to set fallback or next pass with one of parent
2019-05-03 13:39:46 +02:00
Rémi Verschelde
913620a9b8
Merge pull request #28640 from bojidar-bg/17885-navmesh-entry-broken
...
Fix navmesh not finding optimal paths
2019-05-03 12:20:39 +02:00
Bojidar Marinov
f1b7b74d65
Fix navmesh not finding optimal paths
...
Addresses part of #17885
2019-05-03 11:13:03 +03:00
Rémi Verschelde
d962820453
Merge pull request #28620 from megalike/fix_mac_os_move_cursor
...
Fix Mac OS move cursor behaviour
2019-05-03 09:51:57 +02:00
Rémi Verschelde
f1e39e1fc8
Merge pull request #28636 from bojidar-bg/d2426-panel-styles
...
Remove unused panelf and panelnc styles
2019-05-03 09:40:11 +02:00
Bojidar Marinov
3d47dad2b1
Remove unused panelf
and panelnc
styles
...
Fixes godotengine/godot-docs#2426
2019-05-03 09:44:46 +03:00
megalike
39398f173e
Fix Mac OS move cursor behaviour
2019-05-02 21:13:41 +03:00
Michael Alexsander Silva Dias
acadfe0a49
Add "disabled" icon for 'CheckButton'
2019-05-02 13:39:56 -03:00
Jared
e03f9ead21
Do precision comparison to prevent the creation of keyframes with a time that already exists.
2019-05-02 19:14:36 +03:00
Rémi Verschelde
262924296b
Merge pull request #27415 from aqnuep/kinematicbody_fixes
...
KinematicBody performance and quality improvements
2019-05-02 18:03:58 +02:00
Michael Alexsander Silva Dias
d6489374e7
Fix regression in 'PopupMenu' when icons have different values for width and height
2019-05-02 11:40:13 -03:00
Hugo Locurcio
818f756d90
Add a property hint for DynamicFont size
...
This caps its size to reasonable values in the Inspector.
This closes #22581 .
2019-05-02 00:46:53 +02:00
theoniko
505ab3d225
Fix First Ctrl+R and Ctrl+F not showing long name variables correctly
2019-05-01 20:59:17 +02:00
Maxime Leroy
6bd271139d
Fixing Curve2D/3D baked interpolated values
...
If bake interval is a multiple of the curve length, the curve would return NaN for some offset values (when `frac == 0.0`, it matches the start and end of the curve segment so `fmod == 0.0`, `frac` becomes NaN)
```
# Godot 3.1.1
var c = Curve3D.new()
c.add_point(Vector3())
c.add_point(Vector3(0.5,0,0))
c.add_point(Vector3(1,0,0))
c.bake_interval = 0.5
c.interpolate_baked(0.5) == Vector3(NAN, NAN, NAN)
```
2019-05-01 20:47:38 +02:00
Rémi Verschelde
2f74e6b854
Merge pull request #28559 from megalike/mac_os_move_cursor_hotkeys
...
Support Mac OS default move cursor hotkeys
2019-05-01 15:08:30 +02:00
megalike
17d14fe511
Support Mac OS default move cursor hotkeys
...
Add missing FALLTHROUGH define
2019-05-01 13:45:00 +03:00
miwanczuk
c86b03abd8
Expose TextEdit's drawSpaces feature to GDScript
2019-05-01 11:32:54 +02:00
Rémi Verschelde
f3eafcec1a
Merge pull request #25350 from Connall/master
...
Fix "Auto Brace Complete" inserting extra quotation character sometimes in a string.
2019-05-01 10:32:41 +02:00
Rémi Verschelde
a72552367e
Merge pull request #25453 from nekomatata/button-keep-pressed-option
...
Add option to keep button pressed when moving cursor outside while pressing
2019-05-01 10:30:40 +02:00
Rémi Verschelde
59b553b2af
Merge pull request #28493 from mitchcurtis/mac-line
...
Make Command + Left go to first non-whitespace character
2019-05-01 08:25:40 +02:00
Rémi Verschelde
ae41e35191
Merge pull request #27676 from qarmin/small_fixes_2
...
Small fixes to static analyzer bugs
2019-05-01 08:19:04 +02:00
Michael Alexsander Silva Dias
48bfa9d17a
Fix regression on 'PopupMenu's minimal size
2019-05-01 02:30:56 -03:00
Rémi Verschelde
dd2cd06165
Merge pull request #25670 from aqnuep/bake_mode_affect_gi_prove
...
Disable GI probe capturing lights with bake mode disabled
2019-04-30 18:33:34 +02:00
Rémi Verschelde
0644040872
Merge pull request #27021 from MarianoGnu/font
...
Add and expose to Font a function to get the word-wraped text size
2019-04-30 18:33:00 +02:00
Rémi Verschelde
5f3dd5fdc7
Merge pull request #28481 from iwek7/issue28446/highlighingOfWhitespaces
...
Disable higlighting all occurences of selection in editor if it contains only whitespaces
2019-04-30 18:31:53 +02:00
K. S. Ernest (iFire) Lee
22ce1e2709
Expose more surface tools and add create_from_blend_shape.
2019-04-30 06:50:25 -07:00
Rémi Verschelde
9dc9434b1b
Merge pull request #24437 from mateusfccp/single_quotes_option
...
Add settings for single-quotes on completion
2019-04-30 14:58:33 +02:00
miwanczuk
fda3a568ef
Issue-28355 - show spaces in editor
2019-04-30 14:57:48 +02:00
Rémi Verschelde
b5deb1dc72
Merge pull request #26053 from qarmin/back_scroll_to_start
...
Back scroll bar to start when changing folder
2019-04-30 13:35:45 +02:00
Rémi Verschelde
2cc8848c3c
Merge pull request #26224 from hilfazer/autocomplete
...
Working autocomplete for $" and $'
2019-04-30 13:32:37 +02:00
Rémi Verschelde
88c0a8d4b8
Merge pull request #26252 from ZahFox/colorpicker
...
ColorPicker: Properties to toggle the editability and visibility of presets
2019-04-30 13:31:51 +02:00
Rémi Verschelde
e949d6c2ae
Fix build error after #27294
2019-04-30 12:33:02 +02:00
Rémi Verschelde
712b789dc8
Merge pull request #26897 from rodolforg/fix_spatial_look_at_affecting_scale
...
Spatial::look_at() now preserves its scale values
2019-04-30 12:09:45 +02:00
Rémi Verschelde
0327d57cfd
Merge pull request #27007 from BastiaanOlij/arvr_notifications
...
Send notifications to ARVRInterfaces
2019-04-30 12:05:46 +02:00
Mariano Suligoy
33c39e4c25
Add and expose to Font a function to get the rect size needed to draw a word-wraped text
2019-04-30 12:03:17 +02:00
Rémi Verschelde
0da61614c0
Merge pull request #27204 from YeldhamDev/popupmenu_checkicon_offset
...
Offset items in PopupMenu when Icons and Checks are present
2019-04-30 11:49:16 +02:00
Rémi Verschelde
d6b20e854c
Merge pull request #27294 from lupoDharkael/rect2i
...
Add missing methods to Rect2i
2019-04-30 11:46:40 +02:00
Rémi Verschelde
f40c62fa29
Merge pull request #27371 from ShyRed/fixdisabled2dcollisions
...
Allow adding disabled shapes
2019-04-30 11:43:11 +02:00
Rémi Verschelde
9916319df8
Merge pull request #27693 from YeldhamDev/method_brackets_smart
...
Make brackets only be inserted when necessary when autocompleting methods
2019-04-30 11:11:08 +02:00
Rémi Verschelde
36d4f86ed9
Merge pull request #27707 from Calinou/tweak-message-wording
...
Improve wording of various messages and make casing more consistent
2019-04-30 11:10:36 +02:00
Rémi Verschelde
9d42565f81
Merge pull request #27763 from maksloboda/priority-improvement
...
Changed autotile priority picking algorithm
2019-04-30 11:07:41 +02:00
Rémi Verschelde
4f10a08d1b
Merge pull request #27796 from Leytak/patch-2
...
Reset button state on exit tree
2019-04-30 11:05:09 +02:00
Rémi Verschelde
6e1b8b07b9
Merge pull request #27805 from Kanabenki/line2d-add-point-idx
...
Add optional position argument for add_point in Line2D
2019-04-30 11:02:47 +02:00
Rémi Verschelde
ac0369e9ff
Merge pull request #27845 from samdze/master
...
Make TileMap overridable "set_cell" function called on undo/redo
2019-04-30 10:55:53 +02:00
Rémi Verschelde
79040656e1
Merge pull request #27869 from jean-dao/scenetree_call_group
...
Fix: use function in SceneTree::call_group
2019-04-30 10:55:05 +02:00
Rémi Verschelde
ea30bcdfef
Merge pull request #28287 from YeldhamDev/text_editable_contextmenu
...
Make 'Line/TextEdit's context menus hide their editing options when in readonly mode
2019-04-30 10:15:47 +02:00
Rémi Verschelde
d0e628fa55
Merge pull request #28334 from YeldhamDev/popup_buttons_scale
...
Make buttons that trigger popups have the same scale
2019-04-30 10:15:02 +02:00
miwanczuk
1001c7fdde
issue-28446 - disable higlighting all occurences of string in editor if only whitespaces are selected
2019-04-30 09:59:59 +02:00
homer666
80e9e93e27
Add Popup::popup_centered_clamped method
...
- Also replace redundant duplicate code in editor dialogs with calls to popup_centered_clamped()
2019-04-30 05:35:43 +10:00
Chaosus
4131b2b891
Renames captions of Scalar/VectorInterp in Visual Shaders
2019-04-29 21:04:11 +03:00
Michael Alexsander Silva Dias
f7a45eb0de
Make 'Line/TextEdit's context menus hide their editing options when in readonly mode
...
Fixes #28243 .
2019-04-29 14:03:31 -03:00
Rémi Verschelde
23147ae2c3
Merge pull request #28101 from MunWolf/debugger_cursor
...
Added a marker in text_edit that tells which row is executing.
2019-04-29 18:38:38 +02:00
Michael Alexsander Silva Dias
b8e09f98c4
Make buttons that trigger popups have the same scale
2019-04-29 13:07:47 -03:00
Rémi Verschelde
7e87a410fa
Merge pull request #28205 from mikolasan/26937-hide-popup-menu
...
Hide popup menu when OptionButton is hidden
2019-04-29 17:28:49 +02:00
Rémi Verschelde
6822ee37dd
Merge pull request #28281 from zqyoung1/fix-selection-undo
...
Fix selection undo
2019-04-29 17:25:14 +02:00
Rémi Verschelde
17ad16e396
Merge pull request #28284 from Daw11/doc-link-fix
...
Fix the unclickable links inside the doc
2019-04-29 17:23:50 +02:00
Rémi Verschelde
1af18ab235
Merge pull request #28399 from YeldhamDev/textedit_expose_tab_fold
...
Expose 'TextEdit's tab drawing and folding to GDScript
2019-04-29 17:04:46 +02:00
Rémi Verschelde
18e88c8563
Merge pull request #18992 from aaronfranke/mono-equal-approx
...
[Core] [Mono] Improve and use approximate equality methods
2019-04-29 10:16:46 +02:00
Mitch Curtis
b0956915c9
macOS: make Command + Left go to first non-whitespace character
...
Instead of going to column 0. This matches the behaviour of other
popular IDEs.
Fixes #28462 .
2019-04-28 17:51:47 +02:00
Daw11
ce6ab56e9f
Fix the unclickable links inside the doc
...
Fixes #27384
2019-04-27 21:30:08 +02:00
Juan Linietsky
876c509a9d
Removed function to compute time, should not be that useful in practice.
2019-04-27 15:28:20 -03:00
Juan Linietsky
c2027c8233
Added functions to further improve music timing
2019-04-27 14:05:16 -03:00
Juan Linietsky
040b59c010
Properly deal with clicking on audio stream change or stop (AudioStreamPlayer only)
2019-04-27 12:58:22 -03:00
Samuele Zolfanelli
e2dd0c101e
Make TileMap overridable "set_cell" function called on undo/redo
2019-04-27 17:20:32 +02:00
Juan Linietsky
60eec47077
Revert "Fix AudioStreams::stop possibly causing a small noise"
2019-04-27 12:17:54 -03:00
Rodolfo Ribeiro Gomes
9742d0c323
Spatial::look_at() now preserves its scale values
...
It always normalized basis after look_at() computation.
Now it applies previous scale back, in order to avoid
distortions when global scale was different of (1,1,1).
fix #10003 and #19000
Related to #17924
2019-04-26 20:10:32 -03:00
Bastiaan Olij
1a1b35721a
Send notifications to ARVRInterfaces
2019-04-27 08:39:21 +10:00
Bastiaan Olij
b652fcd241
Added set_as_bulk_array, fixed transform2D saving and documentation to MultiMesh
2019-04-26 20:30:16 +10:00
Rémi Verschelde
9ef46996cd
Merge pull request #28430 from AnthonyYoManz/issue-28186-fix-crash-on-exit-when-3d-disabled
...
Fix Crash On Close When 3D Is Disabled
2019-04-26 00:20:39 +02:00
AnthonyYoManz
fc65cc64b9
Fix Crash On Close When 3D Is Disabled
2019-04-25 21:59:07 +01:00
Aaron Franke
b659e1eb2b
Use approximate equallity methods in many places
2019-04-25 13:20:29 -04:00
Aaron Franke
b2e1c9c276
[Core] Approximate equality
2019-04-25 13:20:29 -04:00
James Buck
bc7863775c
Cancel tooltip when hiding the node it belongs to
2019-04-25 11:19:31 -05:00
Rémi Verschelde
cce2e4b07c
Merge pull request #22301 from YeldhamDev/button_popup_highlight
...
Enable toggle behaviour for buttons that trigger popups
2019-04-25 17:47:23 +02:00
Rémi Verschelde
c26f0c9bbd
Merge pull request #28377 from YeldhamDev/connection_info_script_changes
...
Make small changes to the new connection info on script feature
2019-04-25 10:41:27 +02:00
Rémi Verschelde
778322161c
Merge pull request #28380 from kiidmale/fix-cpuparticles
...
Make multimesh invisible initially in CPUParticles
2019-04-25 09:00:46 +02:00
Michael Alexsander Silva Dias
350bcce041
Expose 'TextEdit's tab drawing and folding to GDScript
2019-04-24 12:42:12 -03:00
Daeil Kim
692205da33
Make multimesh invisible initially in CPUParticles
...
Fixes #28252
2019-04-24 16:52:49 +09:00
Chaosus
21ca9f6c7c
Disallow loopback connection in visual scripts and visual shaders
2019-04-24 09:14:45 +03:00
Michael Alexsander Silva Dias
4bca3236d1
Make small changes to the new connection info on script feature
2019-04-24 03:13:25 -03:00
Rikhardur Bjarni Einarsson
9bfa63496a
Added a marker in text_edit that tells which row is executing.
2019-04-23 21:51:01 +01:00
ShyRed
a9d4cde0f5
Allow adding disabled shapes
...
Adds the ability to directly add disabled shapes to a collision object. Before this commit a shape has always been assumed to be enabled and had to be disabled in an extra step.
2019-04-23 18:06:48 +02:00
Rémi Verschelde
b4d561013f
Revert "RichTextLabel: Adding the ability to change the default cursor"
2019-04-23 16:10:15 +02:00
Daniel Rakos
de33ef2d1b
Disable GI probe capturing lights with bake mode disabled
...
The bake mode property of lights previously didn't affect GI probes.
This change makes the GI probe ignore lights that have their bake mode
set to disabled.
2019-04-23 11:36:36 +02:00
Hein-Pieter van Braam
5c28296efe
Merge pull request #24489 from mateusfccp/18264_wrong_animation_error
...
Make AnimatedSprite.animation complain when invalid animation name
2019-04-23 06:36:32 +03:00
Hein-Pieter van Braam
bf7634b625
Merge pull request #25155 from Timofffee/Timofffee-patch-vehicle
...
Added check engine_traction
2019-04-23 06:28:26 +03:00
Hein-Pieter van Braam
5d33f241f0
Merge pull request #26064 from JFonS/add_frustum_camera_mode
...
Add FRUSTUM camera mode, allowing tilted frustums
2019-04-23 06:20:13 +03:00
Hein-Pieter van Braam
05ef1f4998
Merge pull request #27903 from Calinou/richtextlabel-brighten-default-color
...
Brighten the RichTextLabel color in the default theme
2019-04-23 05:59:16 +03:00
qarmin
479649b5fb
Fix typo count_count to count
2019-04-23 01:25:29 +02:00
Juan Linietsky
33a0011ab2
Added bindings for methods related to obtaining base an instance from VisualInstance
2019-04-22 19:27:30 -03:00
Nikolay Neupokoev
ebe54833a9
Fix popup visibility for OptionButton, MenuButton and ColorPickerButton
...
Hide popup when its button or another parent object is hidden
Fixes #26937
2019-04-22 15:11:49 -07:00
Juan Linietsky
f46899e922
Expose visible instance count to multimesh
2019-04-22 18:38:49 -03:00
Rémi Verschelde
886afa9b76
Merge pull request #26868 from NilsIrl/master
...
Add Attenuation Model "NO" for AudioStreamPlayer3D
2019-04-22 13:36:07 +02:00
hilfazer
17166f5640
autocomplete for $" and $'
2019-04-22 12:53:24 +02:00
Rémi Verschelde
a342131eba
Merge pull request #27673 from qarmin/small_fixes
...
Small fixes, mostly duplicated code
2019-04-22 12:00:34 +02:00
Rémi Verschelde
201cdd358a
Merge pull request #28140 from Daw11/orphan-nodes
...
Add a monitor for the orphan nodes
2019-04-22 11:55:15 +02:00
Rémi Verschelde
22457b907e
Merge pull request #28234 from Paulb23/connection_info_on_script
...
Display connection information in the script editor
2019-04-22 11:52:13 +02:00
Nils ANDRÉ-CHANG
a1fc73e6d3
Add Attenuation Model "DISABLED" for AudioStreamPlayer3D
2019-04-22 10:34:28 +01:00
Rémi Verschelde
86aa22b2ac
Merge pull request #28266 from coldrye-collaboration/gh-28241
...
Fix LineEdit not expanded to text length on undo/redo
2019-04-22 10:47:58 +02:00
Rémi Verschelde
0fc67767a4
Merge pull request #28276 from YeldhamDev/lineedit_offset_limit
...
Fix 'LineEdit' offset limit not accounting for the right/clear icon width
2019-04-22 10:45:49 +02:00
Zach Young
516b80cd65
Fix completely #14835 -proper selection reset on undo
2019-04-21 17:20:58 -04:00
Rémi Verschelde
33b69340ad
Merge pull request #27219 from raphael10241024/debug_fix
...
Fix collider debug shape didn't changes with collider size changes
2019-04-21 20:34:34 +02:00
Rémi Verschelde
6d8b209fc5
Merge pull request #27448 from avencherus/light2d-height
...
Light2D height range expanded to -2048 to 2048.
2019-04-21 20:06:14 +02:00
Carsten Klein
da2a0a3814
Call minimum_size_changed() on redo/undo if expand_to_text_length is true
...
Fixes #28241
2019-04-21 19:10:01 +02:00
Michael Alexsander Silva Dias
ac1c523989
Fix 'LineEdit' offset limit not accounting for the right/clear icon width
...
Fully fixes #28242 .
2019-04-21 13:55:40 -03:00
Hugo Locurcio
35a0162167
Improve wording of various messages and make casing more consistent
...
This also adds the number of selected projects to the confirmation
dialog that appears before removing projects.
2019-04-21 14:37:14 +02:00
Rémi Verschelde
2226ce0fa8
Merge pull request #28248 from YeldhamDev/lineedit_clearbutton_limit
...
Fix 'LineEdit' contents not ending before the clear button if no right icon was set
2019-04-21 13:25:38 +02:00
Rémi Verschelde
36a54ffebb
Merge pull request #27577 from guilhermefelipecgs/continuation_of_27562
...
Continuation of #27562
2019-04-21 13:16:35 +02:00
Rémi Verschelde
71bbe6eb01
Merge pull request #27979 from Paulb23/remember_script_state
...
Restore script editor state between sessions
2019-04-21 13:01:43 +02:00
Rémi Verschelde
03dfac8609
Merge pull request #28093 from fire/expose_localize_rest
...
Expose localize_rests to gdscript.
2019-04-21 09:31:18 +02:00
Michael Alexsander Silva Dias
d84acb98d0
Fix 'LineEdit' contents not ending before the clear button if no right icon was set
...
Fixes #28242 .
2019-04-20 18:22:37 -03:00
Paulb23
a6562cd004
Display connection information in the script editor
2019-04-20 13:13:54 +01:00
Rémi Verschelde
f25b057846
Fix disable_3d=yes -Wunused-variable errors
2019-04-20 11:07:58 +02:00
Rémi Verschelde
b3d2584960
Merge pull request #28210 from hpvb/fix-28134
...
Object::script may not be a valid Ref<Script>
2019-04-20 10:25:39 +02:00
Hein-Pieter van Braam-Stewart
20b0046945
Object::script may not be a valid Ref<Script>
...
It appears that Object::script may be a valid ScriptInstance but not be
castable to Ref<Script>. There were only 5 places in the code that made
this assumption. This commit fixes that.
2019-04-20 02:13:28 +02:00
Juan Linietsky
04847ef5f9
Added ability for multiple images to be imported as an atlas
...
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
2019-04-19 15:56:34 -03:00
griant
eb5807984c
fix improper uncommenting behavior in TextEditor
2019-04-19 15:39:57 +08:00
Daw11
04d0371648
Add a monitor for the orphan nodes
...
- Allow the user to keep track of the nodes that might leak
- Possible fix for #27103
2019-04-17 23:13:16 +02:00
Rémi Verschelde
6697fd9a05
Merge pull request #27821 from mawenzy/pr_sliderfix
...
Fix slider handle being hard to select
2019-04-17 09:03:30 +02:00
K. S. Ernest (iFire) Lee
48a03b514c
Expose localize_rests to gdscript.
2019-04-16 11:38:13 -07:00
Max Hilbrunner
7a0c086e45
Merge pull request #27762 from rcorre/anim_docs
...
AnimationNode* docs
2019-04-16 15:47:47 +02:00
Rémi Verschelde
f7b5fa8cf2
Merge pull request #28038 from CatThingy/area-error-fix
...
Removed unnecessary error from _area_inout
2019-04-16 10:35:29 +02:00
Michael Alexsander Silva Dias
87e42e4f66
Merge pull request #24171 from YeldhamDev/occluder_polygon_grab
...
Make OccluderPolygon2D draggable in the editor
2019-04-15 16:10:48 -03:00
CatThingy
8166f8d3c8
Removed unnecessary error from _area_inout
...
The error was previously removed from _body_inout
for the same reason. Fixes #28022 .
2019-04-15 09:19:30 -07:00
Rémi Verschelde
39c5f363f7
Merge pull request #24654 from groud/better_dragging_autoscroll
...
Enhance tree scrolling when dragging
2019-04-15 10:35:08 +02:00
Juan Linietsky
ad1368a625
Clean up ASSIMP import code.
2019-04-13 15:19:47 -03:00
Chaosus
87f87839a6
Added conditional nodes to visual shaders
2019-04-13 18:17:20 +03:00
Paulb23
6ea253aa77
Restore script editor state between sessions
2019-04-13 13:07:12 +01:00
groud
14a901e88f
Enhance tree scrolling when dragging
2019-04-12 21:58:48 +02:00
Juan Linietsky
9f4b5a91c0
Reorganized connection dialog for much improved ease of use.
...
-Removed dest path field
-Added a "Source" signal
-Added an "Advanced" button to hide complexity
-Fix bug on Tree to make sure "ensure visible" works on hidden trees
-Fix bug on TextEdit to ensure signals created with script not open sill focus the right line
2019-04-11 23:23:24 -03:00
Juan Linietsky
c1dcdf6109
No more metadata and dependency indices kept in resources saved.
...
-Node folding is now saved externally together with the properties
-External resources remember their ID when scenes are saved.
2019-04-11 14:36:58 -03:00
yakun.zhang
e5f531620e
Fix collider debug shape didn't changes with collider size changes
2019-04-11 23:31:55 +08:00
Rémi Verschelde
2feec990e7
Merge pull request #27887 from godotengine/AndreaCatania-patch-1
...
Added No bone set state in the IK
2019-04-11 09:42:56 +02:00
Rémi Verschelde
2d67eaf2c3
Merge pull request #27917 from volzhs/init_autorestart_random_delay
...
Set initial value for autorestart_random_delay of AnimationNodeOneShot
2019-04-11 09:35:23 +02:00
Rémi Verschelde
9c514c2606
Merge pull request #27895 from nekomatata/fix-animation-tree-error
...
Fix caches_cleared signal discrepancies in AnimationTree
2019-04-11 09:33:33 +02:00
Rémi Verschelde
0e7f116b52
Merge pull request #27902 from Calinou/decrease-tooltip-delay
...
Decrease the default tooltip delay to 0.5 seconds
2019-04-11 08:46:30 +02:00
volzhs
eea3bddd1d
Set initial value for autorestart_random_delay of AnimationNodeOneShot
2019-04-11 14:56:38 +09:00
Juan Linietsky
5823b5d77d
Bundled VHACD library for convex decomposition.
...
Modified both MeshInstance tools as well as importer to use it instead of QuickHull.
2019-04-10 17:47:28 -03:00
Hugo Locurcio
fa586289c6
Brighten the RichTextLabel color in the default theme
...
This makes its default color match Label's color, which leads to
a more consistent appearance.
This partially addresses #24570 .
2019-04-10 20:00:29 +02:00
Hugo Locurcio
73ad31c0fa
Decrease the default tooltip delay to 0.5 seconds
...
This matches other applications' and OS' tooltip behaviors
more closely.
2019-04-10 19:45:29 +02:00
Juan Linietsky
e33764744c
Added generator audio stream, and spectrum analyzer audio effect
...
Made AudioFrame and Vector2 equivalent for casting.
Added ability to obtain the playback object from stream players.
Added ability to obtain effect instance from audio server.
2019-04-10 12:58:06 -03:00
PouleyKetchoupp
66e07a2ec6
Fixes caches_cleared signal discrepancies in AnimationTree ( fixes #25460 )
2019-04-10 16:25:18 +02:00
Andrea Catania
f65fde73da
Added No bone set state in the IK
...
The problem is that initially the root bone was not set, and you didn't know that because the "no set" state was missing. Now I've added it. https://github.com/godotengine/godot-docs/issues/2333
2019-04-10 07:50:09 +02:00
Adam Sharp
c8d32ac29b
Added a get_rpm() function to VehicleWheel
2019-04-09 23:49:37 +01:00
Jean Dao
7240701ec9
Fix: use function in SceneTree::call_group
...
When calling call_group from C++, the function name is not passed on to
call_group_flags, resulting in first argument being mistakenly used
instead of function.
2019-04-09 22:06:33 +02:00
mawenzy
e2e8457ca6
Fix #24124 , Slider control size
2019-04-09 21:58:19 +02:00
Jeremy Bullock
36bdf78927
Allow Right Click in Empty Space on FileSystemDock
2019-04-09 11:22:14 -06:00
Rémi Verschelde
c8994b56f9
Style: Apply new changes from clang-format 8.0
...
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Ryan Roden-Corrent
584288a32c
Fill out some of the AnimationNode docs.
...
The API docs for various animation nodes are pretty empty, yet the
tutorial at
https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html
contains some details.
These details should be included in the API docs so looking up a
particular class actually provides some information rather than
requiring the user to hunt for a different tutorial.
This also links the AnimationTree tutorial and demo in the docs.
I've found the TPS demo to be the best resource so far for learning
how to use the AnimationTree. This should be easy to find if someone
looks up the AnimationTree API docs.
Finally, this fixes a param typo in AnimationNodeStateMachine.
2019-04-09 10:49:21 -04:00
Rémi Verschelde
8fb54ef19b
Merge pull request #27814 from nekomatata/transition-node-xfade
...
Fixed uninitialized xfade in AnimationNodeTransition
2019-04-09 16:46:51 +02:00
Juan Linietsky
a20235aeb0
Add ability to edit editor feature profiles
...
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08 19:18:51 -03:00
PouleyKetchoupp
dafd7768ab
Fixed uninitialized xfade in AnimationNodeTransition
2019-04-08 17:13:30 +02:00
Rémi Verschelde
918de768a5
Merge pull request #27711 from neikeq/ifdef-clang-tidy
...
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-08 12:24:30 +02:00
Kanabenki
714953b3ac
Add optional position argument for add_point in Line2D
2019-04-08 11:29:13 +02:00
Max
d9f0d9cdac
Changed autotile priority picking algorithm
2019-04-08 12:26:28 +03:00
qarmin
856a8226a5
Small fixes, mostly dupicated code
2019-04-08 11:03:37 +02:00
Alexey Kashlakov
c7fbc63cc2
Reset button state on exit tree
...
Steps to reproduce a bug:
1) Hold / hover the button
2) Remove it (or parent node) from the tree
3) When we return the button back to the tree, it's pressed / hover
2019-04-08 15:11:07 +07:00
Rémi Verschelde
de33c37196
Merge pull request #27565 from SpechtMagnus/tileset_autotile_ignore_flags
...
Added ignore flag / wildcard bit to tileset autotile
2019-04-08 10:04:30 +02:00
Magnus Specht
a3af9d5714
+ Added ignore flags to autotile bitmask
...
+ Added ignore functionality to tileset editor
+ Updated tileset editor autotile tooltip
+ Autotile ignore bits are processed and rendered correctl
2019-04-08 00:41:05 +02:00
PouleyKetchoupp
cb3842833a
Early exit when nothing to draw in style box flat ( fixes #27764 )
2019-04-07 22:23:44 +02:00
Rémi Verschelde
3dabe862af
Merge pull request #26164 from Chaosus/vshader_improvements
...
Major update for visual shader system
2019-04-07 14:24:23 +02:00
Rémi Verschelde
5586e473b5
Merge pull request #27734 from Hendrikto/cleanup
...
Remove unused imports
2019-04-07 12:38:07 +02:00
Rémi Verschelde
f4f244ed4e
Merge pull request #27156 from BastiaanOlij/add_height_map_shape
...
Added height map shape that implement heightmap collision shape
2019-04-07 11:10:21 +02:00
Rémi Verschelde
35f06eb437
Merge pull request #25630 from BastiaanOlij/arvr_positional_mesh
...
Added a mesh interface to the arvr positional trackers
2019-04-07 11:09:21 +02:00
Chaosus
5fd671b8a7
Major improvements for visual shader system
2019-04-07 08:17:38 +03:00
Rémi Verschelde
f1dc158ebd
Merge pull request #27602 from YeldhamDev/tileset_emptypoly_crash_fix
...
Fix crash when using the Tileset Editor when the given shape has no points
2019-04-06 20:51:38 +02:00
Timo
1c178da72c
Merge pull request #26609 from nekomatata/shadow_offset
...
Support for shadow offset in box style
2019-04-06 19:36:57 +02:00
Rémi Verschelde
3b697ce8d5
Merge pull request #26486 from marxin/fix-Wdeprecated-copy
...
Fix new GCC 9 warnings: -Wdeprecated-copy.
2019-04-06 18:21:18 +02:00
Hendrikto
49a81308c0
Remove unused imports
2019-04-06 18:05:05 +02:00
Ignacio Etcheverry
2f3328a039
Fix wrong method binds and registered class
2019-04-06 16:12:59 +02:00
Rémi Verschelde
2db0613fb0
Merge pull request #25624 from nekomatata/texture-rect-flip
...
Add ability to flip TextureRect horizontally or vertically
2019-04-06 13:15:01 +02:00
Michael Alexsander Silva Dias
c7cfe5330c
Make 'ConvexPolygonShape2D' start empty, so it's consistent with other shapes.
2019-04-05 21:33:03 -03:00
Rémi Verschelde
7ca9863079
Merge pull request #23837 from fire/asset_import
...
Add Open Asset Importer to Godot.
2019-04-06 00:12:46 +02:00
Ignacio Etcheverry
ad2127a3e8
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-05 23:41:51 +02:00
Guilherme Felipe
dbda5b6700
Continuation of #27562
...
[AnimationTree] Fix scale interpolation
2019-04-05 15:41:37 -03:00
Rémi Verschelde
50ef456c78
Merge pull request #26803 from ptrojahn/emptynode
...
Make get_node return NULL for empty NodePaths
2019-04-05 16:55:42 +02:00
Rémi Verschelde
963165065d
Merge pull request #26914 from xDGameStudios/popup_menu_add_item
...
Fixed optional idx argument in add_item (PopupMenu)
2019-04-05 16:49:19 +02:00
K. S. Ernest (iFire) Lee
e3ef7f214a
Add Open Asset Import Library to Godot.
...
FBX support and MMD (pmx) support.
Normals, Albedo, Metallic, and Roughness through Arnold 5 Materials for Maya FBX.
Maya FBX Stingray PBS support.
Importing FBX static meshes work.
Importing FBX animations is a work in progress.
Supports FBX 4 bone influence animations.
Supports FBX blend shapes.
MMDs do not have an associated animation import yet.
Sponsored by IMVU Inc.
2019-04-05 07:17:52 -07:00
Rémi Verschelde
a61ad365f5
Merge pull request #27677 from akien-mga/Wimplicit-fallthrough
...
Fix -Wimplicit-fallthrough warnings from GCC 8
2019-04-05 16:12:45 +02:00
Rémi Verschelde
9d4093a21d
Merge pull request #27153 from YeldhamDev/animsprite_backwards
...
Make AnimatedSprite able to play backwards
2019-04-05 15:47:30 +02:00
Rémi Verschelde
434b73bc57
Merge pull request #27240 from Chaosus/clear_line_points
...
Added method to clear all points in Line2D
2019-04-05 15:44:14 +02:00
Rémi Verschelde
b2fcb40522
Merge pull request #27233 from Chaosus/tween_signal
...
Added signal for Tween emitted at full completion
2019-04-05 15:42:18 +02:00
Juan Linietsky
19a6a6286a
Ability to make CanvasLayers have pseudo 3D depth.
2019-04-05 10:25:51 -03:00
Rémi Verschelde
fc370b3feb
Fix -Wimplicit-fallthrough warnings from GCC 8
...
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135 .
2019-04-05 15:14:53 +02:00
Rémi Verschelde
4011429e57
Merge pull request #27683 from Xrayez/fix-bitmap-true-bit-count
...
Fix BitMap calculating incorrect true bit count
2019-04-05 14:40:49 +02:00
Mariano Javier Suligoy
bfc3ba5af0
Merge pull request #27365 from Byteron/tile_map_negative_offset
...
TileMap, negative Y and X Offset
2019-04-05 09:24:32 -03:00
Aaron Winter
63e0fd7675
added negative X and negative Y offset to TileMap
...
clang-format
added negative X and negative Y offset to TileMap
2019-04-05 10:37:35 +02:00
Jared
307bc16523
Light2D height range expanded to -2048 to 2048.
2019-04-05 07:44:05 +03:00
Michael Alexsander Silva Dias
24137f423a
Make brackets only be inserted when necessary when autocompleting methods
2019-04-04 23:06:44 -03:00
Michael Alexsander Silva Dias
61cbb1f6bb
Add option to enable autowrapping for label inside 'AcceptDialog'
2019-04-04 17:51:48 -03:00
qarmin
8460d0678c
Small fixes to static analyzer bugs
2019-04-04 22:00:16 +02:00
Andrii Doroshenko (Xrayez)
b16946dea6
Fix BitMap calculating incorrect true bit count
2019-04-04 19:11:39 +03:00
Rémi Verschelde
d9b9c9f98a
Merge pull request #27567 from Calinou/selection-boxes-use-accent-color
...
Use the editor theme's accent color for 2D/3D selections and rotations
2019-04-04 17:45:01 +02:00
Rémi Verschelde
3a7a1cd4c9
Merge pull request #27596 from mo7sener/master
...
Fix: RichTextLabel Crash - meta_hover_ended
2019-04-04 17:27:34 +02:00
Juan Linietsky
a18989602b
Clean up notifications and merge Node and MainLoop ones for clarity, closes #27614
2019-04-04 10:34:41 -03:00
Angeloss
40acc3ecdc
Fix: Keep custom tracks option now keeps animation loop property and value track update mode.
...
(cherry picked from commit 589c5698a0
)
2019-04-03 16:59:34 +02:00
PouleyKetchoupp
43bd28bc14
Option for BaseButton to keep button down when moving the pointer outside while pressed
2019-04-03 14:19:33 +02:00
PouleyKetchoupp
8b84638322
Add ability to flip TextureRect horizontally or vertically
2019-04-03 13:05:29 +02:00
Chaosus
a19e99aacb
Added signal for Tween emitted at completion
2019-04-03 10:35:26 +03:00
marxin
f9f2413e69
Fix -Wnon-virtual-dtor warnings.
...
Example of the warning:
./core/script_language.h:198:7: warning: 'class ScriptCodeCompletionCache' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
2019-04-02 14:07:29 +02:00
Robear Selwans
84dfb3ff2d
Fixed an issue where changing the default_cursor on the RichTextLabel's meta_hover_ended caused the entire project to crash
2019-04-02 13:59:38 +02:00
Tomasz Chabora
fc8ad59af3
Make angular_damp of new Area nodes match the global default
2019-04-01 21:42:06 +02:00
Rémi Verschelde
9b691718f5
Merge pull request #27557 from Paulb23/deselect_line_edit_clear
...
Fixed not deselecting when clearing lineedit.
2019-04-01 17:01:45 +02:00
Rémi Verschelde
e91844e8dc
Merge pull request #27562 from guilhermefelipecgs/fix_27484
...
Fix wrong blend of animation tree
2019-04-01 16:38:55 +02:00
Rémi Verschelde
f6bbb08ae1
Merge pull request #27080 from YeldhamDev/tilemap_remove_rect_dirty
...
Make size cache dirty when removing tiles in 'TileMap'
2019-04-01 10:08:49 +02:00
Hugo Locurcio
d59b210aec
Use the editor theme's accent color for 2D/3D selections and rotations
2019-03-31 23:54:46 +02:00
Guilherme Felipe
45d97b9860
Fix wrong blend of animation tree
...
Interpolation cannot use zero values, must use the values from the
animation to be blended.
2019-03-31 17:12:24 -03:00
Paulb23
bfba1e36bc
Fixed not deselecting when clearing lineedit.
2019-03-31 16:32:24 +01:00
Pedro J. Estébanez
5b00cd89d3
Drop mouseover when mouse not in the window
...
Not that this is critical, but it makes behavior of GUI and 2D/3D picking consistent among them.
This also contributes to dropping GUI focus when the mouse leaves the window (in addition to when it loses focus).
2019-03-30 00:26:16 +01:00
Pedro J. Estébanez
e3fc5fb1db
Fix Viewport and Camera issues
...
1. Consider 'own_world' as well as 'world' to stop propagating enter/exit world notifications.
2. Clean & fix handling of camera currency.
This fixes some random crashes and error logs in the editor; namely
- when enabling/disabling own world in a Viewport;
- when switching back from a subscene displayed into a main scene's Viewport;
- when exiting the editor after any of them;
- memory corruption (can that explain certain other seemingly unrelated crash reports?).
This also fixes situations where a Viewport and its main Camera get out of sync about which World is relevant to them.
2019-03-30 00:25:26 +01:00
Rémi Verschelde
64737c735b
Merge pull request #27200 from piyushdagar/new
...
Fixed CollisionObject signals do not trigger on Area
2019-03-27 17:09:02 +01:00
Rémi Verschelde
1b4204fd76
Merge pull request #27162 from guilhermefelipecgs/fix_26540
...
StateMachine: Fix sync mode
2019-03-27 17:01:28 +01:00
Rémi Verschelde
e02c7612e5
Merge pull request #27088 from fire/scaling_texture_button_focus
...
Fix scaling issue for texture button focus texture.
2019-03-27 16:55:07 +01:00
Rémi Verschelde
04c6347856
Merge pull request #27017 from qarmin/fix_inspector_update
...
Fix inspector update after changing anchor from buttons
2019-03-27 16:53:58 +01:00
Daniel Rakos
6dd65c0d67
KinematicBody performance and quality improvements
...
With this change finally one can use compound collisions (like those created
by Gridmaps) without serious performance issues. The previous KinematicBody
code for Bullet was practically doing a whole bunch of unnecessary
calculations. Gridmaps with fairly large octant sizes (in my case 32) can get
up to 10000x speedup with this change (literally!). I expect the FPS demo to
get a fair speedup as well.
List of fixes and improvements:
- Fixed a general bug in move_and_slide that affects both GodotPhysics and
Bullet, where ray shapes would be ignored unless the stop_on_slope parameter
is disabled. Not sure where that came from, but looking at the 2D physics
code it was obvious there's a difference.
- Enabled the dynamic AABB tree that Bullet uses to allow broadphase collision
tests against individual shapes of compound shapes. This is crucial to get
good performance with Gridmaps and in general improves the performance
whenever a KinematicBody collides with compound collision shapes.
- Added code to the broadphase collision detection code used by the Bullet
module for KinematicBodies to also do broadphase on the sub-shapes of
compound collision shapes. This is possible thanks to the dynamic AABB
tree that was previously disabled and it's the change that provides the
biggest performance boost.
- Now broadphase test is only done once per KinematicBody in Bullet instead of
once per each of its shapes which was completely unnecessary.
- Fixed the way how the ray separation results are populated in Bullet which
was completely broken previously, overwriting previous results and similar
non-sense.
- Fixed ray shapes for good now. Previously the margin set in the editor was
not respected at all, and the KinematicBody code for ray separation was
complete bogus, thus all previous attempts to fix it were mislead.
- Fixed an obvious bug also in GodotPhysics where an out-of-bounds index was
used in the ray result array.
There are a whole set of other problems with the KinematicBody code of Bullet
which cost performance and may cause unexpected behavior, but those are not
addressed in this change (need to keep it "simple").
Not sure whether this fixes any outstanding Github issues but I wouldn't be
surprised.
2019-03-27 00:39:47 +01:00
lupoDharkael
6232e7eed3
Add missing methods to Rect2i
...
Replace inline with _FORCE_INLINE_ in short methods.
Remove unused and redundant method no_area() as we already have has_no_area().
Add grow_individual() grow_margin() and expand() to Rect2i.
2019-03-21 17:35:01 +01:00
Daeil Kim
24b7f08892
Ensure non-emitting particles not processed on entering tree
...
Also removed non-active CPUParticles(3d) from render list
Fixes #27066
2019-03-20 21:54:00 +09:00
qarmin
8b391b9ab0
Fix inspector update after changing anchor via buttons
2019-03-19 18:37:28 +01:00
Chaosus
61b22beeae
Added method to clear all points in Line2D
2019-03-19 20:32:10 +03:00
PouleyKetchoupp
8346d90c5e
Properly handle different border widths in rounded corner aa
...
Note: removed (unused and not implemented) support for multiple border colors
2019-03-19 11:51:32 +01:00
PouleyKetchoupp
cb097283db
Support for shadow offset in box style
2019-03-19 10:35:06 +01:00
Kanabenki
3f64215a43
Add missing check for 2d physics bounce and friction setters
...
The override check was already present for 3d physics but missing for 2d
2019-03-18 15:30:26 +01:00
Michael Alexsander Silva Dias
de04003d3f
Offset items in PopupMenu when Icons and Checks are present
2019-03-18 10:10:19 -03:00
piyushdagar
d7387e8a68
Fixed CollisionObject signals do not trigger on Area
2019-03-18 13:56:40 +05:30
Guilherme Felipe
d35eae166c
StateMachine: Fix sync mode
2019-03-17 10:12:27 -03:00
Bastiaan Olij
8627f1515b
Added height map shape that implement heightmap collision shape
2019-03-17 20:55:40 +11:00
Michael Alexsander Silva Dias
4a2c433028
Make AnimatedSprite able to play backwards
2019-03-17 04:03:23 -03:00
Rémi Verschelde
43f147b5aa
Merge pull request #26308 from bojidar-bg/11722-meshlibrary-transforms
...
Consider StaticBody and NavMesh position when converting to a MeshLibrary
2019-03-16 11:15:15 -07:00
Rémi Verschelde
39a5bb4fbc
Merge pull request #26459 from ptrojahn/eof
...
Remove extraneous line breaks from text resources
2019-03-16 11:12:35 -07:00
Rémi Verschelde
67764bff64
Merge pull request #26788 from mo7sener/master
...
RichTextLabel: Adding the ability to change the default cursor
2019-03-16 11:08:29 -07:00
K. S. Ernest (iFire) Lee
1971c09e5e
Fix scaling issue for texture button focus texture.
2019-03-15 01:55:50 -07:00
Michael Alexsander Silva Dias
be5f35dfa0
Make size cache dirty when removing tiles in 'TileMap'
2019-03-15 00:58:30 -03:00
Rémi Verschelde
775e74e0d4
Merge pull request #26484 from Andrettin/Configurable-Tooltip-Offset
...
Make the Tooltip Position Offset Configurable
2019-03-13 20:12:22 +01:00
merumelu
db8f26c8e5
AudioStreamSample: Don't crash when writing to file fails
2019-03-12 15:51:07 +01:00
xDGameStudios
ffc5f360e8
Fixed optional idx argument in add_item (OptionMeny & PopupMenu)
2019-03-11 11:54:12 +00:00
Rémi Verschelde
59aa79f218
Merge pull request #26867 from bojidar-bg/26816-graphnode-title
...
Fix cursor going to start while editing GraphNode's title
2019-03-10 11:50:49 +01:00
Bojidar Marinov
964152ed71
Fix cursor going to start while editing GraphNode's title
...
Fixes #26816
2019-03-10 12:22:15 +02:00
Rémi Verschelde
7052ddd706
Merge pull request #26859 from JFonS/fix_cpuparticles_resetting
...
Fix resetting of CPUParticles (2D and 3D)
2019-03-10 11:09:36 +01:00
JFonS
c13ac398f6
Fix resetting of CPUParticles (2D and 3D)
2019-03-10 00:33:08 +01:00
Rémi Verschelde
bba854bac6
Merge pull request #26851 from RandomShaper/fix-26460-fake-event-flood
...
Fix fake null-motion mouse event flood
2019-03-09 22:40:53 +01:00
Pedro J. Estébanez
f757460ec8
Fix fake null-motion mouse event flood
...
This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit.
Fixes #26460 .
2019-03-09 22:04:17 +01:00
Gilles Roudière
ede5306d7c
Fixes UI navigation with joysticks
2019-03-09 21:09:20 +01:00
Paul Trojahn
8851e16f75
Support UTF-8 in TextEdit and LineEdit navigation
...
This allows jumps over whole non ASCII words with Ctrl+Left/Right in
a LineEdit or TextEdit.
Fixes #25681
2019-03-09 20:08:40 +01:00
Rémi Verschelde
362b42787b
Merge pull request #26784 from humblers/fix-cpuparticles2d
...
Prevent invisible/inactive cpupparticles2d to redraw
2019-03-09 16:28:34 +01:00
Daeil Kim
1edc2134c9
Prevent invisible/inactive cpuparticles to redraw(3d)
2019-03-09 10:50:44 +09:00
Paul Trojahn
97e8c88ce7
Make get_node return NULL for empty NodePaths
...
Fixes #25292
2019-03-08 21:31:36 +01:00
Robear Selwans
b852a7a854
Added the ability to change the default cursor property for the RichTextLabel component.
2019-03-08 13:33:34 +02:00
Daeil Kim
608af1a786
Prevent invisible/inactive cpupparticles2d to redraw
2019-03-08 16:05:00 +09:00
Gilles Roudière
a6c229bbfd
Fixes bad gizmo alignment for textures with odd size
2019-03-07 21:05:23 +01:00
Rémi Verschelde
e28e849012
Merge pull request #21534 from volzhs/fix-scrollcontainer-size
...
Precise size calculation of ScrollContainer
2019-03-07 14:19:43 +01:00
Juan Linietsky
06dbeab5d4
No longer crash due to wrongly requesting a gizmo, fixes #26735
2019-03-07 09:26:49 -03:00
Juan Linietsky
34a29cb0de
Merge pull request #26669 from RandomShaper/fix-26460
...
Improve/fix picking
2019-03-06 13:55:01 -03:00
Juan Linietsky
3d34df0e79
Hide StreamTexture flags, fixes #26640
2019-03-06 12:50:24 -03:00
Juan Linietsky
5f079e2ef9
-Make tileset and meshlibrary edit in a separate inspector, fixes #26671
...
-Made relationship lines appear based on theme settings, not previous hack
-Fix drawing of relationship lines (was broken)
-Fix double initialization of theme settings
2019-03-06 12:12:42 -03:00
Rémi Verschelde
4ab4ff67ff
Merge pull request #26642 from DrMoriarty/check_cursor_line
...
Check cursor line and column
2019-03-05 22:57:55 +01:00
Pedro J. Estébanez
82902656ac
Improve/fix picking
...
Acknowledge mouse button events as position tellers (to make picking more solid; for instance, the touch mouse is raised with a mouse unpressed event that may have a more current position)
Forget mouse position for physics if touch mouse raised (because the position known as last is no longer meaningful)
Remove needless check for mouse over/exit (now there's code to inject an spurious move for cases where camera/objects have moved)
Restrict 2D mouse over/exit to mouse events (including emulated from touch; true touches shouldn't trigger the signals)
Fixes #26460 .
2019-03-05 22:33:34 +01:00
Rémi Verschelde
12fefc1a6c
Merge pull request #26638 from KoBeWi/fix_audio_stream_player
...
Pause AudioStreamPlayer on SceneTree pause
2019-03-05 16:58:40 +01:00
Vasiliy Makarov
a3d9b7d916
Check cursor line and column
...
Added a trivial check if cursor.line and cursor.column are valid.
Fix #26245
2019-03-05 18:27:37 +03:00
Tomasz Chabora
4f840168d2
Pause AudioStreamPlayer on SceneTree pause
2019-03-05 15:04:29 +01:00
Michael Alexsander Silva Dias
a292d1fefb
Fix general issues with filesystem-related UI components in the editor
2019-03-05 10:12:06 -03:00
Mariano Suligoy
078b869d9a
TileSet/TileMap: Decompose solid non-convex polygons into convexes. Real fix for #24003
2019-03-04 21:03:10 -03:00
Juan Linietsky
53bec9deeb
Fix and restore text, material and mesh previewers.
2019-03-04 15:53:18 -03:00
Juan Linietsky
03cafd4895
Update focus mask only if there is a focused control, fixes #26524
2019-03-04 10:26:48 -03:00
Juan Linietsky
9dd9737cb4
Warn about plane shape usage, closes #26503
2019-03-04 10:12:03 -03:00
Juan Linietsky
4f041d3afa
Specifically error when users try to use sync to physics and move and slide, closes #26545
2019-03-04 09:53:02 -03:00
Rémi Verschelde
4da21d1ce1
Merge pull request #26511 from clayjohn/giprobe_gles2_warning
...
Add warning to GIProbe when using GLES2
2019-03-04 09:40:20 +01:00
clayjohn
d566c5b75e
add warning to GIProbe when using GLES2
2019-03-03 11:26:08 -08:00
Juan Linietsky
0b7f20c7ed
Fixed missing exclude raycast shapes arguments in snap, closes #25230
2019-03-03 16:10:10 -03:00
Juan Linietsky
6b8b1cabae
Add a warning when using plain Container, as many users seem to misunderstand what this is.
2019-03-03 16:00:56 -03:00
Juan Linietsky
2f32a75d2e
Skeletons can now choose between using local or world coords for processing, fixes #26468
2019-03-03 12:24:00 -03:00
Rémi Verschelde
88e0bed081
Merge pull request #26514 from clayjohn/hide_properties_gles2
...
Hide hdr and shadow_contact in gles2
2019-03-03 13:43:43 +01:00
Rémi Verschelde
467f18b738
Fix style issues from recent commits
2019-03-03 12:45:20 +01:00
clayjohn
95837049e8
hide hdr and shadow_contact in gles2
2019-03-02 19:01:26 -08:00
Juan Linietsky
c00429c33b
Removed some prints
2019-03-02 12:15:48 -03:00
Juan Linietsky
1b8f56c099
Clean up and fix some situations where triangulation may fail, closes #26366
2019-03-02 12:04:24 -03:00
Juan Linietsky
90038a4eef
Fixed a case of broken loop due to wrapping on the edge, closes #25245
2019-03-02 11:07:13 -03:00
marxin
6be77da7eb
Fix new GCC 9 warnings: -Wdeprecated-copy.
2019-03-02 14:37:02 +01:00
Juan Linietsky
b84b015225
Make query checks less agressive, fixes #24694
2019-03-02 08:48:47 -03:00
Andrettin
30c07c1ae1
Made the tooltip position offset configurable
2019-03-02 12:11:42 +01:00
Paul Trojahn
9bbda4db2f
Remove extraneous line breaks from text resources
...
Fixes #23539
2019-03-01 23:02:58 +01:00
Juan Linietsky
4b679f7f16
Remove old method that makes no sense today, fixes #25566
2019-03-01 18:02:45 -03:00
Juan Linietsky
51b80f6857
Fixed some crashers, closes #26393
2019-03-01 17:24:57 -03:00
Rémi Verschelde
03862d43ad
Merge pull request #26441 from QbieShay/fix_sigill_when_no_parent_escn
...
Engine does not crash anymore if a non root node in escn is missing a parent.
2019-03-01 20:18:59 +01:00
Rémi Verschelde
994bdc9adc
Merge pull request #26140 from karliss/meta-item
...
Use correct meta item in rich text.
2019-03-01 18:16:27 +01:00
Ilaria Cislaghi
9d41ee71f6
Editor does not crash anymore if a non root node in escn is missing a parent
2019-03-01 14:38:02 +01:00
Justin Vesper
079ed007c8
Fixed wrong method binding in control
...
Control.get_parent_area_size() is now bound to
Control::get_parent_area_size() instead of Control::get_size()
2019-03-01 14:16:19 +01:00
clayjohn
9fdc77c222
added diffuse and specular as inputs to visual shader
2019-02-28 22:02:06 -08:00
Rémi Verschelde
ed37408907
Merge pull request #26257 from kaadmy/procedural_sky_sun_energy
...
Use sun energy for ProceduralSky generation
2019-02-27 21:42:28 +01:00
Rémi Verschelde
ce615c1a82
Merge pull request #26352 from bojidar-bg/21633-progress-stylebox
...
Fix minimum size of ProgressBar-s
2019-02-27 17:19:01 +01:00
Bojidar Marinov
a7b564db6e
Fix minimum size of ProgressBar-s
...
Was a leftover from 0a1c1c660f
.
Fixes #21633 .
2019-02-27 15:56:49 +02:00
Rémi Verschelde
426a6fdc17
Merge pull request #26134 from marxin/fix-Wsign-compare
...
Fix -Wsign-compare warnings.
2019-02-27 09:22:47 +01:00
Rémi Verschelde
0ba75c195e
Fix GCC 5 build after #26331 and cleanup style
...
Also cleanup after 01a3dd3
.
2019-02-27 09:01:24 +01:00
marxin
e5f665c718
Fix -Wsign-compare warnings.
...
I decided to modify code in a defensive way. Ideally functions
like size() or length() should return an unsigned type.
2019-02-27 07:45:57 +01:00
Hein-Pieter van Braam
464e1142c4
Don't crash on previewing an AtlasTexture without a region
2019-02-27 00:44:09 +00:00
Bojidar Marinov
1a397a7878
Consider StaticBody and NavMesh position when converting to a MeshLibrary
...
Would have added mesh transform, but realized that will cause problems when moving the mesh around the scene for visualization purposes.
Closes #11722
2019-02-26 15:38:23 +02:00
Juan Linietsky
3299045988
Remove setting that caused is_inside_tree() errors on doppler tracking enabled.
2019-02-26 09:16:23 -03:00
Windy Darian
52538b200f
Fix saturate ScalarFunc in Visual Shader
...
Was getting this error when using a saturate node. This change fixes it.
```
:39 - Invalid arguments for built-in function: max(float,int)
drivers\gles3\rasterizer_storage_gles3.cpp:2150 - Condition ' err != OK ' is true.
```
2019-02-25 23:30:03 -05:00
Juan Linietsky
a32b26dfa2
Several fixes to make GLES2 on HTML5 work much better.
...
Changed math class error reporting to be a bit less paranoid.
2019-02-25 21:47:29 -03:00
Bojidar Marinov
8dad5f1e10
Update controls when a stylebox or icon override changes; change to CONNECT_REFERENCE_COUNTED
...
Also, cleanup unnessesary calls to update() and NOTIFICATION_THEME_CHANGED.
Fixes #25904 .
2019-02-25 17:42:38 +02:00
will
eb9c92f996
ColorPicker: New properties to toggle the editability and visibility of presets
2019-02-24 23:16:56 -06:00
Juan Linietsky
74d0ed2236
Many separate fixes to ensure non power of 2 textures work on GLES2, closes #25897 and many others
2019-02-24 22:36:53 -03:00
KaadmY
bffe97c110
Use sun energy for ProceduralSky generation
2019-02-24 17:12:35 -08:00
Hein-Pieter van Braam
a83e77fded
Explicitly use floating point numbers in the our shaders
...
We need to be explicit about using floating point numbers in our shaders
for compatibility with mobile GLES drivers.
2019-02-24 23:35:10 +00:00
Juan Linietsky
3ea04c1366
Prevent circular references to scene being saved, fixes #24384
2019-02-24 10:48:38 -03:00
Juan Linietsky
bfa9be85d3
Remove copy and use instance material override in gizmos, fixes #23783
2019-02-23 20:20:54 -03:00
Juan Linietsky
6cd4006fb3
Do not crash on empty path, closes #23701
2019-02-23 20:07:16 -03:00
Juan Linietsky
fd68bb2596
-Treat scalar conversions when calling functions as error, closes #24261
...
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
2019-02-23 17:55:09 -03:00
Hugo Locurcio
eb79833770
Tweak SpatialMaterial's default metallic and roughness texture channels
...
To follow the glTF 2.0 specification in all cases (including outside
of imported glTF scenes), the blue channel is now used for metallic
and the green channel is now used for roughness.
2019-02-23 19:10:31 +01:00
Juan Linietsky
9dfe3b6d9e
Ensure move and slide snap respects stop on slope, fixes #26180
2019-02-23 10:24:21 -03:00
Rémi Verschelde
a291c837f0
Merge pull request #26157 from YeldhamDev/splitcont_update_check
...
Make 'SplitContainer' update drawing only if actually needs to
2019-02-23 10:36:09 +01:00
Juan Linietsky
4f697f73a5
Change MAX for MIN, fixes #26170
2019-02-22 21:19:31 -03:00
Juan Linietsky
7f63b0e8cd
Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
...
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Juan Linietsky
aab8f443f9
-Support DEPTH_TEXTURE in GLES2, fixes #25106
...
-Fix use of transparent framebuffers in GLES2
-Fix use of ambient color clearing in GLES2 when no environment exists.
2019-02-22 11:35:39 -03:00
Michael Alexsander Silva Dias
52abab5aa7
Make 'SplitContainer' update drawing only if actually needs to
2019-02-22 10:12:39 -03:00
Juan Linietsky
edbf1d0ea4
Check that area is inside tree besides checking that queries are flushed, fixes #26148
2019-02-22 09:05:34 -03:00
Rémi Verschelde
5f5f338e3f
Merge pull request #26146 from YeldhamDev/splitcont_hover_fix
...
Fix 'SplitContainer's showing their handles when they shouldn't
2019-02-22 10:02:06 +01:00
Rémi Verschelde
c4b736d7ad
Fix code style issues
2019-02-22 09:52:27 +01:00
Rémi Verschelde
60fe9321ac
Merge pull request #26099 from marxin/fix-Wtype-limits-warnings
...
Fix all -Wtype-limits warnings.
2019-02-22 09:44:59 +01:00
Michael Alexsander Silva Dias
f2f09f00b7
Fix 'SplitContainer's showing their handles when they shouldn't
...
Fixes #25735 .
2019-02-21 23:01:30 -03:00
Juan Linietsky
8b231b96e3
Implement a cleaner (and better) way to save imagedata from ImageTexture, fixes #18801
2019-02-21 20:49:42 -03:00
Kārlis Seņko
05f5774592
Use correct meta item in rich text.
...
Prevent incorrect static cast and unnecesarry meta_hover_ended/started
events.
2019-02-22 00:23:05 +02:00
Juan Linietsky
87b303aa95
Fixed bugs in test body motion and removed unnecesary test in move_and_slide. Fixes #25968
2019-02-21 17:21:36 -03:00
marxin
7de7f0ef17
Fix all -Wtype-limits warnings.
2019-02-21 19:34:35 +01:00
Rémi Verschelde
47c4ec7f1d
Merge pull request #26105 from nekomatata/texture-button-mask-fix
...
TextureButton with click mask only can be clicked
2019-02-21 14:48:43 +01:00
PouleyKetchoupp
f07dfe8a3f
Fixed TextureButton click mask when no other texture is set
2019-02-21 01:11:56 +01:00
Rémi Verschelde
16934c7411
Merge pull request #26068 from luizcarlos1405/master
...
Fix AnimationPlayer jumping to the beggining after ending on editor.
2019-02-20 22:30:41 +01:00
Luiz
e27bbb075a
Fix AnimationPlayer jumping to the beggining after ending on editor.
2019-02-20 14:58:53 -04:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
Rémi Verschelde
9714f701c5
Merge pull request #26089 from ianb96/word_wrap_cutoff_fix
...
Fix word wrap cutoff and tab wrapping issue
2019-02-20 16:28:43 +01:00
Rémi Verschelde
6709ff6a96
Merge pull request #26049 from vixelz/textureprogress-nineslice-fill-fix
...
Truncate first segment in TextureProgress 9slices
2019-02-20 15:23:31 +01:00
ianb96
39f537e481
Fix word wrap cutoff and tab wrapping issue
2019-02-20 08:52:33 -05:00
Kārlis Seņko
86374c0431
Allow moving LineEdit visible window left by more than one symbol.
2019-02-19 23:59:09 +02:00
JFonS
54b95b6c5a
Add FRUSTUM camera mode, allowing tilted frustums
...
This new camera mode makes it easy to create tilted frustums for mirror
or portal effects.
This work was kindly sponsored by IMVU.
2019-02-19 17:48:08 +01:00
qarmin
9bf1964dff
Back scroll to start when changing folder
2019-02-19 13:31:39 +01:00
Vixelz
559b8fd236
Truncate first segment in TextureProgress 9slices
...
Much in the way that TextureProgress was truncating the last segment
of the nine slice when the value wasn't close to the end, perform
similar work on the beginning segment. This fixes the beginning segment
always being drawn, sometimes in the incorrect location.
2019-02-19 08:28:32 +00:00
Rémi Verschelde
0fa3b80850
Merge pull request #26025 from clayjohn/particles_lifetime
...
Allowing setting particles lifetime greater than 600
2019-02-18 21:20:24 +01:00
clayjohn
0fec83bc92
allowing setting particles lifetime greater than 600
2019-02-18 10:46:41 -08:00
Marcelo Fernandez
b31e1b84fc
Fix AudioStreams::stop possibly causing a small noise
2019-02-17 11:20:10 -03:00
Juan Linietsky
623f7b64ae
Updat polygons when skeleton setup changes, fixes #25949
2019-02-16 20:08:17 -03:00
Rémi Verschelde
a034cac583
Merge pull request #25953 from nekomatata/fix-radial-texture-progress
...
Fixed TextureProgress in Radial Mode when using center offset
2019-02-16 22:26:06 +01:00
PouleyKetchoupp
1974f6995f
Fixed radial progress with center offset by taking distance to edge into account in uv calculation
2019-02-16 21:02:29 +01:00
Rémi Verschelde
bf53132217
Merge pull request #25931 from qarmin/fix_copy_readonly
...
Fix copy text when TextEdit is readonly
2019-02-16 20:00:24 +01:00
Juan Linietsky
0cee7ab4c9
Change snapping to only happen when the floor normal remains as floor, fixes #22312
2019-02-16 15:50:31 -03:00
Juan Linietsky
ee464f56c4
Add a minimum treshold for acquiring rest contacts to avoid numerical precision issues. Fixes #25074
2019-02-16 13:45:01 -03:00
Juan Linietsky
c54330c6b0
Make sure stop on slope can have a tiny bit of precision edge.
2019-02-16 11:19:47 -03:00
Rémi Verschelde
2293559c9f
Merge pull request #25888 from marxin/fix-25217-part-2
...
Fix 2 more UBSAN issues (#25217 ).
2019-02-16 12:45:18 +01:00
qarmin
7a254b303b
Fix copy text when TextEdit is readonly
2019-02-16 07:56:24 +01:00
Rémi Verschelde
fe7d2dc4d3
Revert "Fix MenuButton item label disappearing when setting shortcut."
2019-02-15 11:44:27 +01:00
Rémi Verschelde
3f74a54cd4
Merge pull request #25894 from marcelofg55/last_mouse_focus_crash
...
Fix possible crash with an invalid last_mouse_focus pointer
2019-02-15 09:27:32 +01:00
Rémi Verschelde
e7e4d41a29
Merge pull request #25841 from Awkor/menubutton-fix
...
Fix MenuButton item label disappearing when setting shortcut.
2019-02-15 09:10:05 +01:00
Marcelo Fernandez
761caac0b2
Fix possible crash with an invalid last_mouse_focus pointer
2019-02-14 22:16:56 -03:00
Unknown
3236c9a0e7
Fix MenuButton item label disappearing when setting shortcut.
2019-02-14 23:17:29 +01:00
marxin
7ae160f661
Fix 2 more UBSAN issues ( #25217 ).
2019-02-14 20:47:35 +01:00
Luiz
5ec4f14a24
Fix AnimationPlayer bug where it wouldn't reset its position when finished
2019-02-14 15:32:29 -03:00
Juan Linietsky
4a24ba6e77
-Fixes to undo redo to avoid crash, closes #24251
...
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer
-Added missing emit_changed whe modifying keys to Animation
-Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references
-Changed AnimationEditor to update the current track when keys are edited
-Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated)
-Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-02-14 10:22:34 -03:00
Rémi Verschelde
6b184e4d3b
Merge pull request #25717 from nekomatata/dynamic-font-settings-fix
...
Fixed undefined behavior when loading dynamic font settings
2019-02-14 12:54:33 +01:00
Rémi Verschelde
325efb60b7
Merge pull request #25776 from luizcarlos1405/master
...
Fixes some AnimationPlayer bugs
2019-02-13 20:34:35 +01:00
Rémi Verschelde
b340b7e804
Merge pull request #25422 from azagaya/optionbutton
...
Fix docs about item_selected and item_focused . Fixes #25273
2019-02-13 20:31:53 +01:00
Luiz
06a0a29711
Fix some AnimationPlayer bugs and update documentation
2019-02-13 14:40:22 -03:00
Naoto Kondo
f48829d1a4
Fix button alignment of Package Installer on OSX
...
This problem occurs only in the HiDPI environment.
2019-02-13 23:52:14 +09:00
Rémi Verschelde
5fc86026ca
Fix typos with codespell
...
Using codespell 1.14.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00
Rémi Verschelde
55ca2a7c88
Merge pull request #25821 from akien-mga/sync-class-and-filenames
...
Ensure classes match their header filename
2019-02-13 08:49:39 +01:00
PouleyKetchoupp
9418f6a557
Fixed undefined setting values when loading dynamic fonts
2019-02-12 23:21:48 +01:00
Guilherme Felipe
67eda1d4dd
Fix state machine priority for auto advance
2019-02-12 15:57:26 -02:00
Rémi Verschelde
c5dcbeb160
Scene: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`
Dropped:
- `scene/resources/bounds.h`
2019-02-12 17:21:48 +01:00
Rémi Verschelde
dfe4990b18
Merge pull request #25496 from ptrojahn/lookat
...
Fix look_at with non uniform scaling
2019-02-12 13:41:42 +01:00
Rémi Verschelde
b7cc2bb1e2
Core: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `core/dvector.h` -> `pool_vector.h`
- `core/io/resource_import.h` -> `resource_importer.h`
- `core/sort.h` -> `sort_array.h`
- `core/string_db.h` -> `string_name.h`
Dropped:
- `core/allocators.h`
- `core/os/shell.h`
- `core/variant_construct_string.cpp`
2019-02-12 13:34:25 +01:00
Rémi Verschelde
fb8dce3e2e
Merge pull request #25602 from mcccclean/dont-ignore-listener-nodes
...
Fix 3D Listener nodes not being used
2019-02-12 12:30:50 +01:00
Rémi Verschelde
13c50e8aa5
Merge pull request #25481 from hpvb/fix-ubsan-asan-reports
...
Fix many asan and ubsan reported issues
2019-02-12 12:21:01 +01:00
Rémi Verschelde
f60e5efadd
Merge pull request #25725 from clayjohn/multimesh_transform_2d
...
Added ability to set_instance_transform_2d in multimesh
2019-02-12 11:35:42 +01:00
Rémi Verschelde
9c6f19117c
Merge pull request #25754 from JFonS/fix_25567
...
Fix canvas particle material for old GLSL versions
2019-02-12 11:25:32 +01:00
JFonS
4d933b1530
Fix canvas particle material for old GLSL versions
2019-02-11 14:56:23 +01:00
azagaya
7051685a77
Fixes differences between docs and item_selected and item_focused signals in optionbutton
...
Description in docs about item_selected and item_focused signals in optionbutton is fixed to match the real behaviour. Also, get_item_index function is added.
2019-02-11 08:52:09 -03:00
Michael Alexsander Silva Dias
e322fd140e
Add disabled tab style
2019-02-10 18:12:17 -02:00
Michael Alexsander Silva Dias
4fd7115e13
General cleanup of script and doc search bars
2019-02-10 14:18:08 -02:00
Rémi Verschelde
1aa7fc09eb
TSCN: Remove extra newline after [resource]/[ext_resource]
...
Some cases had been handled in #17602 , but those two were missed.
Fixes #24677 .
2019-02-10 16:58:45 +01:00
Rémi Verschelde
034cd62a77
Warn when using GPU particles with GLES2
...
Closes #25733 .
2019-02-09 20:49:58 +01:00
Rémi Verschelde
8908bdc7f2
Merge pull request #25653 from BastiaanOlij/fix_hide_skyrotation
...
Hide new sky properties if we don't have sky as a background
2019-02-09 13:09:39 +01:00
Rémi Verschelde
6d98ce281f
Merge pull request #25671 from vnen/physics-material-2d
...
Include PhysicsMaterial when 3D is disabled
2019-02-09 12:10:12 +01:00
clayjohn
20ff01b8e4
added ability to set instance_transform_2d in multimesh
2019-02-08 20:59:09 -08:00
Rémi Verschelde
e190589f3d
Merge pull request #25627 from clayjohn/visual_shader_texture_bug
...
Change hint_color to hint_albedo for sampler2ds
2019-02-08 20:19:28 +01:00
Paul Trojahn
163cdb8954
Fix look_at with non uniform scaling
...
The angle function doesn't consider the scaling of the local coordinates,
so it needs to be removed first. Fixes #23247
2019-02-08 18:00:54 +01:00
Rémi Verschelde
17d92c2b09
Merge pull request #25551 from JFonS/fix_rogue_cpu_particles
...
Fix local_delta when resetting CPUParticles
2019-02-08 12:17:16 +01:00
Rémi Verschelde
3dd00e77b4
Merge pull request #25524 from Calinou/fix-font-oversampling-warning
...
Fix a font oversampling warning being printed when it shouldn't
2019-02-08 11:52:45 +01:00
Rémi Verschelde
9523403192
Merge pull request #25509 from bojidar-bg/25504-update-bitmask-crash
...
Fix crashes when calling update_bitmask_area
2019-02-08 11:16:38 +01:00
Rémi Verschelde
4ddefe9142
Merge pull request #25467 from fire/folding_spam
...
Add check in folding to see if the nodepath exists to avoid message spam and expose get_node_or_null
2019-02-08 10:13:36 +01:00
George Marques
5743c7910a
Include PhysicsMaterial when 3D is disabled
...
It's still needed by 2D physics.
2019-02-06 19:23:44 -02:00
JFonS
a7a21bd9fe
Fix particles animation on GLES2
2019-02-06 16:00:22 +01:00
Tom McLean
8159ee93a7
Prefer a viewport's listener over a camera where available
...
Fix clang formatting issue
2019-02-06 21:43:57 +11:00
Bastiaan Olij
edc5628541
Hide new sky properties if we don't have sky as a background
2019-02-06 21:27:31 +11:00
Rémi Verschelde
25027d60f7
Merge pull request #25606 from Paulb23/fix_textedit_scroll_selection
...
Fixed selection being activated when using scroll lines.
2019-02-06 11:27:16 +01:00
Bastiaan Olij
005fb62284
Added a mesh interface to the arvr positional trackers
2019-02-06 21:03:43 +11:00
clayjohn
b78a384921
change hint_color to hint_albedo for sampler2ds
2019-02-04 22:12:25 -08:00
Michael Alexsander Silva Dias
1e3e770073
Add frame support for Sprite3D with region enabled
2019-02-04 20:31:45 -02:00
Paulb23
69374cd378
Fixed selection being activated when using scroll lines
2019-02-04 10:55:45 +00:00
Daniel Rakos
6df53e0401
MeshLibrary export improvements
...
- From now materials assigned to the MeshInstance (not the Mesh) get exported
into the MeshLibrary when such materials exist. This enables workflows where
the MeshLibrary is exported from an imported scene (e.g. GLTF) where the
materials assigned to the Mesh (not the MeshInstance) get overwritten on
re-import, thus can't use editor set materials in the exported MeshLibrary
unless they are assigned to the MeshInstance whose materials get saved with
the inherited scene thus persist across re-imports.
- When appending to an existing MeshLibrary only generate previews for newly
added or modified meshes.
- During preview generation transform camera and lights instead of the mesh
and use the source MeshInstance's transform for the mesh to avoid weird
previews being generated for meshes with a position dependent material
(e.g. when using triplanar mapping).
- Adjust the camera angle and light directions used in mesh preview generation
for better results.
2019-02-03 22:48:35 +01:00
JFonS
fe6123fca4
Fix local_delta when resetting CPUParticles
2019-02-01 17:16:09 +01:00
Hein-Pieter van Braam
37aa06bf8a
When an animationplayer sets a property on itself recreate the caches
...
this fixes #25507
2019-02-01 16:15:39 +01:00
Marc Gilleron
5b378f408c
Exposed custom AABB setter on GeometryInstance
2019-02-01 12:01:19 +01:00
Hugo Locurcio
355d65aa8d
Fix a font oversampling warning being printed when it shouldn't
2019-01-31 19:49:10 +01:00
Bojidar Marinov
abfeba8d12
Fix crashes when calling update_bitmask_area
...
Fixes #25504
2019-01-31 11:48:37 +02:00
K. S. Ernest (iFire) Lee
b83c3827f3
Add check in folding to see if the nodepath exists to avoid message spam.
2019-01-30 20:19:44 -08:00
Hein-Pieter van Braam
d308eb091a
Fix many asan and ubsan reported issues
...
This allows most demos to run without any ubsan or asan errors. There
are still some things in thirdpart/ and some things in AudioServer that
needs a look but this fixes a lot of issues. This should help debug less
obvious issues, hopefully.
This fixes #25217 and fixes #25218
2019-01-30 06:43:56 +01:00
Rémi Verschelde
308e66442e
Merge pull request #25439 from YeldhamDev/color_picker_toggle_fixup
...
Small fixup on button toggle behaviour in ColorPicker
2019-01-29 08:57:45 +01:00
Yusuf
a7e6a31d7f
binding for get_frustum() of camera class
2019-01-28 21:43:59 +03:00
Michael Alexsander Silva Dias
8d3ae29e8f
Small fixup on button toggle behaviour in ColorPicker
2019-01-28 15:51:57 -02:00
Rémi Verschelde
402cfa983d
Fix recursive assignment of Textures and BitMapFont
...
Fixes #24213 .
2019-01-28 15:10:34 +01:00
Rémi Verschelde
7e99ac22ae
Merge pull request #25366 from clayjohn/visual_shader_builtins
...
Updated visual shader builtins
2019-01-27 22:23:32 +01:00
Juan Linietsky
45a400d90e
Do not restrict light texture type (wont work with atlas, though)
2019-01-27 16:58:18 -03:00
Juan Linietsky
70d6d0fa69
Fix problem blending from state to state in statemachine node, closes #21944
2019-01-27 15:21:54 -03:00
Rémi Verschelde
4cfce99955
Merge pull request #25355 from YeldhamDev/color_picker_changes
...
Make some small enhancements to the ColorPicker
2019-01-27 18:37:48 +01:00
Gilles Roudiere
30dd1815e4
Change the frame number before triggering the animation_finished signal
2019-01-27 17:31:55 +01:00
Michael Alexsander Silva Dias
182f26fe5e
Make some small enhancements to the ColorPicker
2019-01-27 12:44:39 -02:00
Rémi Verschelde
17b2b17471
Document AnimatedTexture and bind MAX_FRAMES constant
...
Closes #24935 .
2019-01-27 13:11:57 +01:00
clayjohn
c4db6ce2b2
updated visual shader builtins
2019-01-27 01:27:09 -08:00
Rémi Verschelde
c3b0ee5941
Fix code style issues
2019-01-26 22:35:31 +01:00
Rémi Verschelde
433b8ee526
doc: Sync classref with current source
2019-01-26 22:21:53 +01:00
Juan Linietsky
c2f59de212
Warn of invalid pointer when converting object to RID, closes #19023
2019-01-26 15:41:26 -03:00
Juan Linietsky
b203f80dfc
Rewrite how font oversampling is updated more carefully, fixes #24338
2019-01-26 14:57:17 -03:00
Connall Lindsay
11f4b5efc5
Brace completion for quotation marks was introducing another quotation mark at the end of the
...
string, I think because it wasn't checking that the quotation mark didn't exist at the current
cursors position. Simple change, that fixed the issue and stood up to testing. Issue #25084
2019-01-26 17:03:11 +00:00
Daniel Rakos
5fcb03f6b6
Changed ImageTexture image cache type to the correct one, fixes #24971
...
The original attempt to fix the issue was accidentally using the wrong
type for the image cache. This change fixes that.
2019-01-26 09:12:38 +01:00
Juan Linietsky
b3335e943b
Implement missing autorestart in oneshot node, closes #22238
2019-01-25 18:15:29 -03:00
Juan Linietsky
32fa136cc7
Ability to keep images in ImageTexture cached while using editor, fixes #25243
2019-01-25 13:40:23 -03:00
Juan Linietsky
c743da100d
Avoid crashing in #23302
2019-01-25 09:09:32 -03:00
Fabian
01170c911c
Added copy_theme and fixed bugs in copy theme introduced by #2e0a94e
2019-01-25 13:14:06 +10:30
Rémi Verschelde
6ad4f16b1d
Merge pull request #25298 from groud/fix_separation_update
...
Updates containers minimum size when some constants are modified
2019-01-24 23:39:32 +01:00
groud
a1f955a1d3
Updates containers minimum size when some constants are modified
2019-01-24 22:31:33 +01:00
Juan Linietsky
a280bd0c85
Removed dangerous and useless function, closes #22884
2019-01-24 17:56:19 -03:00
Juan Linietsky
d0b736f7e5
Ability to get the current canvas item being drawn from stylebox.
2019-01-24 10:22:41 -03:00
Rémi Verschelde
a29b10cced
ProgressBar: Set default step to 0.01
...
Fixes #22655 .
2019-01-24 12:58:58 +01:00
Rémi Verschelde
63b487e49c
Fix PhysicsBody ignoring set_friction/bounce with default value
...
The intent was to avoid creating a physics override to set a default value
that doesn't make a difference, but as #22406 shows it can be necessary to
set the default value *back* after an override was created to set a non-default
value.
Fixes #22406 .
2019-01-24 12:15:54 +01:00
groud
0577f93cf6
Fixing textures not triggering _change_notify
2019-01-23 21:48:58 +01:00
Marcin Zawiejski
bbc9e91043
Fix warning when setting out of range outline_size
...
Fixes the warning mentioned in #25046
2019-01-23 14:44:16 +01:00
Rémi Verschelde
51c67a386d
Merge pull request #25190 from 99alfie/master
...
Fix ButtonGroup.get_pressed_button bug
2019-01-23 12:30:23 +01:00
Juan Linietsky
e081cec69f
Fix collision margin being wrongly read by default, fixes #25181
2019-01-22 10:15:18 -03:00
Rémi Verschelde
7c8f55f857
Merge pull request #25207 from clayjohn/cpu_particle_2d_aligny_bug
...
Fix bug with CpuParticles2D AlignY
2019-01-22 12:19:00 +01:00
Rémi Verschelde
34d0585618
Merge pull request #25208 from clayjohn/angular_velocity_cpu_2d
...
Properly initialize angular_velocity in cpuparticles2d
2019-01-22 07:45:00 +01:00
clayjohn
af92ade728
properly initialize angular_velocity in cpuparticles2d
2019-01-21 21:00:00 -08:00
clayjohn
fbde851641
fix bug with cpu_particle_2d_align_y
2019-01-21 20:11:48 -08:00
Juan Linietsky
3eb0757552
Modified code generation to be more friendly to previews, fixes #25094
2019-01-21 16:10:23 -03:00
Rémi Verschelde
055456d5fc
Merge pull request #25064 from homer666/itemlist-adjust-ui_select-precedence
...
ItemList: ignore `ui_select` action if Select Mode is not "Multi"
2019-01-21 17:45:30 +01:00
Kraus
ea211af412
ButtonGroup.get_pressed_button bugfix, fixes issue #25057
2019-01-21 16:46:09 +01:00
Rémi Verschelde
769341e180
Cleanup after @reduz :)
...
Fixes #25172 .
2019-01-21 11:12:55 +01:00
George Linkovsky
33a541727a
Added check engine_traction
2019-01-20 09:21:54 +04:00
Rémi Verschelde
d10f8027a4
Merge pull request #25114 from Calinou/fix-colorpicker-rounding
...
Fix a rounding error in ColorPicker
2019-01-19 10:00:42 +01:00
Grant Clarke
d27ca7eb73
Fixed Bone Transform Order
...
The bone index being passed to the visual server is not using the process order and results in incorrect skin deformation if the calculated process order is different from the unordered bones Vector.
Incidentally, this never showed when I exported rigged characters from blender using the Better Collada exporter. This bug only materialised when experimenting with the glTF pipeline from Maya.
2019-01-18 22:26:13 +00:00
Hugo Locurcio
4b78306459
Fix a rounding error in ColorPicker
...
This closes #25063 .
2019-01-18 22:19:19 +01:00
Juan Linietsky
93d8f3cdd5
respect mouse mode when setting enter/exit notifications and signals, fixes #19785
2019-01-18 17:53:36 -03:00
Juan Linietsky
0c54e6344b
Fix capture interpolation mode in Animation, closes #24015
2019-01-18 17:07:45 -03:00
Juan Linietsky
d8b702b566
-Re-added margins in one way collision (made in a more user friendly way than in Godot 2.1), fixes #23860
...
-Fixed potential bug in OWC (i dont think anyone had it but..)
2019-01-18 14:15:05 -03:00
Juan Linietsky
1efd37f1b7
Fix uninitialized memory error.
2019-01-17 19:12:01 -03:00
Juan Linietsky
e0336996ce
Add some checks to avoid disaster when making a node the scene root. Fixes #24484
2019-01-17 15:26:38 -03:00
Juan Linietsky
5e709baba1
Fix keying resource properties, closes #24690
2019-01-17 12:30:34 -03:00
Juan Linietsky
56d4b9b1ae
Fix functions to get direct contacts from shapes, closes #19618
2019-01-17 12:01:09 -03:00
homer666
5f47e18b0f
ItemList: ignore ui_select
action if Select Mode is not "Multi"
2019-01-18 01:54:24 +11:00
Juan Linietsky
6d7dfa6df8
Avoid crashing GIProbe bake with broken UV data, closes #25028
2019-01-17 10:58:34 -03:00
Juan Linietsky
7478f468b2
Fixes to 2D lights, closes #24750
2019-01-17 10:40:36 -03:00
Rémi Verschelde
a63bb3c804
Merge pull request #25038 from GlaDos28/master
...
fixed AudioStreamPlayer3D::_get_attenuation_db epsilon value
2019-01-17 10:39:08 +01:00
Rémi Verschelde
9f2d98c055
Merge pull request #24993 from YeldhamDev/cppcheck_warns_scene_fix
...
Appease some CppCheck warns for files in the "scene" directory
2019-01-17 10:28:32 +01:00
Evgeny Savelyev
fc086bc93d
fixed AudioStreamPlayer3D::_get_attenuation_db epsilon value
2019-01-17 01:41:36 +03:00
Rémi Verschelde
07e2046980
Merge pull request #24924 from danilo2205/rename-oriented-path-follow
...
Merge OrientedPathFollow into PathFollow
2019-01-16 19:24:44 +01:00
Danilo Villa (Davi)
e74a3add9c
Rename OrientedPathFollow to PathFollowOriented
2019-01-16 14:32:18 -02:00
Michael Alexsander Silva Dias
9c69d7f339
Appease some CppCheck warns for files in the "scene" directory
2019-01-16 12:59:18 -02:00
Rémi Verschelde
58d7619a79
Merge pull request #25036 from volzhs/tree-focus-rect
...
Update rect size on select
2019-01-16 13:29:02 +01:00
volzhs
1e603b706e
Update rect size on select
2019-01-16 20:44:34 +09:00
Rémi Verschelde
053d7f3765
Fix some errors found by static analysis
...
Fixes items 10, 16 and 19 from PVS-Studio blog post
in #24014 .
2019-01-16 10:59:45 +01:00
Stanislav
3beca92d61
Fixed typo in ImageTexture:: & StreamTexture::is_pixel_opaque
...
Fixes #24946
2019-01-15 12:28:50 +03:00
Juan Linietsky
6af8b7c955
Defer activated signal after tree has been traversed.
2019-01-14 17:20:54 -03:00
Juan Linietsky
91290f0ded
Added a flag to specify an exported node path must be supplied from scene root, fixes #24412
2019-01-14 15:46:56 -03:00
Juan Linietsky
ed9b230744
Hide visible popups by default if visible when entering tree, unless on editor. Fixes #24737
2019-01-14 13:16:19 -03:00
Juan Linietsky
81180b266a
Hide worldenvironment settings not relevant in GLES2. Fixes #23281
2019-01-14 12:59:31 -03:00
Rémi Verschelde
1ff170e67f
Redo serial name fixup from 799ed2b989
...
reduz wanted the original PR reverted due to issues, so this follow-up had to be too
(done in 8cb54182ad
). But he ended up adapting part of
the original PR in 27d7772381
without including this fix.
2019-01-11 23:02:57 +01:00
Juan Linietsky
2cd15849f9
Fixes to auto triangle editing in BlendSpace2D
2019-01-10 21:40:46 -03:00
Juan Linietsky
27d7772381
Rewrote rename logic to be less buggy and more efficient, fixes #23803 and probably many recent bugs using GraphEdit
2019-01-10 18:58:16 -03:00
Rémi Verschelde
8cb54182ad
Revert "Node: make _generate_serial_child_name manipulate numbers as String"
...
This reverts commits 1025e3ecea
and 799ed2b989
.
2019-01-10 22:40:42 +01:00
Rémi Verschelde
bcd05c0d91
Merge pull request #24886 from akien-mga/animatedtexture-frame-properties
...
Fix showing AnimatedTexture frame_* properties in editor
2019-01-10 14:28:37 +01:00
Rémi Verschelde
11c09a17c2
Fix showing AnimatedTexture frame_* properties in editor
...
Regression from cd0b82fd56
, it must be hidden from docs
(PROPERTY_USAGE_INTERNAL) but not from the editor.
Supersedes and fixes #24880 .
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2019-01-10 14:12:14 +01:00
Rémi Verschelde
e5f1d19352
Consistency in resource format saver/loader de-registration
...
Some used 'is_valid()' checks, others not. Validity is already checked in 'unref()',
and 'remove_resource_format_*()' has an ERR_FAIL condition on 'is_null()' already
(which shouldn't happen since we're only unregistering things that we previously
registered.
Also add missing GDCLASS statement in ResourceFormatLoaderVideoStreamGDNative,
missed in #20552 which was last amended before #19501 was merged.
2019-01-10 12:45:57 +01:00
Rémi Verschelde
5f0e3b6849
Merge pull request #24858 from volzhs/animation-transition
...
AnimationNodeTransition name begins from 0
2019-01-09 13:06:45 +01:00
Rémi Verschelde
bdfbe58ea6
Merge pull request #24851 from bruvzg/ime_focus_fix
...
Update IME text only for focused input controls.
2019-01-09 12:13:54 +01:00
Rémi Verschelde
e8f73d8c4c
Merge pull request #24842 from volzhs/fix-node-name-serial
...
Fix strip out spaces while generating serial number for node name
2019-01-09 12:13:06 +01:00
volzhs
153a3146d0
AnimationNodeTransition name begins from 0
...
and added "state" string for default name not to confuse it as number
2019-01-09 14:44:41 +09:00
Juan Linietsky
e46f28e02d
Removed splits in Polygon editor, replace by internal vertices and polygon support.
2019-01-08 19:11:08 -03:00
bruvzg
55bc004a73
Update IME text only for focused input controls.
2019-01-08 22:52:56 +02:00
volzhs
799ed2b989
Fix strip out spaces while generating serial number for node name
2019-01-08 22:37:45 +09:00
Rémi Verschelde
7d22e162e7
Merge pull request #24806 from timoschwarzer/camera2d-process-mode
...
Add process_mode property to Camera2D
2019-01-07 08:19:18 +01:00
Rémi Verschelde
3873f84548
Merge pull request #24777 from volzhs/font-kerning
...
Fix font kerning
2019-01-06 18:33:20 +01:00
Timo Schwarzer
c06db1dd18
Add process_mode property to Camera2D
...
This allows the user to choose if the camera should update in
_process or _physics_process.
2019-01-06 15:44:17 +01:00
Timo Schwarzer
3b2e03cf0b
Fix jumping when scrolling down fast with smooth scroll enabled
...
Fixes #24773
2019-01-06 10:22:38 +01:00
Paulb23
411df08711
Fix text edit wrapping beyond control size, issue 23896
2019-01-05 16:58:54 +00:00
volzhs
a9b7843dca
Fix font kerning
2019-01-05 09:44:47 +09:00
Rémi Verschelde
2c118d754d
Merge pull request #24689 from BrodyEller/master
...
Fix viewport not updating with make_current() for Camera2D
2019-01-04 19:04:13 +01:00
Rémi Verschelde
bc9899fb9f
Merge pull request #24504 from harrisyu/AtlasCheckPixelOpaque
...
Fix #24470 Atlas Texture with margin setting cause error in editor.
2019-01-04 16:11:37 +01:00
Rémi Verschelde
fa5ca1bbf0
Merge pull request #24738 from timoschwarzer/24725-fit-child-in-rect-null-check
...
Check if p_child is not null in Container.fit_child_rect()
2019-01-04 14:54:57 +01:00
Timo Schwarzer
a8f367a4b8
Check if p_child is not null in Container.fit_child_rect()
...
Fixes #24725
2019-01-03 22:33:07 +01:00
Rémi Verschelde
65a86ae17c
Merge pull request #24683 from SoIAS/autocompletion_menu_position_24674
...
Fixed autocompletion menu vertical position
2019-01-03 21:33:12 +01:00
Timo Schwarzer
a1fbef3d60
Allow offset and unit_offset to be set higher than one loop
...
Fixes #24745
2019-01-03 17:32:20 +01:00
Rémi Verschelde
a58c3fb4b7
Merge pull request #24736 from timoschwarzer/ltex-thumbnails
...
Add thumbnails to LargeTexture
2019-01-03 14:04:11 +01:00
Rémi Verschelde
6b1c3d6310
Merge pull request #24722 from Calinou/improve-graphedit-line-drawing
...
Make GraphEdit lines smoother and scale their width on hiDPI displays
2019-01-03 13:47:52 +01:00
Timo Schwarzer
163e0e3ebd
Add thumbnails to LargeTexture
2019-01-03 13:09:25 +01:00
Dawid Wdowiak
615ca1d59e
Fixed autocompletion menu vertical position
2019-01-03 07:11:40 +01:00
Hugo Locurcio
574f90605d
Make GraphEdit lines smoother and scale their width on hiDPI displays
2019-01-02 23:29:48 +01:00
Rémi Verschelde
03b8168c2e
Merge pull request #24691 from BlackCatter/line2d-fix
...
Fix line 2D intersection behavior
2019-01-02 19:39:31 +01:00
Artem Burjachenko
6ff26b105a
Fix line 2D intersection behavior
2019-01-02 17:34:58 +04:00
Brody Eller
440d62acd1
Fix viewport not updating with make_current() for Camera2D
2019-01-01 13:44:09 -05:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
ac46862097
Merge pull request #24506 from JFonS/expose_gizmos
...
Expose the new gizmo plugin system to scripting
2018-12-30 15:42:30 +01:00
Michael Alexsander Silva Dias
4a91f94c13
Add undo-redo to the TileSet editor, and other improvements
2018-12-30 10:54:03 -02:00
Rémi Verschelde
e3e36c963f
Merge pull request #24588 from volzhs/tree-relationship-line
...
Draw relationship lines when its value is higher than 0
2018-12-27 11:19:20 +01:00
Rémi Verschelde
2e39e38c10
doc: Sync classref with current source
...
Fix various code formatting issues and argument names.
2018-12-27 11:10:18 +01:00
Rémi Verschelde
e86418f7a9
Merge pull request #24566 from thomasruiz/fix/completion-box-center-text-vertically
...
Center lines vertically in completion box
2018-12-27 08:55:17 +01:00
volzhs
6a43f0a901
Draw relationship lines when its value is higher than 0
2018-12-25 09:18:18 +09:00
Guilherme Felipe
bacf5124cf
Add EDITMODE_PRIORITY for ATLAS_TILE
...
When editing ATLAS_TILE, now it's possible to enable priority to
randomize subtiles.
2018-12-23 18:56:18 -02:00
Thomas Ruiz
d2fa0658a2
Fix caret size with font smaller than row height
2018-12-23 14:29:33 +01:00
Thomas Ruiz
7fb0853c68
Center lines vertically in completion box
2018-12-23 12:19:27 +01:00
JFonS
6b15b4f904
Expose the new gizmo plugin system to scripting
2018-12-21 23:56:39 +01:00
Rémi Verschelde
0b774d47e6
Merge pull request #24509 from guilhermefelipecgs/fix_24273
...
Add bind for TileMap::get_cell_autotile_coord
2018-12-21 10:08:03 +01:00
Rémi Verschelde
83c3cba640
Merge pull request #24508 from guilhermefelipecgs/fix_22756
...
Fixes for TileSetEditor and TileMapEditor
2018-12-21 10:05:53 +01:00
Guilherme Felipe
9eb4bb044f
Add bind for TileMap::get_cell_autotile_coord
2018-12-20 15:43:44 -02:00
Guilherme Felipe
21bad78bd8
Fixes for TileSetEditor and TileMapEditor
...
[TileSetEditor] Hide Bitmask and Priority for ATLAS_TILE
[TileMapEditor] Hide "Disable autotile" if the selected tile isn't
autotile
Fix #22756 , don't update bitmask when tilemode is ATLAS_TILE
2018-12-20 15:31:45 -02:00
harrisyu
9d6f16e864
Fix #24470 Atlas Texture with margin setting cause error in editor.
2018-12-20 21:40:40 +08:00
Shinryuuji
e24379e61f
Fix TextureLayered::create not retaining format
2018-12-20 12:35:22 +01:00
Mateus Felipe C. C. Pinto
2933ef42f7
Make AnimatedSprite.animation complain when invalid animation name
2018-12-20 08:44:28 -02:00
Rémi Verschelde
a06f8ca6b9
Merge pull request #24439 from staalduinen/mouse-motion-fix
...
fix near infinite loop when no previous mouse position
2018-12-19 14:09:24 +01:00
Arjen van Staalduinen
ef9313f415
fix near infinite loop when no previous mouse position
...
Added physics_has_last_mousepos to better deal with
situations where there is no last_mousepos
2018-12-19 13:35:41 +01:00
volzhs
e577093965
Fix colored font rendered in wrong size
...
Fix #24456
The character->rect.size is properly update at DynamicFontAtSize::_bitmap_to_character
so no need to multiply scale again.
It was changed with 5cd12f6649
2018-12-19 03:54:51 +09:00
Mateus Felipe C. C. Pinto
ca1935d6f7
Add settings for single-quotes on completion
2018-12-18 12:48:36 -02:00
Paulb23
f1c6947702
Fix Word wrap cache desync causing crash
2018-12-18 13:12:46 +00:00
Rémi Verschelde
1621270f26
Merge pull request #24432 from YeldhamDev/animationtree_editor_fixes
...
General fixes for the AnimationTree editor
2018-12-18 09:08:10 +01:00
Rémi Verschelde
a195b2f1a3
Merge pull request #24428 from akien-mga/label-uppercase
...
Label: Fix kerning when using Uppercase mode
2018-12-18 07:57:41 +01:00
Michael Alexsander Silva Dias
b86b497cec
General fixes for the AnimationTree editor
2018-12-17 21:03:58 -02:00
Hein-Pieter van Braam
c58b1608ea
Don't accidentally convert string content to char
...
Due to the right hand side of the :? trickery the rhs was cast to a
char losing precision. Previously this didn't matter, but with
CharProxy it does. (Previously we could just happily cast it back to
a wchar_t and get the original 16 - 32 bits. Now we'll only ever
get the first 8).
2018-12-17 22:31:02 +01:00
Rémi Verschelde
7cb5e005ee
Label: Fix kerning when using Uppercase mode
...
Seemingly a typo, I did not check what exact impact it had, but
the x_ofs would likely have accumulated errors when using fonts
with varying char widths.
2018-12-17 20:56:36 +01:00
Rémi Verschelde
cf0716952d
Merge pull request #24422 from guilhermefelipecgs/fix_z_index_atlas
...
Add z-index to ATLAS_TILE
2018-12-17 13:57:23 +01:00
Guilherme Felipe
d840262739
Add z-index to ATLAS_TILE
2018-12-17 10:03:50 -02:00
Rémi Verschelde
4d546164e7
Fix maybe-uninitialized warnings from GCC 4.8.x
...
Fixes the following warnings in `p=server target=release_debug` builds
on Travis CI:
```
./core/os/memory.h: In function 'MainLoop* TestOAHashMap::test()':
./core/os/memory.h:108:111: warning: 'dummy' may be used uninitialized in this function [-Wmaybe-uninitialized]
#define memnew_placement(m_placement, m_class) _post_initialize(new (m_placement, sizeof(m_class), "") m_class)
^
main/tests/test_oa_hash_map.cpp:98:7: note: 'dummy' was declared here
int dummy;
^
scene/resources/bit_mask.cpp:447:3: warning: 'next_i' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/resources/bit_mask.cpp:448:4: warning: 'next_j' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-12-17 12:42:26 +01:00
Guilherme Felipe
4c5548e06e
Fix sub-transitions not using end_node correctly
...
Fix #22389
2018-12-16 23:40:41 -02:00
Rémi Verschelde
20379119c3
Merge pull request #24366 from BastiaanOlij/adjust_sky_orientation
...
Adding option to re-orient our sky
2018-12-16 22:56:43 +01:00
Rémi Verschelde
f00c5c00d7
Merge pull request #24379 from YeldhamDev/popupmenu_itemofs_highlight_fix
...
Fix item highlighting in PopupMenu for items with offset
2018-12-16 14:29:37 +01:00
Rémi Verschelde
9df7ed59fb
Merge pull request #19501 from Zylann/custom_loaders
...
Added basic support for custom resource savers and loaders
2018-12-16 14:26:56 +01:00
Michael Alexsander Silva Dias
04ea79c738
Fix item highlighting in PopupMenu for items with offset
2018-12-15 18:48:10 -02:00
Bastiaan Olij
f3dd3c0830
Adding option to re-orient our sky
2018-12-15 19:41:34 +11:00
Marc Gilleron
065e2670af
Added basic support for custom resource savers and loaders
2018-12-15 05:34:53 +00:00
Kanabenki
cfb89b672e
Prevent FileDialog from stealing focus when setting current file in editor
2018-12-14 22:58:01 +01:00
Konrad Nowakowski
7491e910f3
Fix touch release event on _gui_input
2018-12-14 18:28:11 +00:00
piratesephiroth
0e94afbc92
fix stop_on_slope affecting sliding up slopes
2018-12-14 16:02:43 +01:00
Guilherme Felipe
64e52f5bdb
Fix tree item editable cell not updating when windows was resized
2018-12-14 12:09:47 -02:00
Rémi Verschelde
661e5e873b
Merge pull request #24046 from DualMatrix/stop_slope
...
Fixed using move_and_slide with stop_on_slope stopping too early
2018-12-14 13:57:19 +01:00
Rémi Verschelde
31aaff3b21
Merge pull request #24161 from aroncds/master
...
Fix properties update in remote transform
2018-12-14 13:34:46 +01:00
Michael Alexsander Silva Dias
c2fe5c0468
Expose ButtonGroup's "get_buttons()" to GDScript
2018-12-14 04:16:23 -02:00
Rémi Verschelde
01fa0673a4
Merge pull request #22870 from semtri/godot-issue-7620
...
Fix richtextlabel meta links shouldn't open when swiping to scroll
2018-12-13 21:16:13 +01:00
Rémi Verschelde
2f31d31c23
Revert "Use more subtle indentation guides in the script editor"
2018-12-13 19:57:34 +01:00
Rémi Verschelde
17c3c64a80
i18n: Sync translation template with current source
...
Also French translation update and misc fixes to source strings.
2018-12-13 14:47:24 +01:00
merumelu
61ceb59f1d
ColorPicker fixes
...
- Fix regression from #22402 which made presets invisible ingame
with `tools=yes` builds.
- Don't emit `color_changed` signal when deleting a preset
as no color change happens.
2018-12-12 22:30:49 +01:00
Rémi Verschelde
de264a8199
Merge pull request #22739 from DualMatrix/autoplay_warn
...
Added warning when setting autoplay of AnimationPlayer that's inside the tree.
2018-12-12 16:10:59 +01:00
Rémi Verschelde
ab1a80504e
Merge pull request #24267 from YeldhamDev/buttongroup_remove_panel_theme
...
Remove "panel" theme property from ButtonGroup
2018-12-12 13:59:17 +01:00
Michael Alexsander Silva Dias
8f9447310d
Enable toggle behaviour for buttons that trigger popups
2018-12-11 19:23:26 -02:00
Rémi Verschelde
5ff403b3b0
Merge pull request #23361 from mrcdk/wav_loop_backward
...
Add backward looping support to AudioStreamSample (wav files)
2018-12-11 18:43:18 +01:00
Rémi Verschelde
13d037b200
Merge pull request #21471 from RodZill4/issue_11893
...
Fixed issue #11893 (SpinBox capturing mouse)
2018-12-11 18:16:29 +01:00
Rémi Verschelde
3f9c054163
Merge pull request #23887 from ibrahn/dirty-material-list-lifetime
...
Moved dirty material lists from static to lifetime controlled by main.
2018-12-11 18:05:19 +01:00
Rémi Verschelde
4c41e29c8e
Merge pull request #23923 from bruvzg/ime_gdscript
...
Changes IME to make it possible to use it from gdscript/gdnative
2018-12-11 18:00:48 +01:00
Rémi Verschelde
573956915e
Merge pull request #22461 from dlasalle/#10480
...
Hide shading options in SpatialMaterial when 'FLAG_UNSHADED' is set.
2018-12-11 16:12:56 +01:00
Rémi Verschelde
55089d0b1a
Merge pull request #24224 from BastiaanOlij/flip_bitangent
...
Reverse bitangent on everythings
2018-12-11 15:21:43 +01:00
Michael Alexsander Silva Dias
bfab0fe3db
Remove "panel" theme property from ButtonGroup
2018-12-10 17:28:56 -02:00
Rodolphe Suescun
0838eca063
Fixed issue #11893 (SpinBox Capturing mouse)
...
To prevent the SpinBox from capturing mouse, added a "drag.allowed"
variable that is set to true only when clicking inside the control.
Entering the control with the left mouse button pressed will not
trigger drag anymore.
Also modified the value update code when dragging so it does not
modify the base_val.
2018-12-10 19:33:04 +01:00
Ben Rog-Wilhelm
1180110b9e
Implement AnimationPlayer call modes as per #23498 .
2018-12-09 20:44:22 -08:00
Rémi Verschelde
bf59b73250
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
...
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00
Rémi Verschelde
3a312dbd32
Merge pull request #20725 from Calinou/textedit-subtle-indent-guides
...
Use more subtle indentation guides in the script editor
2018-12-09 23:10:32 +01:00
Michael Alexsander Silva Dias
a491824ec0
Warn about AnimationTreePlayer's deprecation
2018-12-09 12:39:37 -02:00
Bastiaan Olij
fa63a0fe83
Reverse bitangent on everythings to ensure default normal map behavriour is consistent
2018-12-08 13:43:46 +11:00
Guilherme Felipe
33ca76e15d
Fix AutoTile z-index not persisting correctly
2018-12-07 23:51:49 -02:00
Rémi Verschelde
41d1dba35f
Merge pull request #22431 from DualMatrix/pivot
...
Fixed pivot tool not setting position of Controls correctly
2018-12-07 23:18:27 +01:00
Rémi Verschelde
d303a7e6d7
Merge pull request #22680 from lupoDharkael/color-picker-presets
...
ColorPicker: extend access to presets from gds
2018-12-07 22:39:12 +01:00
Guilherme Felipe
69f6f787c0
Add Z-Index for Autotile
2018-12-07 18:42:56 -02:00
Michael Alexsander Silva Dias
f69dbc0953
Update NavPoly in the editor canvas when the resource is changed via the Inspector
2018-12-06 19:45:47 -02:00
Rémi Verschelde
1691e2e5e4
Merge pull request #24148 from mineevgleb/fix-pathfollow-offset-slider
...
#24131 : fix for PathFollow offset slider overlapping with the inspector
2018-12-06 11:54:30 +01:00
Rémi Verschelde
31384a56b5
Merge pull request #24160 from YeldhamDev/graph_tooltips
...
Add tooltips to GraphEdit node
2018-12-05 08:57:19 +01:00
Michael Alexsander Silva Dias
cb0d396cb8
Make OccluderPolygon2D draggable in the editor
2018-12-05 02:45:45 -02:00
MrCdK
3f7ae10843
Fixed CanvasItem.draw_multimesh() binding.
2018-12-05 01:29:21 +01:00
Aron Castro
7619a8a30d
Fix properties update in remote transform
2018-12-04 15:22:58 -02:00
Michael Alexsander Silva Dias
3ae5eec366
Add tooltips to GraphEdit node
2018-12-04 15:00:27 -02:00
Gleb Mineev
f0379366dc
#24131 : fix for PathFollow offset slider overlapping with the inspector
2018-12-04 00:29:37 +01:00
Rémi Verschelde
6f9aa8727c
Merge pull request #23991 from glaforte/bugfix/19195
...
Generate the tangents without de-indexing and re-indexing the vertices.
2018-12-03 17:35:50 +01:00
Rémi Verschelde
0dd89a3d97
Merge pull request #24051 from Omicron666/patch-1
...
Fixes typo in source string sent to translation.
2018-12-03 17:34:49 +01:00
Rémi Verschelde
e6b0327c2c
Merge pull request #24112 from allkhor/rich_label_update_cache
...
RichTextLabel: update the cache when the scroll hide.
2018-12-03 17:32:04 +01:00
Rémi Verschelde
29f043ff3e
Merge pull request #24126 from pgruenbacher/deprecated_get_frustum_listener
...
remove_unused_get_frustum
2018-12-03 17:31:25 +01:00
paul gruenbacher
66bfc29d06
remove_unused_get_frustum
2018-12-02 20:18:42 -05:00
Guilherme Felipe
26c1af4848
Add missing validations
...
Add missing validations to prevent crash of multiple mouse buttons being
pressed
2018-12-02 22:38:54 -02:00
Rémi Verschelde
f86013082e
Merge pull request #24106 from groud/fix_split_container
...
Fixes collapsed SplitContainers
2018-12-02 21:19:44 +01:00
Rémi Verschelde
cda28f5077
Merge pull request #24007 from JFonS/fix_cpuparticles_scale
...
Fix "scale" property collision in CPUParticles
2018-12-02 17:56:06 +01:00
Rémi Verschelde
7215f7475e
Merge pull request #24104 from guilhermefelipecgs/fix_mouse_crash
...
Fix crash when multiple mouse buttons is pressed.
2018-12-02 17:13:54 +01:00
allkhor
c80b9e9173
RichTextLabel: update the cache when the scroll hide.
2018-12-02 05:06:38 +06:00
groud
136847e5c3
Fixes collapsed SplitContainers
2018-12-01 17:31:37 +01:00
Guilherme Felipe
ea6a5bb8fb
Fix crash when multiple mouse buttons is pressed.
2018-12-01 11:25:43 -02:00
JFonS
4ede92bdc8
Fix "scale" property collision in CPUParticles
2018-11-30 16:05:50 +01:00
allkhor
7831cd76ab
TextEdit: added redo option to the context menu
2018-11-29 23:21:43 +06:00
Omicron
464e294c8f
Fixes typo in source string sent to translation.
...
no mesh has ~~not~~ been assigned
2018-11-29 13:12:09 +01:00
DualMatrix
86472ad5a9
Fixed using move_and_slide with stop_on_slope stopping too early
...
This makes it stop exactly on the slope, I'm not 100% sure if this if this is the correct fix let me know what you think.
Fixes #23675
2018-11-29 02:24:33 +01:00
Juan Linietsky
5b8dde4b4a
Removed error that should not be an error, fixes #21088
2018-11-28 18:41:29 -03:00
Juan Linietsky
167eb269ec
Fixes crash, closes #24038
2018-11-28 13:10:23 -03:00
Rémi Verschelde
06db076fc6
Merge pull request #24025 from aaronfranke/analyzer-errors
...
Fix many errors found by PVS-Studio
2018-11-28 14:08:50 +01:00
Juan Linietsky
39028cc161
Improved the mouse focus system (mouse keeps focus on a control while buttons are pressed). Fixes #19154 and likely many others.
...
WARNING: Test well in every OS, if mouse wheel events are not properly sent as pressed+unpressed pair, it will fail and break (and the OS needs to be fixed). Only tested on X11 so far.
2018-11-28 09:33:13 -03:00
Rémi Verschelde
05755618c5
Merge pull request #23993 from Kanabenki/autocomplete-ignore-case
...
Add suggestions ignoring case at the end of the code autocomplete
2018-11-28 13:26:28 +01:00
Aaron Franke
cb01268562
Fix many errors found by PVS-Studio
...
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Rémi Verschelde
78cdbc54b0
Merge pull request #23994 from AndreaCatania/prec
...
Added function to control 6DOF precision
2018-11-28 10:30:47 +01:00
Rémi Verschelde
62f25142ee
Merge pull request #24011 from Xrayez/fix-23031
...
Init `ignore_camera_zoom` property in parallax background constructor
2018-11-28 10:25:51 +01:00
Rémi Verschelde
dd06f6ee70
Fix style issues and signature mismatch
2018-11-28 10:21:07 +01:00
Rémi Verschelde
0307f2885c
Merge pull request #24024 from DualMatrix/queue
...
Made it possible to read AnimationPlayer queue from GDscript
2018-11-28 09:56:36 +01:00
Juan Linietsky
af8d941c55
Added luminance capping to avoid glitches on small dots. closes #17996
2018-11-28 01:22:20 -03:00
DualMatrix
0cc8a3b9a6
Made it possible to read AnimationPlayer queue from GDscript
2018-11-28 01:43:34 +01:00
Juan Linietsky
b243c26697
Get rid of ancient .theme format for Theme resource. It was not working and can be done the same using .tres format. Closes #19038
2018-11-27 20:42:47 -03:00
Juan Linietsky
2e0a94edc6
Changed theme notifications to work with newly introduced reference counted connections. Closes #21265 , Fixes #6145 .
...
Probably fixes more theme notification related open issues, should check.
2018-11-27 14:34:43 -03:00
Andrii Doroshenko (Xrayez)
86eaded7b4
Init ignore_camera_zoom
property in parallax background constructor
...
The default value for `ignore_camera_zoom` property was initialized by garbage value,
leading to camera's zoom to be ignored even if unset in editor most of the time.
2018-11-27 14:10:19 +02:00
Andrea Catania
a395d809a5
Added function to control 6DOF precision
2018-11-27 07:11:28 +01:00
allkhor
a04ba76d89
Ceil tabs font size
2018-11-27 00:30:12 +06:00
Kanabenki
99ffd748f1
Add suggestions ignoring case at the end of the code autocomplete
2018-11-26 16:36:46 +01:00
Guillaume Laforte
675dc00d04
Generate the tangents without de-indexing and re-indexing the vertices.
...
The support for shape keys / blend shapes depends on a consistent order for the vertices.
Fixes https://github.com/godotengine/godot/issues/19195 .
2018-11-26 10:09:52 -05:00
Rémi Verschelde
3e1e508b64
Merge pull request #23962 from Windfisch/arvr_conf_warn
...
Update ARVR{Anchor,Controller}'s configuration warning
2018-11-26 11:35:14 +01:00
Rémi Verschelde
f30745bd85
Fixup to typo and indentation in 81c86e8
2018-11-26 11:21:06 +01:00
Rémi Verschelde
73551a1edc
Merge pull request #23964 from allkhor/text_edit_clear_selection
...
TextEdit: remove selection when clear happens.
2018-11-26 11:00:54 +01:00
Rémi Verschelde
f98a38540d
Merge pull request #23943 from Paulb23/fix_smoothscroll_jitter_issue_23314
...
Fix scroll bar lock when smooth scroll enabled, issue 23314
2018-11-26 10:45:35 +01:00
Juan Linietsky
81c86e8047
Improved bindings and added documentation for AnimationNode, closes #20720
2018-11-25 16:57:23 -03:00
Florian Jung
0c4ffae40c
Update ARVR{Anchor,Controller}'s configuration warning
...
Updates their config warning upon change of `controller_id`
or `anchor_id`, respectively.
fixes godotengine/godot#23881
2018-11-25 18:27:02 +01:00
allkhor
594e0261f3
TextEdit: remove selection when clear happens.
2018-11-25 23:24:49 +06:00
Paulb23
9e57c359b7
Fix scroll bar lock when smooth scroll enabled, issue 23314
2018-11-24 14:03:54 +00:00
Rémi Verschelde
8348aca118
Merge pull request #23934 from allkhor/rich_text_label_scroll_offset
...
RichTextLabel: clear the scroll offset.
2018-11-24 10:28:44 +01:00
allkhor
970dc91cb7
RichTextLabel: clear the scroll offset.
2018-11-23 23:54:49 +06:00
zer0problem
1c75603ff5
Fixed signal animation_finished
...
The signal animation_finished is now fired after all values have been changed so changes to the animation can be done without animation_finished without generating unexpected behavior.
2018-11-23 16:53:25 +01:00
Juan Linietsky
c48027af92
Ensure no crash happens when skeleton is removed, closes #20677
2018-11-23 09:35:43 -03:00
bruvzg
4554c682e6
Changes IME input to use notification instead of callback, exposes IME methods to gdscript/gdnative.
2018-11-23 14:07:48 +02:00
Italo Vieira
a8a92ec114
Fixing wrong type hint on CPUParticles and CPUParticles2D's color ramp
...
Fixes #22795
2018-11-23 00:54:25 +01:00
Rémi Verschelde
da31d63f76
Merge pull request #23680 from YeldhamDev/unified_help_search_revived
...
Unified Class and Reference Search 2: Resurrection
2018-11-22 16:16:52 +01:00
Rémi Verschelde
feee2b5842
Merge pull request #23731 from lupoDharkael/remove-button-tooltip
...
BaseButton: make input related information in the tooltip optional
2018-11-22 16:13:47 +01:00
Rémi Verschelde
6ea25cbbf0
Merge pull request #23856 from nthrack/fix_6DOF_physicalbone_spring
...
Fix 6DOF Physical Bone joint
2018-11-22 16:00:53 +01:00
Ivan Varesi
b69c05c700
Fix 6DOF Physical Bone joint
...
Adding angular and linear springs param to PhysicalBone joint type JOINT_TYPE_6DOF,
using new 6DOF feautres implemented in sdfgeoff/godot@e149327 .
Typo correction lenear_equilibrium_point to linear_equilibrium_point.
2018-11-22 11:15:48 +01:00
Juan Linietsky
0032345618
Make sure sync to physics is disabled in editor, fixes #20230
2018-11-21 22:22:43 -03:00
Juan Linietsky
9018e8b132
Add Discrete and Carry blend modes for BlendSpace2D, allows to fix #20135
2018-11-21 16:07:24 -03:00
Ibrahn Sahir
c1f5233217
Moved dirty material lists from static to lifetime controlled by main.
...
As with 7d82bed4f4
,
The list is now destroyed before the OS object, so can print errors if
there are unfreed materials.
2018-11-21 15:51:50 +00:00
Rémi Verschelde
03bd4d28a5
Merge pull request #23859 from lupoDharkael/node-naming
...
Node: make _generate_serial_child_name manipulate numbers as String
2018-11-21 16:39:21 +01:00
lupoDharkael
1025e3ecea
Node: make _generate_serial_child_name manipulate numbers as String
...
The conversion from an String to int can overflow int and int64
so it is safer to manipulate strings when we try to find the next
available name for a Node.
2018-11-21 14:18:34 +01:00
Ray Koopa
fddffa9eb8
Unify editor class and reference search
...
Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2018-11-20 20:52:27 -02:00
Michael Alexsander Silva Dias
da7d3c5a58
Make opening menus with the same parent on mouse focus explicit
2018-11-20 20:37:45 -02:00
Rémi Verschelde
7439e55812
Merge pull request #23645 from Calinou/add-dynamicfont-antialias-option
...
Add a property to control DynamicFont anti-aliasing
2018-11-20 15:02:29 +01:00
Rémi Verschelde
33947a5722
Merge pull request #23728 from groud/keep_splitcontainer_offset
...
Keep the SplitContainer offset value when it is shrinked
2018-11-20 14:17:52 +01:00
Rémi Verschelde
477e89a8a2
Merge pull request #23760 from BastiaanOlij/fix_tangent_direction
...
Fixing tangent and binormal logic
2018-11-20 14:13:36 +01:00
Andrea Catania
a837c33442
Added possibility to override or add target basis to tip bone
2018-11-20 13:57:16 +01:00
Rémi Verschelde
173b342ca7
Remove trailing whitespace
...
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'`
(+ manual revert of some thirdparty code under `platform/android`).
2018-11-20 11:15:02 +01:00
Ibrahn Sahir
397b4c2a4a
Removed duplicate property bind in Generic6DOFJoint.
...
Probably a copy paste error.
2018-11-20 03:47:09 +00:00
Juan Linietsky
c500581d32
Remove the "is able to sleep" condition for adding visibility notifier nodes, fixes #19659
...
I think the previous behavior was more useful, but I understand it's not obvious or discoverable.
2018-11-19 23:06:02 -03:00
lupoDharkael
d2b890ede5
BaseButton: add shortcut_in_tooltip
...
This flag disables the input related information in the tooltip.
It is exposed as a member variable in gdscript.
2018-11-19 23:48:05 +01:00
Juan Linietsky
55ded6b2de
Properly handle multiple parent drag, fixes #19460
2018-11-19 18:38:07 -03:00
Juan Linietsky
0ab71689ae
Reseek if cachees were cleared in animation player, fixes #19424
2018-11-19 13:14:37 -03:00
Juan Linietsky
634aa4fc24
Ensure bone AABBs are properly transformed to affect mesh AABB, fixes #19281
2018-11-19 10:43:29 -03:00
Bastiaan Olij
bcef4b8dc6
Fixing tangent and binormal logic
2018-11-19 22:27:05 +11:00
Hugo Locurcio
34dba2f3cc
Tweak the Hue Variation property hint to allow finer adjustments
2018-11-19 10:52:17 +01:00
Juan Linietsky
0f7a86ca52
If using relationship lines (now default) hide guides.
2018-11-18 22:00:31 -03:00
Juan Linietsky
afe4f2080a
Make sky and ground energy do something, fixes #18856
2018-11-18 15:43:49 -03:00
Juan Linietsky
83afc6170a
Skeleton2D was missing transform notification, fixes #18719
2018-11-18 15:28:13 -03:00
Juan Linietsky
2d6b994e47
Massive speed up on deleting nodes, fixes #18673
...
Also makes the editor exit faster
2018-11-18 11:48:21 -03:00
Rémi Verschelde
3c62a584eb
Merge pull request #23767 from marcelofg55/fix_is_playing
...
Fix AudioStreamPlayer2D/3D::is_playing right after a play()
2018-11-17 17:19:21 +01:00
Rémi Verschelde
5075e372f3
Merge pull request #23668 from sdfgeoff/fix_angular_constraints
...
Exposing more of bullets 6DOF spring constraints
2018-11-17 16:15:33 +01:00
Marcelo Fernandez
016f7bd8f8
Fix AudioStreamPlayer2D/3D::is_playing right after a play()
2018-11-17 11:47:11 -03:00
Juan Linietsky
0afdc5c559
Avoid duplicate visility changed notification, fixes #18160
2018-11-16 19:47:13 -03:00
Juan Linietsky
3331ececc4
Do not allow controls in ignore mouse to get focus via their children, fixes #17955
2018-11-16 13:47:21 -03:00
Rémi Verschelde
193324f354
Merge pull request #23734 from RandomShaper/fix-canvas-layer-out-of-tree
...
Fix CanvasLayer trying to re-stack while out of tree
2018-11-16 15:15:48 +01:00
Rémi Verschelde
2d7fe9b298
Merge pull request #23735 from pshe94/master
...
Use VScrollBar when calculating horiz. offset in ScrollContainer
2018-11-16 15:15:23 +01:00
Juan Linietsky
0b1e93ccd4
-Make sure monitorable cant be flipped while flushing queries, fixes #17330
...
-Also added set_deferred, this was missing.
2018-11-16 08:49:26 -03:00
pshe94
554b3f77c7
Use VScrollBar when calculating horiz. offset in ScrollContainer
...
Someone forgot to change `h_scroll` to `v_scroll` when copy-pasting the code ;)
2018-11-16 02:47:43 +01:00
Pedro J. Estébanez
5dac6ef486
Fix CanvasLayer trying to re-stack while out of tree
...
Fixes #23718 .
2018-11-16 01:01:17 +01:00
Juan Linietsky
26d33d1c6e
ViewportContainer was not passing unhandled input. Pass it, fixes #17326
2018-11-15 17:29:55 -03:00
Juan Linietsky
80a90ca824
-Send mouse motion events again to CollisionObjects (Area/Body) if they move, even if mouse does not. Fixes #16536 (likely many others should check)
...
-Add ability for viewports to set input events as handled locally
2018-11-15 13:56:57 -03:00
groud
a982531368
Keep the SplitContainer offset value when it is shrinked
2018-11-15 16:47:28 +01:00
Juan Linietsky
89a8f930d4
Merge pull request #23716 from JFonS/fix_2d_particles_scale
...
Fix Particles2D animation regression from #23702
2018-11-15 16:29:58 +01:00
Thomas ten Cate
922f2d613f
Fix return value of get_total_character_count
...
Also document that it only counts visible characters.
Fixes #23720
2018-11-15 12:34:08 +01:00
JFonS
1267f92740
Fix Particles2D animation regression from #23702
2018-11-15 09:22:11 +01:00
Juan Linietsky
397b12727c
No one seems to like the error icon, so I made it invisible. Fixes #16344
2018-11-14 21:34:39 -03:00
Juan Linietsky
5f4485d4ff
Always use default theme for overrides, closes #13071
2018-11-14 21:21:51 -03:00
Juan Linietsky
c5656b7468
Merge pull request #23564 from endragor/fix-remove-child-ordering
...
Notify node's moved children after sibling removed
2018-11-14 20:30:41 +01:00
Juan Linietsky
16022da187
Ensure that array passed to physics is always counter clockwise, fixes #15361 .
2018-11-14 15:55:50 -03:00
Juan Linietsky
88bfb27abf
Show theme values from default theme always, fixes #16011 , fixes #13071
2018-11-14 18:02:21 +01:00
Juan Linietsky
55f5f4757e
Merge pull request #23248 from dlasalle/fog
...
Add parameters for fog end depth and use alpha as density.
2018-11-14 10:24:55 -03:00
Juan Linietsky
43b9ed64c8
Merge pull request #23702 from JFonS/fix_2d_particles_scale
...
Make 2D particles work OOTB (again)
2018-11-14 10:16:50 -03:00
Juan Linietsky
89a76f21ed
Ability to toggle flipping of tangent and binormal in depth parallax materials. Fixes #15934 .
2018-11-14 10:15:58 -03:00
Dominique LaSalle
6eae6247e4
Add parameter for fog max depth and use alpha as density.
2018-11-13 17:19:11 -08:00
Juan Linietsky
37c5aa1084
Add a limit of previously known last element to timer timeout traversal in SceneTree, fixes #15559
2018-11-13 20:11:22 -03:00
JFonS
cbfb7bd613
Make 2D particles work OOTB (again)
2018-11-13 23:25:05 +01:00
Juan Linietsky
65111ba996
Ability to remove buses while they are being used on 2D and 3D stream players. Fixes #15115
2018-11-13 18:17:19 -03:00
Rémi Verschelde
5613aa489e
Merge pull request #23299 from FlamyAT/sprite3d-floating-offset
...
Changed Sprite3D to float based drawing
2018-11-13 21:28:08 +01:00
Rémi Verschelde
4e5ef43dbb
ParticlesMaterial: Simplify PARAM_SCALE texture validation
...
Using the same helper method as other param textures.
2018-11-13 10:31:02 +01:00
Geoffrey Irons
e149327be0
Added angular restitution
...
Adding angular and linear springs
Added getters
2018-11-13 09:24:00 +01:00
Rémi Verschelde
193d695a1a
Merge pull request #17530 from bojidar-bg/17516-detect-delta
...
Make it possible to call move_and_slide from _process, even if it is not recommended
2018-11-12 21:14:15 +01:00
Rémi Verschelde
2815e708a0
Merge pull request #23090 from DavidSichma/inconsistent-kinematic
...
Consistency in KinematicBody
2018-11-12 20:30:38 +01:00
Juan Linietsky
4a0f783732
Properly remember EOF when interactive loader is done, fixes #14936
2018-11-12 08:24:05 -03:00
Rémi Verschelde
85f0ce40e1
Merge pull request #23653 from marcelofg55/as_stop
...
Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop
2018-11-12 08:56:19 +01:00
Ibrahn Sahir
ed337085cf
Fixed various uninitialised member variables in editor plugins.
2018-11-11 17:32:47 +00:00
Marcelo Fernandez
9c8449a3db
Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop
2018-11-11 11:00:24 -03:00
Rémi Verschelde
c3023e84c2
Merge pull request #23632 from DualMatrix/floating_point
...
Fixed floating point issue in find() of animation.
2018-11-10 23:25:59 +01:00
DualMatrix
b4315abb71
Fixed floating point issue in find() of animation.
...
Fixes #23504
2018-11-10 23:09:02 +01:00
Hugo Locurcio
fd89464d45
Add a property to control DynamicFont anti-aliasing
...
- Editor font anti-aliasing can now be disabled in the Editor Settings.
- DynamicFonts used in projects can now have their anti-aliasing
disabled in their DynamicFontData child. Changes will be visible
upon reloading the scene in the editor.
2018-11-10 22:07:32 +01:00
Kanabenki
44918e214f
Fix wrong editor hints for angular_velocity properties
2018-11-10 17:13:21 +01:00
Davide Baldo
672b1b19c0
Fixed tilemap saving, format FORMAT_2 was not correctly written since it was recognized as default value, hence
...
FORMAT_1 was always the case even when the tile_data was written in FORMAT_2.
2018-11-10 01:40:08 +00:00
Juan Linietsky
6e5872b709
Use a more compatible (and certain to work) mechanism to check default value on scene packing.
2018-11-09 08:16:36 -03:00
Juan Linietsky
531dc2f435
Proper time tracking in AnimationNodeAnimation, closes #22887
2018-11-08 16:51:45 -03:00
Juan Linietsky
555fb3a317
Effectively ensure that surface materials are the right size when setting them, fixes #23596
2018-11-08 15:58:52 -03:00
Bojidar Marinov
d94c76a199
Make it possible to call move_and_slide from _process, even if it is not recommended
...
Previously, it would reuse the _physics_process delta, causing it to move faster on faster framerates
Fixes #17516
2018-11-08 20:34:34 +02:00
Juan Linietsky
f2e54057ae
-Moved EditorDefaultValue to ClassDB, made it core
...
-Removed one and zero hints for properties, replaced by default value
2018-11-08 11:30:59 -03:00
Rémi Verschelde
c4234b1521
Merge pull request #23576 from groud/fix_itemlist
...
Fixes icons in itemlist not working
2018-11-08 12:58:07 +01:00
Bastiaan Olij
f10a10ca1d
Lower minimum margin for collision shapes
2018-11-08 19:26:09 +11:00
Juan Linietsky
daa1686772
Merge pull request #21386 from RandomShaper/fix-picking-in-canvas-layers
...
Fix picking in CanvasLayer
2018-11-07 17:51:27 -03:00
groud
0ec448d21d
Fixes icons in itemlist not working
2018-11-07 18:29:24 +01:00
Ruslan Mustakov
3b02cd3e71
Notify node's moved children after sibling removed
...
Fixes #16213 .
2018-11-07 16:31:25 +07:00
Rémi Verschelde
de0d306558
Merge pull request #23383 from groud/better_tilemap_transform
...
Enhance the tilemap transform buttons
2018-11-06 22:27:29 +01:00
Rémi Verschelde
c8700f83a1
Merge pull request #23451 from akien-mga/world_to_map_precision
...
TileMap: Fix floor precision in world_to_map on tile borders
2018-11-06 22:21:37 +01:00
Rémi Verschelde
1e6537bcc8
Merge pull request #23537 from fire/visualscript-virtual-_function-crash-23536
...
Fix creating a visual script virtual function after minimizing crashes #23536 and misc vs warning
2018-11-06 22:13:19 +01:00
Kanabenki
f221bbb387
Fix angular velocity property range in editor for ParticlesMaterial
2018-11-06 13:55:59 +01:00
K. S. Ernest (iFire) Lee
562d241b13
Fix creating a visual script virtual function after minimizing crashes #23536
2018-11-05 13:48:27 -08:00
Rémi Verschelde
fcd761e889
Merge pull request #23519 from Rubonnek/remove-unnecessary-assignments
...
Removed unnecessary assignments
2018-11-05 09:05:03 +01:00
Wilson E. Alvarez
71df4caf8f
Removed unnecessary assignments
2018-11-04 22:19:30 -05:00
JFonS
85ce4a67ed
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
...
Remove animation loop from ParticlesMaterial and move it to
SpatialMaterial for 3D particles and Particles2D for the 2D case.
Added animation to CPUParticles2D as well as the "Convert to
CPUParticles2D" to the PAarticles2D menu.
2018-11-04 15:58:12 +01:00
Marcelo Fernandez
ea43218bca
Fix possible crash with VideoPlayer _mix_audio function
2018-11-02 13:33:20 -03:00
Rémi Verschelde
b9232ce7a3
TileMap: Fix floor precision in world_to_map on tile borders
...
Fixes #23250 , supersedes #23315 .
2018-11-02 13:07:57 +01:00
Rémi Verschelde
c025f526c8
Merge pull request #23436 from Toshiwoz/primitives_properties
...
fixed PrismMesh size property
2018-11-02 08:08:17 +01:00
Juan Linietsky
65e3ef705b
Merge pull request #21962 from YeldhamDev/switch_hover_submenu
...
Fix MenuButton hover switching not happening with submenus open
2018-11-01 17:01:51 -03:00
Rémi Verschelde
b573bf8547
Merge pull request #23411 from RandomShaper/fix-same-layer-not-deterministic
...
Fix canvas stacking not deterministic on same layer
2018-11-01 19:31:09 +01:00
Juan Linietsky
1d301870ac
Merge pull request #23169 from ibrahn/dynamic-fontlist-lifetime
...
Moved dynamic font list from static to lifetime controlled by main.
2018-11-01 12:58:14 -03:00
Toshiwo
b27b1a99a0
fixed issue with PrismMesh size, ignore for VS code .code-workspace
2018-11-01 10:21:16 -05:00
Rémi Verschelde
aec8ea4f47
Merge pull request #22780 from samuelpedrajas/fix_texture_button_hovering
...
Fix hovering on toggled link and texture buttons
2018-11-01 11:22:34 +01:00
Rémi Verschelde
3f46295a76
Merge pull request #22925 from clayjohn/MeshDataToolError
...
Removed redundant error from MeshDataTool
2018-11-01 10:58:14 +01:00
Rémi Verschelde
200c2e7451
Merge pull request #23294 from gcardozo123/issue-23235-get-collision-exceptions
...
Add method get_collision_exceptions to PhysicsBody2D
2018-11-01 10:57:28 +01:00
Guilherme Recchi Cardozo
3fb2069d39
Add method get_collision_exceptions
...
Adding this method to PhysicsBody, PhysicsBody2D and
SoftBody. It returns a list of nodes included in
collision exceptions.
Fixes #23235 , cheers!
2018-11-01 06:41:34 -03:00
Rémi Verschelde
629294e8f4
Merge pull request #23430 from AndreaCatania/pb_f
...
Fixed crash on delete physical bone
2018-11-01 09:58:48 +01:00
Andrea Catania
0a4ceb34d3
Fixed crash on delete physical bone
2018-11-01 09:46:46 +01:00
Pedro J. Estébanez
cf8976de41
Fix canvas stacking not deterministic on same layer
...
Fixes #22687 .
2018-10-30 21:53:00 +01:00
lupoDharkael
f2f81d9703
Fix crash adding point to a Curve2D from the editor
...
Adding point to a Path2D with null Curve2D from the canvas was
causing a crash after trying to use a null object.
2018-10-30 14:45:37 +01:00
groud
bdb5282ea0
Enhance the tilemap transform buttons
2018-10-30 14:43:52 +01:00
Juan Linietsky
e647342140
Moved folding outside the resource files, now saved outside the project.
2018-10-29 16:37:09 -03:00
Rémi Verschelde
db937abf72
Merge pull request #23360 from bojidar-bg/23178-fix-particles-animation
...
Fix particle frames being cut off
2018-10-29 10:41:49 +01:00
MrCdK
b2bfcb53d6
Add backward looping support to AudioStreamSample (wav files)
2018-10-28 19:37:14 +01:00
Bojidar Marinov
e4d316fcdc
Fix particle frames being cut off after 0de8309b2c
...
Fixes #23178
2018-10-28 20:19:46 +02:00
zhagsenkk
67ba4dc8cd
Remove no longer necessary "raise_from_completion" in TextEdit
...
This is no longer needed to fix #1257 because the code-autocomplete hint stops
at the script editor’s edge now.
And #6690 will not arise because it is just caused by "raise_from_completion".
Fixes #22504 and fixes #16064 .
2018-10-26 19:29:51 +02:00
FlamyAT
3d07a1c10f
Changed integer based drawing to floating numbers
2018-10-26 11:50:21 +02:00
Sean McCarthy
0ce185629d
Fix "fill" justification in RichTextLabel to only affect lines that have automatically wrapped.
2018-10-25 16:19:15 -07:00
Rémi Verschelde
9de724f327
Merge pull request #23091 from aaronfranke/mingw-warnings
...
Fix some compile warnings for Windows from Linux
2018-10-25 15:09:11 +02:00
Rémi Verschelde
1169196f04
Merge pull request #22779 from Superwaitsum/LimitSettings
...
Limit several project settings
2018-10-25 11:38:06 +02:00
Superwaitsum
e5041ad0f5
Add some limits on the Editor Settings
2018-10-24 19:46:33 -05:00
M. Huri
b46ba24e3b
Repaired mistyped of 'its' on several files.
2018-10-25 07:19:21 +07:00
Rémi Verschelde
bf957a414a
Merge pull request #23083 from Windfisch/pathfollow_configwarn
...
Add a configuration warning to [Oriented]PathFollow
2018-10-25 00:11:41 +02:00
Florian Jung
d67c7487f2
Add a configuration warning to [Oriented]PathFollow
...
Will update OrientedPathFollows' configuration_warnings if the parent Path changes
2018-10-24 23:39:45 +02:00
Rémi Verschelde
8c37c1e98d
Merge pull request #22920 from DualMatrix/error_already_connect
...
Fixed error when duplicating a scene which has connection
2018-10-24 19:07:37 +02:00
Rémi Verschelde
d42fd8fa79
Merge pull request #23256 from JFonS/fix_17989
...
Fix editor only lights
2018-10-24 17:39:20 +02:00
JFonS
99a097aff2
Fix editor only lights
2018-10-24 16:47:32 +02:00
lupoDharkael
e19520e8fe
ColorPicker: extend access to presets from gds
2018-10-24 01:07:33 +02:00
PouleyKetchoupp
68270964d4
Get surface material count in MeshInstance for scripts
2018-10-23 15:25:38 +02:00
M. Huri
90efe5be08
Fixed a typo, treshhold to threshold.
2018-10-23 03:46:16 +07:00
Rémi Verschelde
81c2ed61f6
Merge pull request #23196 from Paulb23/scene_tab_errors_issue_22890
...
Scene tabs closing and thumbnail errors, issue 22890
2018-10-21 18:08:31 +02:00
Paulb23
5c04535e10
Update Tab hover status when adding or removing tabs, issue 22890
2018-10-21 15:55:58 +01:00
Ibrahn Sahir
7bf54d2334
Initialise LineEdit clear_button_status.
...
Avoiding undefined behaviour and cleaning up Valgrind output.
2018-10-20 11:27:31 +01:00
Ibrahn Sahir
7d82bed4f4
Moved dynamic font list from static to lifetime controlled by main.
...
Means the list is destroyed before the OS object, allowing it the
opportunity to print an error if there are still dynamic font objects
hanging around.
2018-10-20 10:13:06 +01:00
Aaron Franke
dc2e73499a
Fix compile warnings for Windows from Linux
...
At least the ones I got when I compiled it using Mingw64 POSIX on Xubuntu 18.04. Plus use the Size2 of get_window_size() directly, rather than reconstructing it.
2018-10-19 09:11:14 -04:00
Rémi Verschelde
bde3e884c7
Merge pull request #23138 from CakHuri/fix-disconect
...
Repaired mistyped of 'just_disconnected'.
2018-10-19 13:55:31 +02:00
M. Huri
596ba88869
Repaired mistyped of 'just_disconnected'.
2018-10-19 18:31:35 +07:00
Dualtagh Murray
b902a2f2a7
Fixing warnings generated by MSVC
...
Fixes #22684 .
2018-10-19 11:45:24 +02:00
David Sichma
6ec4da2e3b
Fix inconsistency in KinematicBody
...
- moved new infinite_inertia argument of move_and_slide and
move_and_slide_with_snap in KinematicBody and KinematicBody2D to the
end if not already there. This makes the order of arguments consistent
and should keep projects from 3.0 compatible as this argument did not
exist in 3.0. Docs updated accordingly.
- renamed max_bounces to max_slides for consistency. Docs updated
accordingly.
- the argument infinite_inertia in test_move is now optional, as it is
in every other movement related method. This closes #22829 .
2018-10-17 17:22:14 +02:00
Michael Alexsander Silva Dias
cad9e4e692
Remove unnecessary "rings" variable from "draw_rings()" in StyleBox
2018-10-16 14:48:46 -03:00
Rémi Verschelde
47c0aff491
Merge pull request #22894 from OsamaElHariri/prevent-comment-indent
...
A colon ending a comment line no longer indents the next line
2018-10-16 14:47:33 +02:00
Rémi Verschelde
b4dd1afa74
Merge pull request #22922 from mrcdk/fix_area_bus_override
...
Fixes Area and Area2D audio bus override
2018-10-16 14:46:01 +02:00
M. Huri
967831d9a0
[Docs] Fixed 'get_button_count's link and a typo related to 'button'.
2018-10-13 17:34:57 +07:00
Rémi Verschelde
ebdb374d80
Merge pull request #22844 from samgreen/fix_gui_dragging_spam
...
Fix spam when dragging in the editor
2018-10-11 17:48:19 +02:00
clayjohn
b6a23afa80
removed redundant error from meshdatatool
2018-10-10 22:42:14 -07:00
MrCdK
0e8c7f58db
Fixes Area and Area2D audio bus override
2018-10-11 05:15:22 +02:00
DualMatrix
6afedaa498
Fixed error when duplicating a scene which has connection
...
Fixed error when duplicating a scene which has connection
2018-10-11 01:30:12 +02:00
OsamaElHariri
317f7c91a2
A colon ending a comment line no longer indents the next line
2018-10-10 00:36:12 +03:00
dennisseong
14c0b75b63
Fix richtextlabel meta links shouldn't open when swiping to scroll
2018-10-09 09:04:59 +09:00
Sam Green
24a339245f
Swap condition to prevent spam in editor.
2018-10-08 11:05:20 -07:00
Juan Linietsky
328679fddd
Ensure CPU particles do not process if not visible
2018-10-08 00:55:43 -03:00
Juan Linietsky
14494dddd0
Fixes to CPU particles for performance and avoiding NaNs.
2018-10-08 00:55:43 -03:00
Fabio Alessandrelli
e355a8fc4c
Fix crash in Tree when moving using Joypad
2018-10-07 16:22:04 +02:00
Rémi Verschelde
13892f2668
Merge pull request #22822 from godotengine/revert-16977-master
...
Revert "Created a new function named get_element in GridContainer. This funct…"
2018-10-07 11:19:55 +02:00
Rémi Verschelde
ea65a1bbb3
Merge pull request #22712 from groud/fix_animation_finished_signal
...
Fixes AnimatedSprite2D animation_finished signal triggering too early
2018-10-07 11:17:14 +02:00
Rémi Verschelde
bf6dcb9105
Merge pull request #22722 from akien-mga/fix-warnings
...
Fix more "may be used initialized" warnings from GCC 7
2018-10-07 11:07:13 +02:00
Rémi Verschelde
22181d0a3f
Merge pull request #22759 from AndreaCatania/pyfix
...
Some physics fixes for 3.1
2018-10-07 11:01:34 +02:00
Rémi Verschelde
cb677e57c6
Revert "Created a new function named get_element in GridContainer. This funct…"
2018-10-07 10:32:34 +02:00
Aaron Franke
4f7b33cdcf
Remove redundant "== false" code
...
Some of this code has been re-organized.
f
2018-10-06 16:20:41 -04:00
Aaron Franke
37386f112b
Remove redundant "== true" code
...
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-06 16:12:36 -04:00
Rémi Verschelde
dda6d80598
Merge pull request #22742 from YeldhamDev/textedit_margin_scroll
...
Fix TextEdit margin start spacing with two scrollbars
2018-10-06 13:32:08 +02:00
Samuel P
cf2bdcbb3f
fix hovering on toggled texture buttons
...
fix hovering on toggled link buttons
2018-10-06 13:06:06 +02:00
Rémi Verschelde
d2043fad67
Merge pull request #22774 from kellams/master
...
Fix to scrolling, rounding error on max_v_scroll
2018-10-06 12:36:17 +02:00
Juan Linietsky
f12cb82e0f
Fixes to baker, restored xatlas and fixed bake options.
2018-10-05 19:00:32 -03:00
Kellam Spencer
f51ce0f7b1
Fix to scrolling, rounding error on max_v_scroll
2018-10-05 16:50:49 -04:00
Andrea Catania
5328dcb7bb
Improved trimesh stability
2018-10-05 15:15:54 +02:00
R. K
2ef29d35bd
Fix to ColorPicker behaviour when entering html.
2018-10-05 13:04:23 +02:00
Michael Alexsander Silva Dias
8a64a44e0e
Fix TextEdit margin start spacing with two scrollbars
2018-10-04 19:38:08 -03:00
DualMatrix
38d108aaa2
Added warning when setting autoplay of AnimationPlayer that's inside the tree.
...
Added warning when setting autoplay of AnimationPlayer that's inside the tree.
2018-10-05 00:09:53 +02:00
Rémi Verschelde
3e9740ac93
Fix more "may be used initialized" warnings from GCC 7
...
Fixes the following GCC 7 warnings:
```
core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized]
servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-10-04 18:54:20 +02:00
Rémi Verschelde
f48ee838e7
Fix GCC 8 warnings about potentially unitialized variables
...
Fixes the following GCC 8 warnings:
```
core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
```
2018-10-04 13:08:41 +02:00
groud
252d089e6f
Fixes AnimatedSprite2D animation_finished signal triggering too early
2018-10-04 12:51:45 +02:00
karroffel
a0f206aae8
fix enum cast warnings on clang
2018-10-04 09:17:59 +02:00
Rémi Verschelde
864772b900
Merge pull request #22643 from akerudesu/dynamic_font_fallback
...
Fix oversampling of DynamicFont fallback fonts
2018-10-03 20:34:52 +02:00
Juan Linietsky
fdd6950fc1
Fix lightmap baking crash, may close some issues but I am not sure.
2018-10-03 14:58:33 -03:00
Rémi Verschelde
344a453bb8
Merge pull request #22681 from akien-mga/fix-warnings
...
Fix warnings on release builds and some MSVC warnings
2018-10-03 19:05:55 +02:00
Rémi Verschelde
f7cb23f9e3
Merge pull request #22675 from DualMatrix/duplicate_err
...
Fixed error when duplicating node with signal from editor.
2018-10-03 18:07:13 +02:00
Rémi Verschelde
dec20a987b
Fix some warnings raised by MSVC 2017
...
Disabled signed/unsigned warnings like for GCC/Clang
(warning C4018: '>=': signed/unsigned mismatch).
Fixes the following MSVC 2017 warnings:
```
core\image.cpp(999): warning C4804: '>': unsafe use of type 'bool' in operation
core\io\compression.cpp(178): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
editor\doc\doc_dump.cpp(226): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
scene/resources/material.h(289): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
scene/resources/material.h(298): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
editor\editor_themes.cpp(379): warning C4805: '==': unsafe mix of type 'int' and type 'bool' in operation
```
2018-10-03 17:34:56 +02:00
Rémi Verschelde
95131e6f23
Fix warnings on release builds (not DEBUG_ENABLED)
...
Fixes the following Clang 5 warnings:
```
modules/bmp/image_loader_bmp.cpp:46:60: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
modules/bmp/image_loader_bmp.cpp:48:61: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
drivers/png/image_loader_png.cpp:231:20: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
scene/gui/graph_edit.cpp:1045:8: warning: comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare]
core/class_db.cpp:812:13: warning: unused variable 'check' [-Wunused-variable]
core/io/file_access_pack.cpp:172:11: warning: unused variable 'ver_rev' [-Wunused-variable]
core/math/bsp_tree.cpp:195:13: warning: unused variable 'plane' [-Wunused-variable]
core/math/bsp_tree.cpp:168:6: warning: unused variable 'plane_count' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:685:10: warning: unused variable 'ok' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:706:10: warning: unused variable 'ok' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:755:19: warning: unused variable 'var_type' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:1306:12: warning: unused variable 'err' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:158:15: warning: unused function '_get_var_type' [-Wunused-function]
modules/gdscript/gdscript_parser.cpp:750:20: warning: unused variable 'lv' [-Wunused-variable]
modules/gdscript/gdscript_parser.cpp:59:15: warning: unused function '_find_function_name' [-Wunused-function]
scene/main/node.cpp:2489:13: warning: unused function '_Node_debug_sn' [-Wunused-function]
```
2018-10-03 17:34:55 +02:00
Akeru
81fa121909
Fix fallback font oversampling.
2018-10-03 17:25:28 +02:00
DualMatrix
cb9559350f
Fixed error when duplicating node from editor.
...
Fixed error when duplicating node from editor.
2018-10-03 14:59:16 +02:00
Hugo Locurcio
9c1d4f9da2
Use more subtle indentation guides in the script editor
2018-10-03 00:00:25 +02:00
Rémi Verschelde
8c9c1d6882
Merge pull request #21436 from CptPotato/tonemap-fixes
...
tonemapping fixes
2018-10-02 15:42:15 +02:00
Juan Linietsky
bad991ea83
Many more fixes for GLES2 mobile export. Also added ability to turn on OpenGL debugging on Android export.
2018-10-02 10:00:15 -03:00
Rémi Verschelde
0b73a9e403
Merge pull request #22618 from akien-mga/fix-warnings
...
Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-…
2018-10-02 14:32:06 +02:00
Rémi Verschelde
0f4c30fb71
Merge pull request #22531 from DualMatrix/path_missing_video_memory
...
Made Debugger's Video Memory tab show correct resource paths.
2018-10-02 13:53:28 +02:00
Rémi Verschelde
c026e3957a
Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor]
...
Fixes the following Clang 7 warnings:
```
editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual]
editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual]
main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual]
servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual]
core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
```
2018-10-02 13:40:17 +02:00
Rémi Verschelde
3c173ebca4
Merge pull request #21395 from mrcdk/spin_box_expose_align
...
Expose the align property of the SpinBox's LineEdit control
2018-10-02 10:36:20 +02:00
Rémi Verschelde
08a24698eb
Merge pull request #22062 from Leytak/patch-1
...
Discard button pressing flags on disable
2018-10-02 09:49:17 +02:00
Rémi Verschelde
fb5cbf2d30
Merge pull request #22402 from DualMatrix/colorpicker_presets
...
Made ColorPicker save it's presets while in editor.
2018-10-02 09:24:33 +02:00
Rémi Verschelde
b1b625f4f5
Fix various Clang 7 warnings about unused stuff
...
Namely:
[-Wunneeded-internal-declaration]
[-Wunused-comparison]
[-Wunused-const-variable]
[-Wunused-function]
[-Wunused-private-fields]
Fixes the following Clang 7 warnings:
```
editor/plugins/script_editor_plugin.cpp:1417:20: warning: function '_find_node_with_script' is not needed and will not be emitted [-Wunneeded-internal-declaration]
editor/scene_tree_dock.cpp:1859:14: warning: function '_find_last_visible' is not needed and will not be emitted [-Wunneeded-internal-declaration]
modules/gdscript/gdscript_parser.cpp:7838:19: warning: equality comparison result unused [-Wunused-comparison]
scene/resources/mesh.cpp:549:35: warning: unused variable '_array_types' [-Wunused-const-variable]
scene/resources/mesh.cpp:563:18: warning: unused variable '_format_translate' [-Wunused-const-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:54:28: warning: unused function 'store_transform2d' [-Wunused-function]
core/io/file_access_network.h:50:6: warning: private field 'ml' is not used [-Wunused-private-field]
core/io/file_access_zip.h:93:14: warning: private field 'archive' is not used [-Wunused-private-field]
core/io/resource_format_binary.h:122:6: warning: private field 'bin_meta_idx' is not used [-Wunused-private-field]
core/message_queue.h:47:9: warning: private field 'mutex' is not used [-Wunused-private-field]
main/tests/test_gui.cpp:63:11: warning: private field 'control' is not used [-Wunused-private-field]
modules/gdscript/gdscript_parser.h:558:7: warning: private field 'completion_static' is not used [-Wunused-private-field]
platform/x11/os_x11.h:148:11: warning: private field 'ip_unix' is not used [-Wunused-private-field]
platform/x11/os_x11.h:180:7: warning: private field 'net_wm_icon' is not used [-Wunused-private-field]
platform/x11/os_x11.h:189:6: warning: private field 'audio_driver_index' is not used [-Wunused-private-field]
platform/x11/os_x11.h:190:15: warning: private field 'capture_idle' is not used [-Wunused-private-field]
servers/physics/body_pair_sw.h:79:6: warning: private field 'cc' is not used [-Wunused-private-field]
servers/visual/visual_server_raster.h:62:7: warning: private field 'draw_extra_frame' is not used [-Wunused-private-field]
```
2018-10-01 17:32:12 +02:00
Rémi Verschelde
686f6ff279
Fix mismatched class/struct definition warnings [-Wmismatched-tags]
...
Fixes the following Clang 7 warnings:
```
core/object.cpp:44:1: warning: '_ObjectDebugLock' defined as a struct here but previously declared as a class [-Wmismatched-tags]
core/variant_call.cpp:43:1: warning: '_VariantCall' defined as a struct here but previously declared as a class [-Wmismatched-tags]
drivers/gles3/rasterizer_storage_gles3.h:765:2: warning: 'MultiMesh' defined as a struct here but previously declared as a class [-Wmismatched-tags]
editor/editor_node.h:794:1: warning: 'EditorProgress' defined as a struct here but previously declared as a class [-Wmismatched-tags]
modules/bullet/rigid_body_bullet.h:230:17: warning: class 'KinematicUtilities' was previously declared as a struct [-Wmismatched-tags]
modules/bullet/space_bullet.h:60:1: warning: class 'btSoftBodyWorldInfo' was previously declared as a struct [-Wmismatched-tags]
scene/resources/world_2d.cpp:40:1: warning: 'SpatialIndexer2D' defined as a struct here but previously declared as a class [-Wmismatched-tags]
scene/resources/world.cpp:39:1: warning: 'SpatialIndexer' defined as a struct here but previously declared as a class [-Wmismatched-tags]
servers/audio/reverb_sw.cpp:60:1: warning: 'ReverbParamsSW' defined as a struct here but previously declared as a class [-Wmismatched-tags]
thirdparty/bullet/BulletSoftBody/btSoftBody.h:43:1: warning: 'btSoftBodyWorldInfo' defined as a struct here but previously declared as a class [-Wmismatched-tags]
```
2018-10-01 17:02:47 +02:00
Rémi Verschelde
01e1c6e8b6
Merge pull request #22560 from lupoDharkael/clipboard
...
TextEdit: prevent the copy of an empty string
2018-09-30 22:49:45 +02:00
Rémi Verschelde
b3c3fe29d1
Merge pull request #22543 from slapin/meshdatatool_fix
...
MeshDataTool memory corruption fix
2018-09-30 22:46:26 +02:00
lupoDharkael
f5f948210c
TextEdit: prevent the copy of an empty string
2018-09-30 17:17:29 +02:00
Juan Linietsky
3333166b07
Many more GLES2 fixes
2018-09-29 19:17:52 -03:00
Rémi Verschelde
0378a9ba80
Merge pull request #22520 from akien-mga/fix-warnings
...
Fix warning about functions defined but not used [-Wunused-function]
2018-09-29 23:51:17 +02:00
Sergey Lapin
e50d56b4c6
MeshDataTool memory corruption fix
...
Fix for incorrect types used in MeshDataTool for bones and weights.
If your mesh contains these memory accesses get OOB and might crash
the application
Closes #21713
2018-09-30 00:23:08 +03:00
Rémi Verschelde
0eff2efe33
Merge pull request #22540 from Paulb23/fold_blank_lines_issue_15689
...
Fix code folding taking into account empty lines, issue 15689
2018-09-29 22:54:03 +02:00
Rémi Verschelde
62ecb44035
Fix warning about functions defined but not used [-Wunused-function]
...
Fixes the following GCC 5 warnings:
```
core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function]
core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function]
editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function]
editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function]
modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function]
scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
```
Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword.
Not fixed yet (static definition in header used in some files but not all):
```
modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function]
```
Also fixed a couple other warnings missed in previous commits.
2018-09-29 22:26:12 +02:00
Paulb23
f08eead3a2
Fix code folding taking into account empty lines, issue 15689
2018-09-29 18:08:56 +01:00
Juan Linietsky
0de8309b2c
Many fixes to GLES2 renderer, fixed compilation issues in GLES3 shaders.
2018-09-29 13:49:34 -03:00
DualMatrix
8f89e2b490
Made Debugger's Video Memory tab show correct resource paths.
...
Made Debugger's Video Memory tab show correct resource paths.
The Icons are still missing but that is due to the get_icon(type, "EditorIcons") for type = "Texture" being missing. Adding that icon would fix it.
2018-09-29 13:40:29 +02:00
Juan Linietsky
c83742ba86
-Lightmap and lightmap capture support for GLES2
...
-Added hint to not show some properties when running on low end gfx
2018-09-28 20:33:18 -03:00
Rémi Verschelde
2091f20443
Fix warnings about wrong member initialization order [-Wreorder]
...
Fixes the following GCC 5 warnings:
```
core/object.h:193:11: warning: 'MethodInfo::flags' will be initialized after [-Wreorder]
core/object.h:192:15: warning: 'PropertyInfo MethodInfo::return_val' [-Wreorder]
core/object.cpp:278:1: warning: when initialized here [-Wreorder]
core/script_debugger_remote.h:97:6: warning: 'ScriptDebuggerRemote::max_cps' will be initialized after [-Wreorder]
core/script_debugger_remote.h:91:6: warning: 'int ScriptDebuggerRemote::max_messages_per_frame' [-Wreorder]
core/script_debugger_remote.cpp:1086:1: warning: when initialized here [-Wreorder]
core/script_debugger_remote.h:98:6: warning: 'ScriptDebuggerRemote::char_count' will be initialized after [-Wreorder]
core/script_debugger_remote.h:92:6: warning: 'int ScriptDebuggerRemote::n_messages_dropped' [-Wreorder]
core/script_debugger_remote.cpp:1086:1: warning: when initialized here [-Wreorder]
modules/bullet/area_bullet.h:102:7: warning: 'AreaBullet::isScratched' will be initialized after [-Wreorder]
modules/bullet/area_bullet.h:92:39: warning: 'PhysicsServer::AreaSpaceOverrideMode AreaBullet::spOv_mode' [-Wreorder]
modules/bullet/area_bullet.cpp:46:1: warning: when initialized here [-Wreorder]
modules/bullet/collision_object_bullet.h:127:15: warning: 'CollisionObjectBullet::space' will be initialized after [-Wreorder]
modules/bullet/collision_object_bullet.h:117:7: warning: 'CollisionObjectBullet::Type CollisionObjectBullet::type' [-Wreorder]
modules/bullet/collision_object_bullet.cpp:67:1: warning: when initialized here [-Wreorder]
modules/bullet/godot_ray_world_algorithm.h:48:7: warning: 'GodotRayWorldAlgorithm::m_ownManifol1d' will be initialized after [-Wreorder]
modules/bullet/godot_ray_world_algorithm.h:46:33: warning: 'const btDiscreteDynamicsWorld* GodotRayWorldAlgorithm::m_world' [-Wreorder]
modules/bullet/godot_ray_world_algorithm.cpp:50:1: warning: when initialized here [-Wreorder]
modules/bullet/godot_result_callbacks.h:91:18: warning: 'GodotAllConvexResultCallback::m_exclude' will be initialized after [-Wreorder]
modules/bullet/godot_result_callbacks.h:89:6: warning: 'int GodotAllConvexResultCallback::m_resultMax' [-Wreorder]
modules/bullet/godot_result_callbacks.h:93:2: warning: when initialized here [-Wreorder]
modules/bullet/godot_result_callbacks.h:142:18: warning: 'GodotAllContactResultCallback::m_exclude' will be initialized after [-Wreorder]
modules/bullet/godot_result_callbacks.h:140:6: warning: 'int GodotAllContactResultCallback::m_resultMax' [-Wreorder]
modules/bullet/godot_result_callbacks.h:147:2: warning: when initialized here [-Wreorder]
modules/bullet/godot_result_callbacks.h:168:18: warning: 'GodotContactPairContactResultCallback::m_exclude' will be initialized after [-Wreorder]
modules/bullet/godot_result_callbacks.h:166:6: warning: 'int GodotContactPairContactResultCallback::m_resultMax' [-Wreorder]
modules/bullet/godot_result_callbacks.h:173:2: warning: when initialized here [-Wreorder]
modules/bullet/godot_result_callbacks.h:195:18: warning: 'GodotRestInfoContactResultCallback::m_exclude' will be initialized after [-Wreorder]
modules/bullet/godot_result_callbacks.h:191:7: warning: 'bool GodotRestInfoContactResultCallback::m_collided' [-Wreorder]
modules/bullet/godot_result_callbacks.h:199:2: warning: when initialized here [-Wreorder]
modules/bullet/rigid_body_bullet.h:200:9: warning: 'RigidBodyBullet::gravity_scale' will be initialized after [-Wreorder]
modules/bullet/rigid_body_bullet.h:199:9: warning: 'real_t RigidBodyBullet::mass' [-Wreorder]
modules/bullet/rigid_body_bullet.cpp:258:1: warning: when initialized here [-Wreorder]
modules/bullet/rigid_body_bullet.h:222:28: warning: 'RigidBodyBullet::force_integration_callback' will be initialized after [-Wreorder]
modules/bullet/rigid_body_bullet.h:219:7: warning: 'bool RigidBodyBullet::isTransformChanged' [-Wreorder]
modules/bullet/rigid_body_bullet.cpp:258:1: warning: when initialized here [-Wreorder]
modules/bullet/rigid_body_bullet.h:220:7: warning: 'RigidBodyBullet::previousActiveState' will be initialized after [-Wreorder]
modules/bullet/rigid_body_bullet.h:208:6: warning: 'int RigidBodyBullet::maxCollisionsDetection' [-Wreorder]
modules/bullet/rigid_body_bullet.cpp:258:1: warning: when initialized here [-Wreorder]
modules/bullet/soft_body_bullet.h:69:9: warning: 'SoftBodyBullet::total_mass' will be initialized after [-Wreorder]
modules/bullet/soft_body_bullet.h:68:6: warning: 'int SoftBodyBullet::simulation_precision' [-Wreorder]
modules/bullet/soft_body_bullet.cpp:38:1: warning: when initialized here [-Wreorder]
modules/bullet/soft_body_bullet.h:76:9: warning: 'SoftBodyBullet::drag_coefficient' will be initialized after [-Wreorder]
modules/bullet/soft_body_bullet.h:61:14: warning: 'btSoftBody* SoftBodyBullet::bt_soft_body' [-Wreorder]
modules/bullet/soft_body_bullet.cpp:38:1: warning: when initialized here [-Wreorder]
modules/bullet/space_bullet.h:97:22: warning: 'SpaceBullet::solver' will be initialized after [-Wreorder]
modules/bullet/space_bullet.h:95:35: warning: 'btDefaultCollisionConfiguration* SpaceBullet::collisionConfiguration' [-Wreorder]
modules/bullet/space_bullet.cpp:333:1: warning: when initialized here [-Wreorder]
modules/bullet/space_bullet.h:101:23: warning: 'SpaceBullet::soft_body_world_info' will be initialized after [-Wreorder]
modules/bullet/space_bullet.h:99:23: warning: 'btGhostPairCallback* SpaceBullet::ghostPairCallback' [-Wreorder]
modules/bullet/space_bullet.cpp:333:1: warning: when initialized here [-Wreorder]
modules/gdnative/nativescript/nativescript.h:79:13: warning: 'NativeScriptDesc::base_native_type' will be initialized after [-Wreorder]
modules/gdnative/nativescript/nativescript.h:73:9: warning: 'String NativeScriptDesc::documentation' [-Wreorder]
modules/gdnative/nativescript/nativescript.h:88:9: warning: when initialized here [-Wreorder]
modules/gdscript/gdscript.h:296:6: warning: 'GDScriptWarning::line' will be initialized after [-Wreorder]
modules/gdscript/gdscript.h:294:4: warning: 'GDScriptWarning::Code GDScriptWarning::code' [-Wreorder]
modules/gdscript/gdscript.h:303:2: warning: when initialized here [-Wreorder]
scene/3d/physics_body.h:544:7: warning: 'PhysicalBone::simulate_physics' will be initialized after [-Wreorder]
scene/3d/physics_body.h:543:7: warning: 'bool PhysicalBone::_internal_static_body' [-Wreorder]
scene/3d/physics_body.cpp:2502:1: warning: when initialized here [-Wreorder]
scene/3d/physics_body.h:546:6: warning: 'PhysicalBone::bone_id' will be initialized after [-Wreorder]
scene/3d/physics_body.h:539:12: warning: 'Skeleton* PhysicalBone::parent_skeleton' [-Wreorder]
scene/3d/physics_body.cpp:2502:1: warning: when initialized here [-Wreorder]
scene/3d/spring_arm.h:44:11: warning: 'SpringArm::mask' will be initialized after [-Wreorder]
scene/3d/spring_arm.h:43:8: warning: 'float SpringArm::current_spring_length' [-Wreorder]
scene/3d/spring_arm.cpp:37:1: warning: when initialized here [-Wreorder]
scene/animation/skeleton_ik.h:159:11: warning: 'SkeletonIK::target_node_override' will be initialized after [-Wreorder]
scene/animation/skeleton_ik.h:152:7: warning: 'bool SkeletonIK::use_magnet' [-Wreorder]
scene/animation/skeleton_ik.cpp:418:1: warning: when initialized here [-Wreorder]
scene/resources/tile_set.h:84:9: warning: 'TileSet::AutotileData::size' will be initialized after [-Wreorder]
scene/resources/tile_set.h:83:7: warning: 'int TileSet::AutotileData::spacing' [-Wreorder]
scene/resources/tile_set.h:92:12: warning: when initialized here [-Wreorder]
scene/resources/tile_set.h:115:12: warning: 'TileSet::TileData::tile_mode' will be initialized after [-Wreorder]
scene/resources/tile_set.h:114:9: warning: 'Color TileSet::TileData::modulate' [-Wreorder]
scene/resources/tile_set.h:120:12: warning: when initialized here [-Wreorder]
servers/physics/body_sw.h:84:19: warning: 'BodySW::direct_state_query_list' will be initialized after [-Wreorder]
servers/physics/body_sw.h:57:11: warning: 'uint16_t BodySW::locked_axis' [-Wreorder]
servers/physics/body_sw.cpp:756:1: warning: when initialized here [-Wreorder]
```
Nothing really relevant for us, but it's not a bad consistency
improvement anyway so worth taking.
2018-09-28 17:30:28 +02:00
Rémi Verschelde
82f2674e8d
Move Penner easing equations to thirdparty/misc
...
It was Godot-ified and integrated into Tween originally (#628 )
without mention that it was thirdparty code, but it's actually
derived from https://github.com/jesusgollonet/ofpennereasing .
It's also very bad quality code and should be replaced by a better,
properly-maintained library of easing equations.
2018-09-28 16:01:26 +02:00
Rémi Verschelde
3a2ca68af3
SCons: Build thirdparty code in own env, disable warnings
...
Also remove unnecessary `Export('env')` in other SCsubs,
Export should only be used when exporting *new* objects.
2018-09-28 14:07:39 +02:00
Rémi Verschelde
c45ef38004
Merge pull request #22384 from DualMatrix/hover_pressed
...
Added hover_pressed style to CheckBox and CheckButton
2018-09-28 10:54:02 +02:00
Rémi Verschelde
28c6837219
Merge pull request #22381 from DualMatrix/range_exp_warning
...
Added warning when min_value of range <= 0 while exp_edit is true.
2018-09-28 10:53:24 +02:00