kobewi
4d172f1fca
Cache world in VisibilityNotifier3D to avoid crash
2021-01-27 21:02:33 +01:00
Rémi Verschelde
549ffb9be9
Merge pull request #45040 from volkathemartian/fix-spinbox-mouse-capture
...
Fix unintended SpinBox mouse capture
2021-01-27 10:25:12 +01:00
Yuri Roubinsky
64971bcc8a
Added missed Button `font_hover_pressed_color` style
2021-01-27 10:44:53 +03:00
Volka
ae2cf8eb38
Fix unintended SpinBox mouse capture
2021-01-26 21:17:31 -05:00
Yuri Roubinsky
6d82898470
Reveals Button "icon_color" style properties to the user
2021-01-26 22:05:59 +03:00
Rémi Verschelde
8b8c630f60
Merge pull request #44814 from hoontee/fix-44714
...
Do not clear materials when setting mesh
2021-01-26 16:10:27 +01:00
Rémi Verschelde
eda5f4ea31
Merge pull request #44349 from KoBeWi/drop_the_data!
...
Allow to override drop data in LineEdit
2021-01-26 16:03:07 +01:00
Rémi Verschelde
b84729f848
Merge pull request #45220 from Calinou/range-ratio-equal-min-max-no-error
...
Make Range return 1.0 ratio if minimum and maximum values are equal
2021-01-26 15:24:58 +01:00
Rémi Verschelde
bdfc7a6b40
Merge pull request #45369 from naithar/fix/line_edit_clear-4.0
...
[4.0] [GUI] Fix LineEdit clearing
2021-01-26 12:30:34 +01:00
Sergey Minakov
ba6aa76992
[GUI] Enforce virtual keyboard redisplay on clear
2021-01-26 13:17:20 +03:00
Nils Reid
3e94c23fa5
Exposed find_next_valid_focus and find_prev_valid_focus.
2021-01-26 08:19:20 +01:00
Rémi Verschelde
6cba658934
Merge pull request #44194 from madmiraal/fix-font_selected_color
...
Change themes font_color_selected to font_selected_color
2021-01-26 00:03:40 +01:00
Rémi Verschelde
d7aea6ff6c
Merge pull request #45447 from pycbouh/graphedit-minimap-active-invisible
...
Fix minimap capturing events and improve its theme and editor settings
2021-01-25 20:32:46 +01:00
Yuri Sizov
9d9d0f0bc9
Fix minimap capturing events and improve its theme
...
Add an editor setting for minimap opacity in visual editors
2021-01-25 21:49:07 +03:00
reduz
51d8e32c93
Implement shadow meshes
...
-When importing, a vertex-only version of the mesh is created.
-This version is used when rendering shadows, and improves performance by reducing bandwidth
-It's automatic, but can optionally be used by users, in case they want to make special versions of geometry for shadow casting.
2021-01-25 15:03:15 -03:00
reduz
a9beb7aa8c
Shadow map rendering optimization
...
-All shadow rendering is done with raster now (no compute)
-All shadow rendering is done by rendering directly to the shadow atlas
-Improved how buffer clearing is done to optimize the above.
-Ability to set shadows as 16 bits.
2021-01-24 20:17:28 -03:00
reduz
6fe342478b
Several GI related optimizations and fixes
...
-SDFGI direct light is done over many frames
-SDFGI Changed settings for rays/frame
-SDFGI Misc optimizations
-SDFGI Bug fix on probe scroll
-GIProbe was not working, got it to work again
-GIProbe dynamic objects were not working, fixed
-Added a half size GI option.
2021-01-24 19:29:07 -03:00
Marcel Admiraal
8eb39f4e8b
Change themes *_color_* to *_*_color
...
Changed:
font_color_accel -> font_accelerator_color
font_color_bg -> font_unselected_color
font_color_disabled -> font_disabled_color
font_color_fg -> font_selected_color
font_color_hover -> font_hover_color
font_color_hover_pressed -> font_hover_pressed_color
font_color_pressed -> font_pressed_color
font_color_readonly -> font_readonly_color
font_color_selected -> font_selected_color
font_color_shadow -> font_shadow_color
font_color_uneditable -> font_uneditable_color
icon_color_disabled -> icon_disabled_color
icon_color_hover -> icon_hover_color
icon_color_hover_pressed -> icon_hover_pressed_color
icon_color_normal -> icon_normal_color
icon_color_pressed -> icon_pressed_color
Also includes:
font_outline_modulate -> font_outline_color
tab_fg -> tab_selected
tab_bg -> tab_unselected
2021-01-24 06:28:49 +00:00
Rémi Verschelde
d39f6386ce
Merge pull request #45314 from RandomShaper/modernize_rwlock
...
Modernize RWLock
2021-01-22 14:51:05 +01:00
Rémi Verschelde
b23f1a8d3e
Merge pull request #45267 from HipsterPenguin/BugFixing
...
Fixed 6DOF set/get check for the path starting with joint_constraints
2021-01-20 17:51:08 +01:00
Rémi Verschelde
8a6d4dd5ed
Merge pull request #45023 from reduz/optimize-shader-vgpr1
...
Shader optimizations to reduce VGPR usage and increase occupancy
2021-01-20 00:10:21 +01:00
Rémi Verschelde
76c6007aa6
Cleanup: Remove executable bit from files which don't need it
...
Drop unused xpmfix.sh script.
2021-01-19 23:36:42 +01:00
reduz
099dee35f4
Added GPU based cluster builder
...
Clustering is now GPU based, uses an implementation based on the Activision algorithm.
2021-01-19 23:31:06 +01:00
HipsterPenguin
6bf46cf70f
Fixed 6DOF set/get check for the path starting with joint_constraints
...
New code checks whether or not property has joint_constraints as the first part of its path.
2021-01-19 06:40:06 -06:00
Pedro J. Estébanez
8ed259b792
Modernize RWLock
...
- Based on C++14's `shared_time_mutex`
- No more need to allocate-deallocate or check for null
- No pointer anymore, just a member variable
- Platform-specific implementations no longer needed
- Simpler for `NO_THREADS`
2021-01-19 11:53:10 +01:00
Yuri Roubinsky
4618e09f3b
Added SDF nodes to visual shader
2021-01-18 15:04:54 +01:00
Rémi Verschelde
5496174dd4
Merge pull request #45265 from KoBeWi/children_editing_2077
...
Change how editable children data is stored
2021-01-18 12:30:38 +01:00
bruvzg
e4651a44ab
RichTextLabel: adds separate `get_total_x_count`, `get_visible_x_count` and `scroll_to_x` functions for wrapped lines and paragraphs (newlines).
2021-01-18 11:26:55 +02:00
Hugo Locurcio
1f9cac1717
Fix typo in theming methods ("botton" -> "bottom")
2021-01-18 04:19:07 +01:00
kobewi
05f29b16b6
Change how editable children data is stored
...
Co-authored-by: hilfazer <az13337@gmail.com>
2021-01-17 23:37:40 +01:00
Hugo Locurcio
44204ec32d
Make Range return 1.0 ratio if minimum and maximum values are equal
...
An error message is also no longer printed.
This matches the behavior found in most UI frameworks where having
equal minimum and maximum values is considered acceptable.
This closes #43179 .
2021-01-15 23:14:50 +01:00
Yuri Roubinsky
4a85f4cafe
Fix replaced visual shader nodes updating
2021-01-15 21:10:32 +03:00
Rémi Verschelde
c7fb7674c8
Merge pull request #44805 from Chaosus/vs_convert
...
Add convert options between constants and uniforms in visual shaders
2021-01-15 16:58:26 +01:00
Rémi Verschelde
b4020d3c27
Merge pull request #45197 from nekomatata/improved-raycast-node-render-debug
...
Improve Raycast3D render debug
2021-01-15 16:50:57 +01:00
Rémi Verschelde
1ffe3ed47a
Merge pull request #33685 from Scony/improve-item-lists-add-item-methods
...
ItemList's add_(icon_)item method returns id of added item
2021-01-15 16:24:20 +01:00
Rémi Verschelde
8cd11032fb
Merge pull request #38562 from Calinou/3d-light-size-property-hint
...
Tweak the 3D light size property to only allow reasonable values
2021-01-15 16:21:53 +01:00
Rémi Verschelde
86e2d4c593
Merge pull request #45196 from Paulb23/text_edit_draw_behind_gutter
...
Fix TextEdit drawing Caret and icons out of bounds
2021-01-15 16:08:45 +01:00
Rémi Verschelde
fa5ead4db7
Merge pull request #42713 from madmiraal/fix-42614
...
Update area-body_shape_entered-exited signal documentation.
2021-01-15 13:00:23 +01:00
Rémi Verschelde
274db4aa64
Merge pull request #45149 from pycbouh/ge-disconnect-crash
...
Prevent signal disconnection attempts on invalid references
2021-01-15 12:48:56 +01:00
Rémi Verschelde
64ba83a096
Merge pull request #44870 from alexpech12/fix-rich-text-label-set-visible-characters
...
Keep RichTextLabel visible character properties in sync
2021-01-15 00:59:26 +01:00
PouleyKetchoupp
9e660475a7
Improve Raycast3D render debug
...
Fix Raycast3D node render debug not showing in editor camera preview.
Use dynamic mesh update to change the ray on-the-fly without too much
extra cost when collision debug is enabled.
Fixes #43571
2021-01-14 15:52:01 -07:00
Paulb23
7666c1caf3
Fix TextEdit drawing Caret and icons out of bounds
2021-01-14 22:19:57 +00:00
Yuri Sizov
5e8e9fc601
Prevent signal disconnection attempts on invalid references
2021-01-14 15:19:32 +03:00
Alexander Pech
463e2002ab
Keep RichTextLabel visible character properties in sync
...
The RichTextLabel class is inconsistent in how it updates the
visible_characters and percent_visible properties when either is changed.
To keep both properties consistent, update percent_visible when setting the
visible_characters property.
For both properties, when setting one, notify change for the other.
Docs updated for member set_visible_characters on RichTextLabel class.
2021-01-14 21:32:41 +11:00
Marcel Admiraal
95020d3e38
Fix not clearing a Joint3D with only a B node when removing the B node
2021-01-13 18:58:05 +00:00
Rémi Verschelde
0b409d89d0
Merge pull request #45136 from akien-mga/clang-format-11
...
CI: Update to clang-format 11 and apply ternary operator changes
2021-01-13 16:10:44 +01:00
Rémi Verschelde
7f8ab378e9
Merge pull request #45102 from nekomatata/fix-update-shape-data
...
Fix collision shape update when changing shape properties
2021-01-13 09:18:15 +01:00
Rémi Verschelde
d2148692bc
Merge pull request #45125 from aaronfranke/poly-lib
...
Update PolyPartition / Triangulator library
2021-01-12 21:40:10 +01:00
Aaron Franke
ddd6fb37e8
Update PolyPartition / Triangulator library
2021-01-12 13:46:16 -05:00
Rémi Verschelde
ab1503c9d5
Merge pull request #45121 from Chaosus/shader_emit
...
Renamed `emit_particle` to `emit_subparticle` shader function
2021-01-12 19:33:29 +01:00