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
Rémi Verschelde
9cd58b6916
Merge pull request #31449 from Chaosus/vs_global_expression
...
Added global expressions to visual shaders
2019-08-18 17:31:39 +02:00
Yuri Roubinski
808e44df6d
Added code preview to visual shader
2019-08-18 17:28:19 +03:00
Rémi Verschelde
5c853a45e6
Merge pull request #31423 from Calinou/improve-node-signal-group-tooltip
...
Improve the scene tree signals/groups tooltip
2019-08-18 10:55:16 +02:00
Yuri Roubinski
e3b43771aa
Added global expressions to visual shaders
2019-08-18 08:49:56 +03:00
Hugo Locurcio
c62302a432
Improve the scene tree signals/groups tooltip
...
The tooltip now displays the number of connections and groups
that are assigned to the hovered node.
2019-08-17 14:20:16 +02:00
Rémi Verschelde
d3153c28f0
Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'
...
The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is
(conditionally defines the error message).
There are a few ERR_EXPLAINC calls for C-strings where String is not included
which can stay as is to avoid adding additional _MSGC macros just for that.
Part of #31244 .
2019-08-17 13:31:22 +02:00
Hugo Locurcio
108f9646f5
Add an outline to box selection rectangles for better visibility
...
This also refactors selection box color definitions
to avoid repetition.
2019-08-15 22:27:32 +02:00
Michael Alexsander Silva Dias
f8a986c094
Fix autocompletion widget having its text leak outside
2019-08-15 14:52:37 -03:00
Rémi Verschelde
188a10df8b
Merge pull request #31263 from Chaosus/vs_plugin
...
Plugin support for visual shaders
2019-08-14 15:52:21 +02:00
Yuri Roubinski
33e9fce1bb
Plugin support for visual shaders
2019-08-14 15:52:27 +03:00
Rémi Verschelde
5f44ee30ec
Merge pull request #31360 from nekomatata/fix-error-parallax-mirroring
...
Fixed error in ParallaxLayer when set_mirroring is called before entering the tree
2019-08-14 13:48:22 +02:00
Rémi Verschelde
6c607c3564
Merge pull request #31266 from IAmActuallyCthulhu/pr/remove-redundant-author-comments
...
Remove redundant author doc comments
2019-08-14 13:45:54 +02:00
PouleyKetchoupp
927a7916f6
Fixed error in ParallaxLayer when set_mirroring is called before entering the tree
...
Fixes #31300
2019-08-14 13:21:22 +02:00
Rémi Verschelde
1dae4c9e7f
Merge pull request #31267 from sparkart/fix_optionbutton_offset
...
Fix Offset with OptionButton Popup
2019-08-14 11:43:42 +02:00
Fabian
97167209cb
Exposed set_as_minsize to gdscript
2019-08-14 16:09:55 +09:30
Rémi Verschelde
f8574da2c2
Merge pull request #31338 from Calinou/reorganize-menus
...
Reorganize various menus for consistency and conciseness
2019-08-13 16:52:42 +02:00
Hugo Locurcio
9e1c23a353
Reorganize various menus for consistency and conciseness
...
- Clean up the recent scripts dialog to match the recent scenes dialog
- Add "..." at the end of shortcuts that cause a modal dialog to appear
This closes #31148 .
2019-08-13 11:52:10 +02:00
Emmanuel Barroga
26c5bac428
Fix Right-Click Menu Deselecting Edits Content
...
Right-clicking a property to open the context menu deselects the text field. This causes the context menu to be useless because it doesn't have anything to edit.
2019-08-12 03:39:27 -07:00
IAmActuallyCthulhu
82b9557803
Remove redundant author doc comments
2019-08-12 04:26:38 -05:00
Emmanuel Barroga
b97e198bdd
Fix Offset with OptionButton Popup
...
Fixes the offset issue with the OptionButton's popup.
2019-08-12 00:13:02 -07:00
Fabian Stiewitz
dcf65433f1
fix(Tree): get_meta condition
...
If an item in a Tree has never been selected, its metadata "__focus_rect"
is not set. If an unselected item is then edited (Tree::edit_selected()),
an error is thrown in console.
2019-08-11 16:55:01 +02:00
Rémi Verschelde
7bb2215ed0
Merge pull request #31213 from KoBeWi/explain_scenes
...
Replace ERR_EXPLAIN in scene/* code
2019-08-09 14:25:31 +02:00
Tomasz Chabora
af5e0fff66
Remove ERR_EXPLAIN from scene/* code
2019-08-09 13:54:52 +02:00
Emmanuel Barroga
2e1b58c793
Fix Exponential Range Graphical Error
...
Fixes the Exponential Range Slider having a graphical error with less than 1 values.
2019-08-09 01:47:20 -07:00
Rémi Verschelde
d2a67c9c1f
Merge pull request #30714 from Calinou/invert-default-fog-height
...
Invert and adjust the default fog height values
2019-08-08 17:20:32 +02:00
Rémi Verschelde
4d7439adaa
Merge pull request #31185 from mitchcurtis/get_path
...
Improve error message in Node::get_path()
2019-08-08 14:05:49 +02:00
Rémi Verschelde
f0ad034a1d
Merge pull request #31182 from mitchcurtis/remove_child
...
Improve error message in Node::remove_child()
2019-08-08 11:20:50 +02:00
Rémi Verschelde
5becb2e322
Merge pull request #31194 from bojidar-bg/29312-corrupt-initial-tilemap
...
Fix corrupted TileMap saves due to missing/wrong format
2019-08-08 11:20:06 +02:00
Mitch Curtis
ae4a382dd2
Improve error message in Node::remove_child()
2019-08-08 09:38:32 +02:00
Bojidar Marinov
141ee27dad
Fix corrupted TileMap saves due to missing/wrong format
...
Fixes #29312
2019-08-08 09:30:55 +03:00
Mitch Curtis
c332eab864
Improve error message in Node::get_path()
2019-08-07 21:16:54 +02:00
Hugo Locurcio
d1a35b5a97
Invert and adjust the default fog height values
...
This makes height fog appear at the bottom of the scene
(instead of the top), which is generally the expected result.
This also tweaks the fog height setting hint to be more flexible.
This closes #30709 .
2019-08-07 18:21:44 +02:00
Rémi Verschelde
05d58a4e6a
Merge pull request #31122 from Muller-Castro/enhancement
...
Unnecessary reassignments
2019-08-07 15:23:38 +02:00
Rémi Verschelde
ca05613aed
Merge pull request #31050 from sparkart/fix_tileset_shape_offset
...
Fix Wrong Shape Offsets in Tileset
2019-08-07 14:27:29 +02:00
Rémi Verschelde
ba541bceca
Merge pull request #31077 from qarmin/coverity_bugs
...
Change some code proposed by Coverity and Cppcheck
2019-08-07 13:49:33 +02:00
Rémi Verschelde
904e3100ac
Merge pull request #31127 from MuffinManKen/checkbox_implement_check_vadjust
...
Implemented check_vadjust in CheckBox & CheckButton. It was exposed to the editor, but not used.
2019-08-07 13:34:48 +02:00
Rémi Verschelde
efc0256483
Merge pull request #31163 from nekomatata/fix-state-machine-transition-priority
...
Fixed AnimationTreeStateMachine transition priority
2019-08-07 13:13:32 +02:00
Rémi Verschelde
362ff8caed
Merge pull request #27046 from KoBeWi/camera2d_brag_margins_stuff
...
Tweaks related to Camera2D drag margins
2019-08-07 13:13:12 +02:00
qarmin
e0b5b21863
Add some code changes/fixes proposed by Coverity and Clang Tidy
2019-08-07 12:54:30 +02:00
Yuri Roubinski
80080f2655
Allow comma prefix to visual shader's expression parser
2019-08-07 13:50:41 +03:00
Rémi Verschelde
765839b2ad
Merge pull request #31161 from merumelu/default-theme-checkbutton
...
Default theme: make toggle_off_disabled.png the same dimension as other CheckButton images
2019-08-07 08:28:41 +02:00
Rémi Verschelde
78e84c29e6
Merge pull request #31057 from Chaosus/vs_mix_improvements
...
Some improvements to Mix visual shader function
2019-08-07 08:22:08 +02:00
PouleyKetchoupp
aaad50e4d9
Fixed AnimationTreeStateMachine transition priority (last transition was always chosen instead of least cost)
...
Fixes #31132
2019-08-06 23:27:25 +02:00
Muller-Castro
ffacd0a148
Removed unnecessary reassigns
...
Those assignments are duplicated since add_to_group() or remove_from_group() aren't changing the state of those members.
2019-08-06 17:40:47 -03:00
merumelu
908f0eadba
Default theme: make toggle_off_disabled.png the same dimension as other CheckButton images
2019-08-06 22:12:58 +02:00
Ken Paulson
deec700497
Implemented check_vadjust in CheckBox & CheckButton. It was exposed to the editor, but wasn't used.
2019-08-06 13:27:07 -04:00
Tomasz Chabora
459f5cb75e
Tweaks related to Camera2D drag margins
2019-08-06 16:19:02 +02:00
Yuri Roubinski
d0dc195da8
Some improvements to Mix visual shader function
2019-08-06 08:06:49 +03:00
merumelu
dcd551bf78
Remove Editor dependency from SceneTree
2019-08-05 19:46:23 +02:00
Michael Alexsander Silva Dias
06a890f7a3
Update WindowDialog title when translation changes
2019-08-05 10:20:52 -03:00
Rémi Verschelde
2b983f9c74
Merge pull request #31075 from KoBeWi/right_for_acceptance
...
Accept also right-click event in LineEdit
2019-08-05 09:02:04 +02:00
Emmanuel Barroga
625b87633e
Fix Wrong Shape Offsets in Tileset
...
Closes #30994
When modifying the properties of a tileset in the editor, some properties only apply to the first tile (such as the shape offset).
This change resolves that issue by traversing the changes to all of the shapes in the tileset instead of the first one.
2019-08-04 12:05:23 -07:00
Tomasz Chabora
b65f6f7944
Accept also right-click event in LineEdit
2019-08-04 15:35:50 +02:00
Cameron Reikes
c123a8c4f5
Same method when redrawing as when theme changed
2019-08-01 19:50:14 -07:00
Rémi Verschelde
77e8947687
Merge pull request #30905 from clayjohn/set-cpuparticles2d-visible
...
Toggle CPUParticles2D visibility when redrawing
2019-08-01 18:13:28 +02:00
David Sichma
2fae8832c5
Fix floor_max_angle comparison for impossible angles
2019-08-01 12:54:19 +02:00
Rémi Verschelde
a967ece4c7
Merge pull request #31009 from Chaosus/vs_fix_outer_product
...
Fix outerProduct function in visual shaders
2019-08-01 08:48:44 +02:00
Chaosus
c34d75b678
Fix outerProduct function in visual shaders
2019-08-01 08:29:05 +03:00
Hugo Locurcio
0243dc53b8
Tweak Area and PhysicsBody damping setting hints for consistency
...
This partially addresses #19182 .
2019-07-31 13:57:13 +02:00
Rémi Verschelde
d66461e85a
Merge pull request #30972 from Chaosus/vs_copy_paste
...
Implement copy/paste in visual shaders
2019-07-31 11:56:01 +02:00
Chaosus
f704506807
Implement copy/paste in visual shaders
2019-07-31 12:43:29 +03:00
Emmanuel Barroga
7db96e22dd
Fix ProgressBar Wrong Value with Border
...
Closes : #30969
The FG rectangle of the progressbar is incorrect when dealing with a non-zero border. This issue stems from wrong order of operations when drawing the rectangle: int p = r * get_size().width - mp;
2019-07-30 21:47:11 -07:00
Tomás Antunes
606b56b5fb
Increase color preset slots
2019-07-30 12:03:00 +01:00
Rémi Verschelde
961b9b30e3
Merge pull request #30932 from Dragoncraft89/master
...
Translate TabContainer titles, when inherited from node name
2019-07-29 22:41:07 +02:00
Florian Kothmeier
65101c9a20
Translate TabContainer titles, when inherited from node name
2019-07-29 19:07:56 +02:00
NilsIrl
abceb74b49
Remove useless variable and line in OptionButton
2019-07-29 17:41:28 +02:00
NilsIrl
dfecd62235
Change if to switch in OptionButton
2019-07-29 16:47:47 +02:00
Teto
b1dbd114c4
Change cursor to multi-selection cursor when selecting text in RichTextLabel.
...
Fix for #27545 : returns 'CURSOR_IBEAM' shape when selection is clicked.
2019-07-29 16:22:54 +02:00
PouleyKetchoupp
c6b82f108a
Update transforms after timers update to make sure changes are made before render
...
Fixes #29952
2019-07-29 12:44:16 +02:00
clayjohn
cb4d145c22
toggle CPUParticles2D visibility when redrawing
2019-07-28 18:31:52 -07:00
groud
11cb4eb363
Add frame_cords accessors to Sprite and Sprite3D
2019-07-27 13:05:02 +02:00
Rémi Verschelde
f494d5f10b
Revert "Update Control margins when size is overridden by change to minsize"
2019-07-27 12:55:03 +02:00
Michael Alexsander Silva Dias
e8fc875619
Small adjustments to tooltips in '(Editor)FileDialog'
2019-07-26 11:11:09 -03:00
Michael Alexsander Silva Dias
4ff360b73b
Fix wrong placement of new line in 'PhysicsBody' warning
2019-07-25 11:53:54 -03:00
Rémi Verschelde
4c74f50d1a
Merge pull request #30351 from bojidar-bg/30288-override-global-theme
...
Keep track of default theme and project custom default theme seperatelly
2019-07-25 14:54:27 +02:00
Rémi Verschelde
27d1e63dd4
Merge pull request #30807 from akien-mga/da-get_next-hidden
...
DirAccess: Drop compat get_next(bool *is_dir) which was hidden
2019-07-25 14:51:01 +02:00
Rémi Verschelde
ffc8fb9c48
Merge pull request #30685 from jonri/vehicle-per-wheel-forces
...
Vehicle per-wheel forces
2019-07-25 11:45:22 +02:00
Rémi Verschelde
e9bff84ce3
Merge pull request #23820 from clayjohn/pointmesh
...
Added PointMesh primitive
2019-07-25 11:44:11 +02:00
Rémi Verschelde
43238bb59a
DirAccess: Drop compat get_next(bool *is_dir) which was hidden
...
Fixes this warning:
```
./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual]
```
Part of #30790 .
2019-07-25 11:09:57 +02:00
Rémi Verschelde
1481d299ea
Merge pull request #30776 from akien-mga/editor-configurable-float-step
...
Inspector: Make default float step configurable
2019-07-25 10:33:45 +02:00
Rémi Verschelde
336846e547
Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGE
...
This was a regression in 3.1 and later from the new inspector, where
PROPERTY_HINT_SPRITE_FRAME was not fully re-implemented. It's meant to
be a normal PROPERTY_HINT_RANGE which also automatically increments its
value when keyed in the animation player.
To avoid code duplication, I made the frames properties use the actual
PROPERTY_HINT_RANGE and introduced a PROPERTY_USAGE_KEYING_INCREMENTS
usage flag instead.
2019-07-25 09:29:51 +02:00
clayjohn
ff7c37927a
added pointMesh primitive
2019-07-24 12:14:31 -07:00
Rémi Verschelde
d844e30614
Inspector: Make default float step configurable
...
Also allow lifting the decimal step formatting with a hint range step
of 0. A new `range_step_decimals()` is added for this to avoid breaking
compatibility on the general purpose `step_decimals()` (which still
returns 0 for an input step of 0).
Supersedes #25470 .
Partial fix for #18251 .
2019-07-23 17:31:38 +02:00
Rémi Verschelde
4c943cca2c
Merge pull request #30716 from qarmin/fixed_static_analiser_code
...
Fix some code found by Coverity Scan and PVS Studio
2019-07-23 15:08:44 +02:00
qarmin
aab8da25ad
Fix some code found by Coverity Scan and PVS Studio
2019-07-23 09:14:31 +02:00
Rémi Verschelde
d8d85762c4
Merge pull request #30753 from Calinou/make-header-run-from-any-location
...
Make `make_header.py` functional when run from any location
2019-07-22 21:37:25 +02:00
Rémi Verschelde
66d09a6b4c
SCons: Fix uses of [].append instead of env.add_source_files()
...
Also added support for SCons project-absolute paths (starting with #) and
warning about duplicates in add_source_files(), and fixed
default_controller_mappings.gen.cpp being included twice after first build
due to *.cpp globbing.
Part of #30270 .
2019-07-22 15:08:32 +02:00
Hugo Locurcio
31eb116d49
Make make_header.py
functional when run from any location
...
This removes the need to `cd` to `scene/resources/default_theme/`
to get the expected result.
2019-07-22 14:02:33 +02:00
Rémi Verschelde
a1b4568ba9
Revert "Tweak SpatialMaterial's default metallic and roughness texture channels"
2019-07-22 11:56:41 +02:00
Rémi Verschelde
9d6b6dbd2f
Merge pull request #30234 from zwostein/fix-AudioStreamPlayer3D
...
Fixed multichannel panning for AudioStreamPlayer3D.
2019-07-20 12:42:34 +02:00
Rémi Verschelde
d15cf7b672
Merge pull request #30576 from qarmin/lgtm_coverage
...
Changed some code reported by LGTM and Coverity
2019-07-20 12:00:13 +02:00
qarmin
6cbaf7662f
Changed some code showed in LGTM and Coverage
2019-07-20 08:09:57 +02:00
Rémi Verschelde
9384b6ab0e
i18n: Sync translation template with current source
...
Fix a few typos in new strings.
2019-07-19 16:08:40 +02:00
Rémi Verschelde
21a2cd1a04
Merge pull request #23270 from silvanocerza/remote_scene_tree_filter
...
Implemented remote scene tree filtering
2019-07-19 15:38:07 +02:00
Rémi Verschelde
b79303d39a
Merge pull request #30683 from bojidar-bg/30671-triplanar-binormal
...
Fix binormal sign when using triplanar mapping
2019-07-19 11:22:59 +02:00
Jon Ring
18103f2b89
Add per-wheel throttle, brake, and steering for vehicles
2019-07-18 14:16:28 -04:00
Bojidar Marinov
bdffdd7e38
Fix binormal sign when using triplanar mapping
...
Fixes #30671
2019-07-18 19:31:45 +03:00
Hugo Locurcio
ce8a54b634
Lower the default directional shadow maximum distance to 100
...
With the default camera node settings, this makes directional shadows
look consistent between the editor and the running project.
The original issue occurs because the editor camera defaults to a
Z-far value of 500, whereas the Camera node defaults to a Z-far
value of 100. Since the directional shadow maximum distance is clamped
to the Z-far value, it caused the running project's effective shadow
distance to be lower compared to the editor (100 instead of 200).
This partially addresses #13575 .
2019-07-17 20:01:40 +02:00
Bojidar Marinov
ea949ab873
Fix invalid write in AudioStreamSample::save_to_wav
...
Fixes #29955
2019-07-16 20:58:00 +03:00
Rémi Verschelde
df62bfdd49
Merge pull request #30548 from Calinou/tweak-audio-cutoff-property-hints
...
Tweak audio cutoff property hints to allow reasonable values only
2019-07-16 08:54:25 +02:00
Michael Alexsander Silva Dias
d91346f720
Fix incorrect caret position when clicking a 'LineEdit' with a non-left alignment
2019-07-15 19:32:41 -03:00
Rémi Verschelde
7d413f075c
Merge pull request #30590 from clayjohn/particle_life
...
Added individual particle random lifetime
2019-07-15 20:40:57 +02:00
Rémi Verschelde
7d4c3035ad
Merge pull request #30549 from Calinou/improve-2d-raycast-oneway-drawing
...
Improve 2D RayCast and one-way collision drawing
2019-07-15 11:21:19 +02:00
clayjohn
5ef3374258
added individual particle random lifetime
2019-07-14 23:22:40 -07:00
Rémi Verschelde
71cd4fa40d
Merge pull request #30510 from sparkart/master
...
Fix GraphNode immediately losing focus
2019-07-15 08:02:14 +02:00
Rémi Verschelde
23f5154de7
Merge pull request #30532 from Chaosus/vs_triplanar
...
Added triplanar uniform texture node to visual shaders
2019-07-15 07:56:06 +02:00
Emmanuel Barroga
381faf83c3
Fix GraphNode immediately losing focus
...
Closes : #30243
GraphNode immediately loses focus, and gives focus to its parent.
This fix changes implementation so that it does not transfer focus to its parent after receiving focus. Instead, it will transfer focus when the "close button" is pressed.
2019-07-13 17:25:20 -07:00
Hugo Locurcio
350227013d
Improve 2D RayCast and one-way collision drawing
...
- Make RayCast2D gray when it's disabled
- Make the one-way collision arrow use the inverted shape debugging
color (will result in an orange color by default)
- This makes it easier to distinguish it from RayCast2D arrows
- Make lines slightly thinner
- Make the RayCast2D arrow tip larger
- Use anti-aliasing for the RayCast2D and one-way collision lines
2019-07-12 23:50:38 +02:00
Hugo Locurcio
9387114ce1
Tweak audio cutoff property hints to allow reasonable values only
...
This also makes all cutoff property hints consistent.
This closes #29588 .
2019-07-12 22:44:17 +02:00
Rémi Verschelde
584ca0f156
Merge pull request #30466 from Chaosus/vs_boolean_funcs
...
Added "Is" and "Compare" functions to visual shaders
2019-07-12 13:20:44 +02:00
Chaosus
9d6e1e3109
Added "Is" and "Compare" functions to visual shaders
2019-07-12 13:43:37 +03:00
Chaosus
0727caadd1
Added triplanar uniform texture node to visual shaders
2019-07-12 12:14:34 +03:00
Rémi Verschelde
7a643acb1f
Merge pull request #30517 from kawa-yoiko/modal-freeze
...
Fix multiple popup freezing
2019-07-12 10:18:02 +02:00
Rémi Verschelde
111154a4a5
Merge pull request #30498 from bojidar-bg/30495-cannot-insert-key
...
Fix inability to insert keys via Insert Key context menu
2019-07-11 19:36:33 +02:00
Shiqing
c16e764bb2
Fix #29478 multiple modals possibly freeze
2019-07-11 17:40:42 +08:00
Hugo Locurcio
696a8fb657
Notify changes in properties that can be edited by 3D gizmos
...
This makes the Inspector always display an up-to-date value
after editing properties using 3D gizmos.
2019-07-10 20:07:48 +02:00
Bojidar Marinov
8ecbb6a20d
Fix inability to insert keys via Insert Key context menu
...
Fixes #30495
2019-07-10 21:03:04 +03:00
Rémi Verschelde
34d7484039
Merge pull request #30455 from qarmin/const_reference
...
Pass by reference to const
2019-07-10 15:43:15 +02:00
Rémi Verschelde
9496e29326
Merge pull request #30451 from raphael10241024/fix_outline
...
Fix DynamicFont outline does not draw using draw_char
2019-07-10 13:38:20 +02:00
Rémi Verschelde
670e88c749
Merge pull request #30462 from sparkart/master
...
Fix issue with displaying empty tooltip hint
2019-07-10 13:33:30 +02:00
qarmin
01cc7a996b
Use reference to constant in functions
2019-07-10 11:54:12 +02:00
Shiqing
94d542042e
Fix incorrect X position of line length guideline
2019-07-10 17:29:43 +08:00
Rémi Verschelde
b489e75716
Merge pull request #30304 from DavidSichma/remote_cache
...
Exposed update_cache() of RemoteTransform and RemoteTransform2D
2019-07-09 22:08:59 +02:00
Hugo Locurcio
2491c87f86
Add width
and antialiased
parameters to CanvasItem draw_rect()
...
This also removes some duplicated editor code which is now obsoleted
by the new parameters in `draw_rect()`.
2019-07-09 20:30:18 +02:00
Emmanuel Barroga
1eb9abd4c5
Fix issue with displaying empty tooltip hint
...
Closes #30448
2019-07-09 07:01:38 -07:00
Fabio Alessandrelli
7f80c1dca8
Merge pull request #30315 from zaksnet/httprequest-add-timeout
...
Add optional timeout to HTTPRequest
2019-07-09 14:50:12 +02:00
David Sichma
5a631bf4f4
Added force_update_cache() to RemoteTransform and RemoteTransform2D
2019-07-09 14:50:03 +02:00
Zak
5fe5c4e8f1
Adds timeout property for httprequest
2019-07-09 12:30:22 +03:00