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
909d611b33
Merge pull request #31456 from Calinou/travis-use-stages
...
Travis CI: Use a multi-stage build to run static checks first
2019-08-18 16:09:17 +02:00
Rémi Verschelde
2920c8fbaa
Merge pull request #31447 from Calinou/spatial-editor-use-shortcut-tooltips
...
Use shortcut tooltips in the spatial editor
2019-08-18 16:07:05 +02:00
Hugo Locurcio
1b7be55bac
Travis CI: Use a multi-stage build to run static checks first
...
This prevents Travis CI from performing full builds if static checks
have failed.
This also removes `sudo: false` as it is deprecated.
2019-08-18 15:08:21 +02:00
Rémi Verschelde
fb5e8b509b
Merge pull request #31448 from Calinou/improve-snap-object-to-floor
...
Improve "Snap Object to Floor" functionality
2019-08-18 11:07:12 +02:00
Rémi Verschelde
80c2f303ae
Merge pull request #31445 from KoBeWi/how_to_input
...
Clarify usage of action_press
2019-08-18 11:04:59 +02:00
Rémi Verschelde
d154e55f45
Merge pull request #31442 from KoBeWi/grounded_grabber
...
Update Slider grabber position when using mouse wheel
2019-08-18 11:03:28 +02:00
Rémi Verschelde
7f7e0f9dfc
Merge pull request #31439 from YeldhamDev/node_dock_minor_improvements
...
Minor improvements to the Node dock
2019-08-18 11:02:50 +02: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
Rémi Verschelde
343466c015
Merge pull request #31440 from akien-mga/diraccesspack-dir_exists
...
DirAccessPack: Fix dir_exists and file_exists for res:// paths
2019-08-18 10:52:55 +02:00
Yuri Roubinski
e3b43771aa
Added global expressions to visual shaders
2019-08-18 08:49:56 +03:00
Michael Alexsander Silva Dias
96a256557c
Minor improvements to the Node dock
2019-08-17 23:05:58 -03:00
Hugo Locurcio
78878fbc97
Improve "Snap Object to Floor" functionality
...
- Display an error message if no selected nodes could be snapped
- Only register an undo/redo action if at least one node
could be snapped
- Increase the maximum snapping height to 20
- Increase the negative snapping limit to 0.2
2019-08-18 01:50:25 +02:00
Aaron Franke
092346d82b
Add Vector2/3 sign and posmod functions, misc additions
...
Also make the docs more consistent, add Axis enum to Vector2, add > and >=. and C# also gets % and an override for vector-vector mod.
2019-08-17 18:31:55 -04:00
Hugo Locurcio
35ad0475c3
Use shortcut tooltips in the spatial editor
...
This makes the tooltips display the correct shortcuts in case
they are changed, as is done automatically by `set_shortcut()`.
Button shortcuts are now used to apply shortcut actions,
which makes for cleaner code.
2019-08-17 23:39:28 +02:00
Tomasz Chabora
b950867df8
Clarify usage of action_press
2019-08-17 23:20:06 +02:00
Rémi Verschelde
cc9f2a2d8b
Merge pull request #31401 from aaronfranke/no-init-scripts
...
Allow plugins to not have an init script
2019-08-17 22:09:17 +02:00
Hugo Locurcio
c0eee235c4
Define a minimum window size in the editor and project manager
...
This prevents most UI elements from overlapping or being cut off
as a result of the window being too small.
This closes #20669 .
2019-08-17 21:56:59 +02:00
Tomasz Chabora
8a0e6e23a7
Update Slider grabber position when using mouse wheel
2019-08-17 21:12:05 +02:00
Rémi Verschelde
ad8746e0de
DirAccessPack: Fix dir_exists and file_exists for res:// paths
...
Both methods check against containers using relative paths as index,
so the `res://` part needs to be stripped.
Fixes #26009 .
2019-08-17 19:03:28 +02:00
Rémi Verschelde
86371b7298
Merge pull request #31435 from godotengine/revert-31367-add_minmax_winsize_setting
...
Revert "Add Min/Max Window Size Setting"
2019-08-17 16:19:51 +02:00
Rémi Verschelde
0743a07447
Revert "Add Min/Max Window Size Setting"
2019-08-17 16:19:18 +02:00
Rémi Verschelde
f7e57df6a2
Merge pull request #31431 from akien-mga/err_explain
...
Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'
2019-08-17 14:44:47 +02: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
Holger Dammertz
8fb80788df
changed the constant scale of cube_normal to -1.0 instead of -1000000.0; this fixes a rendering issue on oculus quest and does not change the computation as the vector is normalized afterwards.
...
Adapted the comment above the code to reflect the change made as it already mentioned that z could be set to 1.
2019-08-17 14:01:55 +02:00
Hugo Locurcio
cef7ca4abb
Improve the project manager UI
...
This incorporates many suggestions from #31342 .
This also revises the search behavior to be simpler and more efficient:
- Searching will now search in both the project name and path. A project
will be displayed if either of these match the search term.
- If the search term contains a "/", the whole path will be used to match
the search term. Otherwise, only the last path component will be used.
2019-08-17 13:48:25 +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
Rémi Verschelde
de4aabe89b
Merge pull request #31244 from Unholydeath/BB_ChangeErrorMacros
...
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'
2019-08-17 13:31:08 +02:00
Braden Bodily
71d71d55b5
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'
...
Condensed some if and ERR statements. Added dots to end of error messages
Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?),
core/os/memory.cpp,
drivers/png/png_driver_common.cpp,
drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
2019-08-17 12:33:15 +02:00
Rémi Verschelde
40640a01dc
Merge pull request #31424 from Calinou/improve-animation-editor-timeline
...
Improve timeline drawing in the animation editor
2019-08-17 12:05:42 +02:00
Rémi Verschelde
fe8f73c939
Merge pull request #31422 from sparkart/attachscript_by_scripteditor
...
Adds Attaching Script via Script Editor
2019-08-17 11:55:48 +02:00
Rémi Verschelde
be42f1bf6c
Merge pull request #31399 from Calinou/box-selection-add-borders
...
Add an outline to box selection rectangles for better visibility
2019-08-17 11:26:05 +02:00
Rémi Verschelde
c7a7163dff
Merge pull request #31398 from KoBeWi/1000_ways_to_make_scene
...
Allow to create scene from FileSystem dock
2019-08-17 11:25:33 +02:00
Rémi Verschelde
9ab02761d7
Merge pull request #31396 from Calinou/low-processor-mode-editor-restart
...
Set the low processor mode sleep editor settings to require a restart
2019-08-17 11:23:27 +02:00
Rémi Verschelde
822a41a8c0
Merge pull request #31367 from sparkart/add_minmax_winsize_setting
...
Add Min/Max Window Size Setting
2019-08-17 11:21:56 +02:00
Hugo Locurcio
a341c65f65
Improve timeline drawing in the animation editor
...
A small arrow-like icon is now drawn at the top of the timeline.
The timeline is now also wider as to be more visible.
2019-08-17 00:20:21 +02:00
Rémi Verschelde
afecc0bc22
Merge pull request #31309 from raphael10241024/fix_dof
...
DOF can effect transparent objects now,
2019-08-16 23:20:22 +02:00
Emmanuel Barroga
c9445a0faa
Adds Attaching Script via Script Editor
...
Allows you to attach a script by dragging the name in the script list of the script editor to the node in the scene tree.
2019-08-16 12:22:18 -07:00
Aaron Franke
ceb61fb784
Allow plugins to not have an init script
2019-08-15 17:52:07 -04: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
Emmanuel Barroga
a7bf643a7b
Add Min/Max Window Size Setting
...
Add project settings to easily set the minimum and maximum window size.
2019-08-15 12:19:09 -07:00
Rémi Verschelde
de8ce3e625
Merge pull request #31392 from YeldhamDev/autocomplete_width_limit_fix
...
Fix autocompletion widget having its text leak outside
2019-08-15 20:51:11 +02:00
Michael Alexsander Silva Dias
f8a986c094
Fix autocompletion widget having its text leak outside
2019-08-15 14:52:37 -03:00
Tomasz Chabora
cedee8281b
Allow to create scene from FileSystem dock
2019-08-15 19:47:21 +02:00
Hugo Locurcio
bfce99bc98
Set the low processor mode sleep editor settings to require a restart
...
These settings are only read when the editor starts.
2019-08-15 19:14:14 +02:00
Rémi Verschelde
b24228e03b
Merge pull request #31391 from Calinou/improve-particles-emission-editor-errors
...
Improve error reporting in the Particles emission point creation dialog
2019-08-15 18:17:54 +02:00
Rémi Verschelde
983e348fe9
Merge pull request #31387 from Daw11/assets-image-autoselect
...
Automatically select the first image of the assets page
2019-08-15 18:16:55 +02:00
Rémi Verschelde
97dcdd1a6b
Merge pull request #31381 from sparkart/fix_projectmanager_buttons
...
Fixes ProjectManager Buttons Not Updating
2019-08-15 18:13:42 +02:00
Hugo Locurcio
63d45136dc
Improve error reporting in the Particles emission point creation dialog
...
- Display an error message if the selected node doesn't
extend from Spatial
- Display the selected node name in error messages to provide
additional context when relevant
- Clarify error messages
- Use the standard editor warning dialog
2019-08-15 16:01:39 +02:00