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
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
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
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
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
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