Commit graph

4893 commits

Author SHA1 Message Date
Fabio Alessandrelli
c19871af6d Move CryptoCore to it's own folder.
Crypto classes will be placed in core/crypto.
2019-08-19 16:31:05 +02:00
Michael Alexsander Silva Dias
c19a66d72f Simplify structure of preview text in visual shader editor 2019-08-18 13:27:08 -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
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
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
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
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
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
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
Tomasz Chabora
8a0e6e23a7 Update Slider grabber position when using mouse wheel 2019-08-17 21:12:05 +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
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
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
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
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
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
Davide Busterna
7434966f10 Automatically select the first image of the assets page 2019-08-15 13:43:00 +02:00
Emmanuel Barroga
1f5dc0ea3b Fixes ProjectManager Buttons Not Updating
Fixes buttons in ProjectManager not updating to disabled after deleting projects.
2019-08-14 18:30:42 -07:00
Rémi Verschelde
d998daeaa7
Merge pull request #31375 from Calinou/add-auto-editor-font-hinting
Add an "Auto" editor font hinting setting to match OS font rendering
2019-08-15 02:54:29 +02:00
Michael Alexsander Silva Dias
22e9544582 Fix matches result in the code search not appearing when the quantity is 0 2019-08-14 20:43:26 -03:00
Hugo Locurcio
c940d29973
Add an "Auto" editor font hinting setting to match OS font rendering
The "Auto" setting picks the font hinting setting that best matches
the operating system's font rendering settings.
This font hinting setting is now the default.
2019-08-14 15:57:07 +02: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
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
Tomasz Chabora
bd9a0a3236 Fix Project Manager not remembering sorting option 2019-08-14 13:09:04 +02:00
Rémi Verschelde
1387c683d4
Merge pull request #31329 from KoBeWi/vscode_ftw
Tweak the behavior of search/replace bar
2019-08-14 11:42:18 +02:00
Rémi Verschelde
8995d95da0
Merge pull request #31347 from neikeq/monodevelop-addin
C#: Add Ide Connection library and server for the editor
2019-08-14 11:39:41 +02:00
Rémi Verschelde
6fedb2bf28
Merge pull request #31362 from Calinou/icons-use-lanczos-filtering
Use Lanczos filtering for variable-sized images such as project icons
2019-08-14 11:36:54 +02:00
Rémi Verschelde
5ff2688064
Merge pull request #31357 from YeldhamDev/theme_editor_fixup_fixup
Regression fixup to the theme editor
2019-08-14 00:57:13 +02:00
Hugo Locurcio
8f2bcfd909
Use Lanczos filtering for variable-sized images such as project icons
This results in better-looking icons with less artifacts
induced by downscaling.
2019-08-13 22:08:23 +02:00
Rémi Verschelde
fcec358840
Merge pull request #31355 from nekomatata/fix-select-prev-freeze
Fixed freeze on search previous
2019-08-13 20:47:45 +02:00
Michael Alexsander Silva Dias
b7c2bcff76 Regression fixup to the theme editor 2019-08-13 15:43:07 -03:00
PouleyKetchoupp
6a842fbb6d Fixed freeze on search_prev (missing condition for searching from a previous result, now the same as search_next)
Fixes #31328
2019-08-13 19:42:42 +02:00