Chaosus89
a79d8e3b8f
Some improvements for Switch node in visual shaders
2019-09-03 15:11:02 +03:00
shaderbeast
5e337b31eb
Added is_inside_tree() check in both Timer and Tween
...
Tween now throws error and doesnt even execute.
2019-09-03 13:26:41 +02:00
Rémi Verschelde
331bb5a8c6
Merge pull request #31295 from fstiewitz/focus-rect-issue
...
Fix get_meta error and visual bug when editing scene with keyboard
2019-09-03 13:11:41 +02:00
Rémi Verschelde
4dfea5fc9c
Merge pull request #31389 from Calinou/add-node-comments
...
Add an `editor_description` property to Node for documentation purposes
2019-09-03 12:55:22 +02:00
Rémi Verschelde
720065c721
Merge pull request #31476 from SoulForMachine/fix-move-and-slide-error
...
Prevent move_and_slide() to generate an error.
2019-09-03 12:51:42 +02:00
Rémi Verschelde
ad9f39108f
Merge pull request #31507 from YeldhamDev/button_icon_expand
...
Add feature to Button to make its icon expand/shrink with the button's size
2019-09-03 12:51:22 +02:00
Rémi Verschelde
dd7c4c62ab
Merge pull request #31782 from aole/persist-ColorPicker-color-mode
...
Persist ColorPicker color mode
2019-09-03 12:36:04 +02:00
Rémi Verschelde
a1fe20a57e
Merge pull request #31880 from nekomatata/joystick-ui-navigation
...
Fixed UI navigation using joy axis inputs
2019-09-03 12:02:18 +02:00
Rémi Verschelde
413db5d8ff
Merge pull request #31889 from Calinou/gradient-editor-add-snapping
...
Implement snapping in the Gradient editor
2019-09-02 22:12:04 +02:00
byfron
b7ed4829ba
Computes UV coordinates of the canvas_item vertices of StyleBoxFlat
2019-09-02 20:57:43 +02:00
Tomasz Chabora
892318f5c7
Add autocomplete support for change_scene()
2019-09-02 19:07:02 +02:00
amakarenko
544c39d1e7
Fix editor infinit loop in search_prev
...
Fixes godotengine#31328
2019-09-02 15:15:55 +03:00
Hugo Locurcio
98a0c2b20f
Implement snapping in the Gradient editor
...
Holding Ctrl will snap the selected point's position
by increments of 0.1. Holding Ctrl + Shift will snap by increments
of 0.025 instead.
The previous behavior is preserved when holding just Shift (snapping
to other gradient points).
2019-09-02 13:37:27 +02:00
Rémi Verschelde
7e731bbce2
Merge pull request #31878 from aole/Initialize-TileMap-Custom-Transform
...
Initialize TileMap Custom Transform
2019-09-02 10:35:56 +02:00
Michael Alexsander Silva Dias
5f28a2f978
Fix multiline texts not updating its contents correctly in the inspector
2019-09-02 01:17:11 -03:00
PouleyKetchoupp
01c9ad1cdf
Fixed UI navigation using joy axis inputs
...
Fixes #31879
2019-09-02 04:36:58 +02:00
Bhupendra Aole
0b5a600564
Initialize TileMap Custom Transform
...
Initialize TileMap Custom Transform to same as Cell Size (64).
Fixes #30948 .
2019-09-01 19:33:45 -04:00
Tomasz Chabora
aa444453b8
Ignore size of hidden scrollbars in ScrollContainer
2019-09-01 18:31:32 +02:00
Yuri Roubinsky
ff65489ddc
Fix semicolon parsing in visual shader expression ( #31857 )
...
Fix semicolon parsing in visual shader expression
2019-09-01 14:45:22 +03:00
Rémi Verschelde
a02d2fdb84
Merge pull request #31848 from Chaosus/fix_graph_resizer_style
...
Fix resizer icon visiblity on light theme in GraphNode
2019-09-01 12:30:52 +02:00
Chaosus89
a68ea5721f
Fix semicolon parsing in visual shader expression
2019-09-01 13:12:33 +03:00
Yuri Roubinsky
5dd51a5b3b
Fix visual shader expression parsing ( #31853 )
...
Fix visual shader expression parsing
2019-09-01 12:29:22 +03:00
Chaosus89
466a9ffdc6
Fix visual shader expression parsing
2019-09-01 12:14:20 +03:00
Rémi Verschelde
979e772947
Merge pull request #31839 from Calinou/canvasitem-update-only-if-needed
...
Call some CanvasItem property setters only if needed
2019-09-01 10:11:28 +02:00
Chaosus89
8fd8589547
Fix resizer icon visiblity on light theme in GraphNode
2019-09-01 09:12:26 +03:00
Rémi Verschelde
00aabec8bb
Merge pull request #31828 from Paulb23/minimap_drag_less_then_control
...
Fix minimap drag when height is less then control size
2019-08-31 22:09:53 +02:00
Hugo Locurcio
8c8dc6f026
Call some CanvasItem property setters only if needed
...
The CanvasItem property setters `set_modulate`, `set_self_modulate`
and `set_light_mask` have some side effects that don't need to be run
if the value hasn't changed.
This closes #31777 .
2019-08-31 21:53:02 +02:00
Rémi Verschelde
b17b51d970
Merge pull request #31825 from fstiewitz/viewport-container-input
...
Fix object picking inside ViewportContainers
2019-08-31 17:25:11 +02:00
merumelu
5c7c7dbcb5
HTTPRequest: include faulty URLs in error texts
2019-08-31 16:57:46 +02:00
Paulb23
b1aaeb07ea
Fix minimap drag when height is less then control size
2019-08-31 15:43:19 +01:00
Fabian Stiewitz
21b6be28ea
process unhandled input in ViewportContainer
2019-08-31 14:51:16 +02:00
Bhupendra Aole
1de3ec911f
Default ColorPicker color mode setting
...
There is a new setting for Default ColorPicker color mode in Editor Settings->Interface->Inspector. Initially this setting will be RGB. Editor ColorPicker will always start with mode defined in this settiing.
Fixes #30755 and #30754
2019-08-31 00:34:33 -04:00
Rémi Verschelde
4f6eb3610f
Merge pull request #31805 from YeldhamDev/collision_object_unneeded_checks
...
Remove some unneeded checks in CollisionObject(2D)
2019-08-30 20:08:33 +02:00
Rémi Verschelde
9fc359411f
Merge pull request #31803 from KoBeWi/minicursor
...
Don't change cursor when minimap is disabled
2019-08-30 20:08:21 +02:00
Rémi Verschelde
bbaf35c4f5
Merge pull request #31797 from KoBeWi/release_the_lookup
...
Perform symbol lookup on button release
2019-08-30 20:07:53 +02:00
Michael Alexsander Silva Dias
c902066bb5
Remove some unneeded checks in CollisionObject(2D)
2019-08-30 14:22:46 -03:00
Tomasz Chabora
b0805a1b53
Don't change cursor when minimap is disabled
2019-08-30 19:13:53 +02:00
Rémi Verschelde
ba854bbc7b
Merge pull request #31796 from Chaosus/fix_icons
...
Fixed GraphEdit header icons to make them update when theme is changed
2019-08-30 16:38:38 +02:00
Tomasz Chabora
b55b3d71a8
Perform symbol lookup on button release
2019-08-30 16:19:25 +02:00
Rémi Verschelde
efbd2bbf18
Merge pull request #31792 from Calinou/spinbox-expression-ignore-prefix-suffix
...
Ignore the prefix and suffix in the SpinBox expression
2019-08-30 16:09:06 +02:00
Chaosus89
fde0579ed1
Fixed GraphEdit header icons to make them update when theme is changed
2019-08-30 17:00:25 +03:00
Rémi Verschelde
58e7cbccc0
Merge pull request #30927 from mahubu/console-multi-selection-cursor
...
Change cursor to multi-selection cursor when selecting text in RichTextLabel
2019-08-30 15:05:54 +02:00
Hugo Locurcio
68f0d21cc4
Ignore the prefix and suffix in the SpinBox expression
...
This fixes a regression caused by
86a31e9e38
.
2019-08-30 14:28:32 +02:00
Rémi Verschelde
ca652bbc47
Merge pull request #25353 from azagaya/master
...
Use also invisible tabs to calculate minimum size of tab container
2019-08-30 13:58:37 +02:00
azagaya
fa6f86b886
Make tab containers in editor, project settings, and export dialog, to use hidden tabs for min size computation.
2019-08-30 08:33:32 -03:00
Hugo Locurcio
86a31e9e38
Calculate the SpinBox value using the Expression class
...
This closes #31780 .
2019-08-29 23:50:56 +02:00
Michael Alexsander Silva Dias
9b09daa8c5
Add feature to Button to make its icon expand/shrink with the button's size
2019-08-29 11:25:00 -03:00
Rémi Verschelde
9762372329
Merge pull request #30635 from KoBeWi/billbo_3dns
...
Add a Billboard property for Sprite3D
2019-08-29 13:06:37 +02:00
Michael Alexsander Silva Dias
da5195fc92
Fix wrong offset in Button when alignment is set to left
2019-08-28 23:12:22 -03:00
Tomasz Chabora
b055ade1c3
Add a Billboard property for Sprite3D
2019-08-28 23:00:44 +02:00
Rémi Verschelde
ebf293d545
Merge pull request #31717 from Calinou/tweak-default-fog-depth-end
...
Tweak the default fog depth end to use a fixed value
2019-08-28 21:28:39 +02:00
Rémi Verschelde
185072015f
Merge pull request #31606 from toasteater/fix/nativescript-new-json-return-type
...
Fix the return type of NativeScript::new in API json
2019-08-28 09:15:40 +02:00
Hugo Locurcio
bc1b2b96e1
Tweak the default fog depth end to use a fixed value
...
The previous value (0) was a special case in the fog shader.
It made the shader use the Camera's `far` value as the fog depth end
value, which led to an inconsistency in the fog rendering between
the editor and a running project. This is because the editor camera
uses a `far` property of 500 by default, whereas the Camera node's
`far` property is set to 100 by default.
The new fixed value is equal to the default `far` property in Camera,
which leads to a consistent appearance between the editor and a running
project.
This closes #31686 .
2019-08-27 18:32:05 +02:00
Robin Hübner
4817595c0e
fix otherwise unitialized variables, found in #31694
2019-08-27 17:13:08 +02:00
Rémi Verschelde
9650531bc5
Merge pull request #31685 from merumelu/referencerect-with-advanced-gui-disabled
...
Register ReferenceRect when building with ADVANCED_GUI_DISABLED
2019-08-27 08:22:49 +02:00
Rémi Verschelde
2f63811c9a
Merge pull request #25656 from bruvzg/macos_multi_instances
...
[macOS] Add ability to open multiple editor instances and global/dock menu access
2019-08-26 22:04:37 +02:00
merumelu
32ae896eef
Register ReferenceRect when building with ADVANCED_GUI_DISABLED
2019-08-26 19:47:24 +02:00
Michael Alexsander Silva Dias
9c36d893e3
Fix Multiline texts not updating correcly inside arrays
2019-08-26 13:47:33 -03:00
toasteater
a919f5e614
Fix return type of Control::get_drag_data in API json
...
Control::get_drag_data is a virtual method that returns Variant, but have the
Object type in its MethodInfo.
This changes the MethodInfo of Control::get_drag_data
2019-08-26 16:38:16 +00:00
bruvzg
db6d4352ea
[macOS] Add methods to modify global and dock menus. Add ability to open multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
2019-08-26 16:45:49 +03:00
Milan Davidovic
c12ce2b4dd
Prevent move_and_slide() to generate an error.
...
When moving KinematicBody2D from one scene to another and not freeing
the old scene, the first call to move_and_slide() in the new scene will
generate an error because KinematicBody2D keeps internaly a
RID on_floor_body of a body resource in the old scene which no more has
a space assigned.
To fix this, on_floor_body is set to empty RID in response to
NOTIFICATION_ENTER_TREE notification of KinematicBody2D and
KinematicBody. Also all other data related to move_and_slide() is reset:
floor, ceiling, wall flags, colliders vector, floor_velocity.
This fixes #31416 .
2019-08-26 15:10:15 +02:00
Rémi Verschelde
0985d5fa99
Merge pull request #31496 from nekomatata/fix-text-edit-insert-selection
...
Update TextEdit selection when inserting line
2019-08-25 22:33:23 +02:00
Rémi Verschelde
41b5c62952
Merge pull request #31654 from Paulb23/minimap_fixes
...
Viewport highlight, colour cache and minimap scrolling fixes.
2019-08-25 22:32:05 +02:00
Paulb23
32d5427f55
Refactor TextEdit control height calculations
2019-08-25 14:49:13 +01:00
PouleyKetchoupp
bc839ed3f3
Update TextEdit selection & cursor when inserting line
...
Fixes #31458
2019-08-25 15:43:45 +02:00
Paulb23
c5b5c6b49b
Minimap scroll now acts similar to scrollbar
2019-08-25 14:43:11 +01:00
Rémi Verschelde
0d37f198f5
Merge pull request #31628 from merumelu/treeitem-icon-modulate
...
Tree: fix and expose icon modulation
2019-08-25 10:49:26 +02:00
Yuri Roubinski
4efa1b6906
Disallow undo/redo in readonly TextEdit's
2019-08-25 09:57:59 +03:00
merumelu
eac0af5892
Tree: fix and expose icon modulation
2019-08-24 17:37:22 +02:00
Paulb23
ec4d2b26ec
Fixed syntax highlighting cache not clearing final line
2019-08-24 15:21:45 +01:00
Paulb23
b75c2b6d76
Adjust viewport colour based on background colour
2019-08-24 14:33:55 +01:00
fjordyo
4c28053ead
Fix the edges of the mesh vertex
2019-08-24 10:27:22 +08:00
Hugo Locurcio
9eb10f1e4a
Add an editor_description
property to Node for documentation purposes
...
It is implemented using editor-only metadata, in a way similar to
edit locking or Position2D gizmo extents.
This closes #2082 .
2019-08-23 15:53:07 +02:00
Rémi Verschelde
791d7f78b5
Merge pull request #31593 from SaracenOne/project_theme_shutdown_fix
...
Fixes issue with project_default_theme not being cleaned up
2019-08-23 11:26:33 +02:00
Saracen
08ceef2e39
Fixes issue with project_default_theme not being dereferenced on cleanup.
2019-08-23 09:18:42 +01:00
Rémi Verschelde
98ccdc0889
Merge pull request #30398 from tomasantunes/master2
...
Increase color preset slots
2019-08-23 09:19:11 +02:00
Rémi Verschelde
bfed4b6a97
Merge pull request #31014 from DavidSichma/kinematic_angle
...
Fix floor_max_angle comparison for impossible angles
2019-08-23 09:10:38 +02:00
Rémi Verschelde
d5675c3996
Merge pull request #31575 from creikey/increase-anchor-precision
...
Increase control node's anchor precision
2019-08-23 08:22:33 +02:00
Paulb23
a5c1830a43
Fix minimap mouse click resolving to -1
2019-08-22 20:07:16 +01:00
Cameron Reikes
5deb83e041
Increase control node's anchor precision
2019-08-22 11:04:24 -07:00
Rémi Verschelde
bff0458bcc
Merge pull request #31386 from raphael10241024/fix_inertia
...
Fix custom inertia in physics2d
2019-08-22 15:41:35 +02:00
RaphaelHunter
74713fe970
Fix custom inertia in physics2d, closes#30838
2019-08-22 20:30:03 +08:00
Yuri Roubinski
725e5d15ff
Added "editable" property to VisualShaderGroupNode
2019-08-22 15:12:18 +03:00
Paulb23
0cea72273f
Add minimap to text_edit
2019-08-21 23:48:46 +01:00
Paulb23
895a15b321
Add syntax highlighting cache
2019-08-21 23:36:49 +01:00
Hugo Locurcio
e1b9004b0f
Rename FileDialog's folder icon custom color to folder_icon_modulate
...
The custom color introduced in be8d569744
had the same name as the "folder" icon, which could cause conflicts
in the generated documentation.
The new name is also more self-explanatory.
2019-08-21 18:43:01 +02:00
Rémi Verschelde
14c2f2fe28
Merge pull request #31450 from GodotExplorer/fix-31425
...
Fix filter quotes wraped insert completion options
2019-08-21 17:20:11 +02:00
geequlim
545b46ac2f
Fix filter quotes wraped insert completion options
2019-08-21 22:11:36 +08:00
Hugo Locurcio
a350fd4a57
Draw 3D collision shape/raycast gizmos in grayscale when disabled
...
This makes them easier to distinguish from their enabled counterparts,
as is already done in the 2D editor.
2019-08-21 15:32:51 +02:00
Yuri Roubinsky
093798c976
Fix preview for global expressions in visual shaders ( #31505 )
...
Fix preview for global expressions in visual shaders
2019-08-20 21:11:28 +03:00
Yuri Roubinski
1e3fb6d760
Fix preview for global expressions in visual shaders
2019-08-20 19:34:09 +03:00
Rémi Verschelde
a8db4c848d
Merge pull request #31395 from ptrojahn/floatsarenasty
...
Replace is_zero_approx(A.distance_to(B)) with A==B
2019-08-20 12:54:40 +02:00
Rémi Verschelde
e84d83ce78
Merge pull request #31492 from Calinou/file-dialog-color-folders
...
Use a different color for folder icons in file dialogs
2019-08-20 12:51:31 +02:00
Rémi Verschelde
5d8951764a
Merge pull request #31466 from Calinou/improve-2d-path-editors
...
Improve the appearance of 2D path editors
2019-08-20 12:45:47 +02:00
Hugo Locurcio
be8d569744
Use a different color for folder icons in file dialogs
...
This makes them easier to distinguish from files for quick
visual grepping.
This can also be used in projects by setting the FileDialog "folder"
color. The default value (`Color(1, 1, 1)`) has no visual impact,
for compatibility with existing projects.
2019-08-20 00:10:27 +02:00
Paul Trojahn
7c9c6df7e4
Replace is_zero_approx(A.distance_to(B)) with A==B
...
Related to #22988 (Fixes the holes in the shape of
the first comment)
2019-08-19 18:16:58 +02:00
Unknown
9d849c21cc
fix animation freeze when playing animation from another AnimationPlayer
...
Donated by IMVU, Inc.
Fixes #31410
When we create an animation player with an animation from which we will start another AnimationPlayer's animation at the moment when that animation is already active - it will be stopped. When starting an animation with play() func all the 'outside' animations for animation player were removed (`_stop_playing_caches` func). This pr prevents this behaviour for the case when play is called for animation that's still active. This way the behaviour is the same between "Animation Playback track" and other tracks (tested with value track)
2019-08-19 13:51:08 +02:00
Hugo Locurcio
558e93f069
Improve the appearance of 2D path editors
...
- Add new handle icons for path/polygon editors
- Add smooth path point icons and curve tangent icons
- Use a gray color for tangent lines in the Path2D and Path editors
- Use antialiasing for Path2D lines
2019-08-18 22:27:01 +02:00
Michael Alexsander Silva Dias
2fa32d69a5
Keep syntax highlighting on TextEdit in readonly mode
2019-08-18 14:00:12 -03:00
Rémi Verschelde
ef37f00525
Merge pull request #31453 from Chaosus/vs_code_preview
...
Added code preview to visual shader
2019-08-18 17:32:49 +02:00