Commit graph

5238 commits

Author SHA1 Message Date
Rémi Verschelde 076dc9803a
Merge pull request #32119 from Calinou/unify-axis-colors
Use the same axis colors consistently in the 2D and 3D editors
2019-09-25 13:03:47 +02:00
Rémi Verschelde dec10dd776
Merge pull request #32051 from qarmin/some_error_explanation
Added some obvious errors explanations
2019-09-25 11:51:54 +02:00
Rémi Verschelde 4112d6c1b4 Show C++ error condition in script editor debugger
This was removed by @RyanStein in #21884 in the case where an error
message is provided, but this is actually useful information to have
even when there is a custom error message.

This PR makes it so that the "C++ Error" is shown whenever there is
a custom error message provided.

Also adds method name to the error item title, and re-adds the most
relevant info in the tooltip for quick error checks without expanding.

Renames C Error/Source to C++ Error/Source, since that's what it is.
And fix untranslatable entry due to misuse of TTR().

And some more cleanup for readability.

Cf. https://github.com/godotengine/godot/issues/32276#issuecomment-534119914
2019-09-25 10:49:44 +02:00
Saracen fcef45006e SpatialEditorGizmo add_mesh bindings fix 2019-09-25 09:30:25 +01:00
qarmin 17732fe698 Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
Rémi Verschelde de03ee94cc
Merge pull request #32296 from BenjaminRiley/save-original-scene-after-save-as-branch
'Save Branch as Scene' also saves original scene
2019-09-25 10:07:39 +02:00
Benjamin Riley 2115bced93 'Save Branch as Scene' adds to undo history
When saving a branch as a scene, can now undo replacing the original branch with the new branch scene. 'Save Branch as Scene' previously would not mark the original scene as changed, and therefore no prompt would appear if the scene was closed immediately after saving the branch.

The new branch scene is not deleted when undo-ing.
2019-09-25 17:08:08 +10:00
Rémi Verschelde 8c0595b722
Merge pull request #32306 from hbina/unused_variable
Fixed incorrect usage of variables in querying values.
2019-09-25 08:49:31 +02:00
Rémi Verschelde 5a4e1045a6
Merge pull request #32319 from Calinou/optimize-svgs
Optimize editor icon SVGs using svgcleaner
2019-09-25 08:46:04 +02:00
Rémi Verschelde 0437044b9c
Merge pull request #32318 from Calinou/improve-audiostreamplayer3d-gizmo
Improve the AudioStreamPlayer3D gizmo
2019-09-25 08:43:56 +02:00
Marios Staikopoulos 4631b0ca62 glTF: Fixed mistake with root node calculation in skin_verify
Was not actually grabbing the computed roots for comparison, but instead
was grabbing the disjoint_set representatives.
2019-09-24 21:49:25 -07:00
Hugo Locurcio 790391bc93
Optimize editor icon SVGs using svgcleaner
This makes editor binaries about 230 KB smaller.

The command used was:

    parallel svgcleaner --multipass {} {} ::: editor/icons/*.svg
2019-09-24 22:49:30 +02:00
Hanif Bin Ariffin d1e069ea23 Fixed incorrect use of variables
The previous committer mistakenly used the wrong variable to query some values.
This commit simply changes it so that it queries the right Dict.
2019-09-24 16:45:34 -04:00
Hugo Locurcio 0feff49375
Improve the AudioStreamPlayer3D gizmo
This adds more lines to the emission angle cone to give a better
feel of depth in the 3D world.
2019-09-24 22:41:02 +02:00
Rémi Verschelde e95e847c01
Merge pull request #32307 from neikeq/mesege
Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
2019-09-24 15:44:37 +02:00
Ignacio Etcheverry 97143e60c1 Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
The type of the parameter 'skeleton' was changed from 'RID' to 'SkinReference', yet the default value remained 'RID()'.
2019-09-24 15:12:27 +02:00
Rémi Verschelde a7ac8ec876 doc: Fix parsing of self-closing XML tags
Follow-up to #31925, `<member />` tags just before `</members>` would cause
a parsing issue, and we'd never notice that we're no longer parsing members.

Also added space before closing `/>`.
2019-09-24 13:34:05 +02:00
Rémi Verschelde 2f52d73c21
Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docs
Add overriden properties to the documentation
2019-09-24 11:53:43 +02:00
Rémi Verschelde 4f294b958f doc: Sync classref with current source
Fix a few missing bindings or unspecified argument names and default values.
2019-09-24 11:52:06 +02:00
Rémi Verschelde cf540f853d
Merge pull request #31974 from YeldhamDev/tilegrid_map_fixes
Small fixes for the Tile/GridMap editors
2019-09-24 11:06:34 +02:00
Rémi Verschelde 4a7889578c
Merge pull request #31978 from YeldhamDev/inspector_dock_small_improvements
Small improvements to the inspector dock
2019-09-24 11:05:20 +02:00
Rémi Verschelde a7b95d1934
Merge pull request #32267 from YeldhamDev/fix_tab_icons
Fix various problems with tab-related icons
2019-09-24 10:45:40 +02:00
Rémi Verschelde 73c7b9a69e
Merge pull request #32283 from Calinou/project-manager-no-open-ctrl-double-click
Don't open a project in the list if Ctrl is held while double-clicking
2019-09-24 10:38:58 +02:00
Rémi Verschelde 5d4e9bdd9e
Merge pull request #32288 from CorattiS86/fixing_#32263
Fix Hide Console Window stores opposite value
2019-09-24 10:28:17 +02:00
Rémi Verschelde fd3c825034
Merge pull request #31970 from HaSa1002/i18n
Fixed out of range crash on remapping files for translation
2019-09-24 10:07:20 +02:00
Rémi Verschelde db47221b8c
Merge pull request #32225 from Calinou/improve-editor-help-display
Improve the editor help display
2019-09-24 09:52:21 +02:00
Rémi Verschelde 78a7db7b6b
Merge pull request #32224 from KoBeWi/not_so_smart_lines
Initialize snap_target and make sure it disappears
2019-09-24 09:51:25 +02:00
Rémi Verschelde 08961912db
Merge pull request #32029 from nekomatata/bezier-track-fixes
Fixes in AnimationTrackEditor around bezier curves
2019-09-23 22:09:40 +02:00
Stefano Coratti c46d172533 Fix #32263 - Hide Console Window stores opposite value 2019-09-23 22:06:34 +02:00
Rémi Verschelde b8e56c5c15
Merge pull request #32021 from Calinou/editor-audio-bus-snapping
Implement snapping in the audio bus editor
2019-09-23 18:51:26 +02:00
Rémi Verschelde 75ed4b159a
Merge pull request #32277 from Calinou/override-for-add-feature-tags
Add some missing feature tags to the "Override For..." menu
2019-09-23 17:55:43 +02:00
Hugo Locurcio 76dd021a30
Don't open a project in the list if Ctrl is held while double-clicking 2019-09-23 17:25:37 +02:00
Rémi Verschelde a226d63f68
Merge pull request #31975 from codecustard/fixes_subresource_showing_deselection
Fixes Subresource Showing While Unselected
2019-09-23 16:00:45 +02:00
Hugo Locurcio 364dfa8d28
Add some missing feature tags to the "Override For..." menu
This closes https://github.com/godotengine/godot-docs/issues/2782.
2019-09-23 15:13:50 +02:00
Rémi Verschelde 159470df08
Merge pull request #32275 from godotengine/skin_support
Added skin support and simplified APIs to override bone position + glTF 2.0 import fixes
2019-09-23 15:02:15 +02:00
Rémi Verschelde 06b07eebb5
Merge pull request #32238 from Paulb23/reset_array_dict_crash
Fix crash when reverting an exported array / dict to NULL
2019-09-23 15:01:08 +02:00
Rémi Verschelde 915b27b0ab
Merge pull request #32266 from Calinou/project-manager-autofocus-search
Focus the project manager's search box automatically on startup
2019-09-23 14:59:57 +02:00
Rémi Verschelde 965e059146
Merge pull request #32258 from Calinou/improve-debugger-shortcut-ux
Improve the debugger shortcut UX
2019-09-23 14:59:44 +02:00
PouleyKetchoupp 87bb1515af Fixes in AnimationTrackEditor around bezier curves
- Undo add bezier track (#31695)
- Undo insert keys for several properties
- Insert keys for several properties using bezier curves (#31698)
- Insert keys for 2d rotation using bezier curve (#28429)
- Insert keys for existing bezier track (#31697)
- Auto-insert keys for bezier track (#31696)
- Number of tracks in insert keys confirmation message
2019-09-23 10:36:02 +02:00
Rémi Verschelde fb12f54721
Merge pull request #32074 from KoBeWi/ninja_reload
Preserve folding when sub-scene is changed
2019-09-23 10:32:02 +02:00
Rémi Verschelde 393a0152ea
Merge pull request #32055 from qarmin/some_code_fixes
Changed some code found by Clang Tidy and Coverity
2019-09-23 10:00:31 +02:00
Rémi Verschelde a0ef113d05
Merge pull request #32036 from Calinou/improve-soft-body-editor-icon
Improve the SoftBody node editor icon
2019-09-23 09:48:55 +02:00
Rémi Verschelde 80a3a78ee9
Merge pull request #32043 from guilhermefelipecgs/fuzzy_help_search
Adds fuzzy search for help search dialog
2019-09-23 09:46:15 +02:00
Rémi Verschelde 16bedc7ede
Merge pull request #32040 from Calinou/editor-help-shift-find-previous
Find the previous match in the editor help when pressing Shift + Enter
2019-09-23 09:44:06 +02:00
Rémi Verschelde b671b6ad2b
Merge pull request #32035 from YeldhamDev/new_icons
Add some missing icons
2019-09-23 09:37:57 +02:00
Rémi Verschelde 5ffae0d299
Merge pull request #32020 from Calinou/editor-audio-bus-display-tooltip
Display audio buses' current volume in a tooltip when hovering slider
2019-09-23 09:02:45 +02:00
Rémi Verschelde 2de90bff9c
Merge pull request #32011 from Calinou/editor-easing-property-drag
Make editor inspector easing lines use the accent color when dragged
2019-09-23 08:50:07 +02:00
Rémi Verschelde c593fbed3d
Merge pull request #32010 from puthre/fix_undo_animation_bezier
Animation Bezier Editor : fix double inserts on undo
2019-09-23 08:48:10 +02:00
Rémi Verschelde 242e6cb904
Merge pull request #32000 from codecustard/Add_Reorder_frames_via_dragndrop
Add ability to reorder animation frames via drag and drop
2019-09-23 08:44:22 +02:00
Rémi Verschelde 2a2f40c45b
Merge pull request #32007 from nekomatata/sprite-frames-editor-delete
SpriteFramesEditor improvements around deleting animations
2019-09-23 08:43:56 +02:00
Rémi Verschelde a089057596
Merge pull request #32049 from codecustard/fix_remoteview_navto_inspected
Fix Remote Tree Navigate to Inspected
2019-09-23 08:13:34 +02:00
Rémi Verschelde 0490fc9ce3
Merge pull request #31061 from Abstract-Everything/input-actions-reorder-ui
Input actions can be reordered by drag and drop.
2019-09-23 08:10:17 +02:00
Michael Alexsander Silva Dias 94ad89a5fb Fix various problems with tab-related icons 2019-09-22 23:08:14 -03:00
Hugo Locurcio 61299dc451
Focus the project manager's search box automatically on startup
This allows the user to search projects as soon as the project manager
opens, without having to click on the search field first.
2019-09-23 02:50:50 +02:00
Marios Staikopoulos 77e223ff94 GLTF: Fixed some issues with skin groups joining incorrectly and removed unused code
- Skin groups now merge more cleanly together
- Skins whose highest nodes are siblings of another skin now get merged also
- Skin nodes who have children of another skin now also fuse together
- Removed the re-rooting of IBM code, as it is no longer needed with the Skin system
2019-09-22 17:45:36 -07:00
Rémi Verschelde 0928e82027
Merge pull request #29895 from ptrojahn/menukey
Support menu key in TextEdit and LineEdit controls
2019-09-22 21:21:13 +02:00
Rémi Verschelde f65c61434b
Merge pull request #32247 from KoBeWi/the_new_order
Perform reparent if position changes
2019-09-22 21:19:58 +02:00
Hugo Locurcio 471a3ceb77
Improve the debugger shortcut UX
- Display the shortcut in the button tooltips by defining the shortcut
  on the buttons as well.
- Swap "Step Over" and "Step Into" in the Debug menu to match the button
  order in the Debugger bottom panel.
2019-09-22 19:19:53 +02:00
qarmin 50be65bf43 Changed some code found by Clang Tidy and Coverity 2019-09-22 18:45:08 +02:00
Tomasz Chabora 48ca6ec657 Perform reparent if position changes 2019-09-22 12:44:59 +02:00
Paul Trojahn ba24bc1e04 Support menu key in TextEdit and LineEdit controls
Related to #15542
2019-09-22 12:06:24 +02:00
Marios Staikopoulos 72d2468d68 More GLTF Fixes
1: Depth draw mode set for transparent materials (iFire)
2: Skeletons
  - Bone names now unique and seperate from scene names
  - Due to mixture of fake joints and joints, new bone sanitizing for names added
  - Fixed an issue where some disjoint skins were not being joined due to a logic error
  - Deterministic and Depth-first bone creation order
3: Skins
  - Removed duplicate skins when possible
4: Animations
  - Fixed invalid morph target names
2019-09-21 21:45:38 -07:00
Marios Staikopoulos 6fc5647bc3 GLTF Importer - Add more Index types and const-ed up the code 2019-09-21 15:21:02 -07:00
Paulb23 c3d712f414 Fix crash when reverting an exported array / dict to NULL 2019-09-21 16:36:30 +01:00
Hugo Locurcio ba8601f557
Improve the network profiler UI
- Add icons to the up/down bandwidth LineEdits for better
  visual grepping.
- Make bandwidth LineEdit texts more prominent when data is being
  received/emitted.
- Add more spacing between the up and down bandwidth LineEdits.
- Initialize the bandwidth texts using `set_bandwidth()` to ensure
  consistency with the actual bandwidth texts once the profiler
  is started.
- Fix icon colors when switching from a dark theme to a light theme
  and vice versa.
- Add missing `EDSCALE` constants for hiDPI scaling.
2019-09-21 15:29:03 +02:00
Marios Staikopoulos 11e09e59d1 GLTF2 Import Fixes - Skin(s) to Skeleton - Skin Support 2019-09-20 23:08:58 -07:00
Rémi Verschelde b6bcc143ad
Merge pull request #32079 from lupoDharkael/locale-crash
Fix right click crash in Locales Filter
2019-09-20 23:17:47 +02:00
Rémi Verschelde 769a9c521a
Merge pull request #32094 from Calinou/improve-delete-node-confirmation-2
Improve the node deletion confirmation message
2019-09-20 23:17:29 +02:00
Rémi Verschelde d249bb37e5
Merge pull request #32112 from Calinou/project-manager-add-hover-style
Add an "hover" style to items in the project manager
2019-09-20 23:15:40 +02:00
Rémi Verschelde f7cd50e900
Merge pull request #32206 from Calinou/remove-unused-tree-constants
Remove an unused icon and constant in Tree
2019-09-20 23:14:50 +02:00
Hugo Locurcio 5b3805b8e5
Improve the editor help display
- Write the type after the parameter name for consistency with
  the GDScript static typing syntax.
- Remove ":" after headers since they're already distinguished
  by their size.
- Remove spaces before/aftere parentheses in method/signal
  argument lists.
2019-09-20 22:41:31 +02:00
Tomasz Chabora 5476250356 Initialize snap_target and make sure it disappears 2019-09-20 22:26:26 +02:00
Rémi Verschelde 25a1bfed5c
Merge pull request #32210 from Calinou/editor-log-distinguish-messages
Distinguish editor-originating messages in the editor log
2019-09-20 20:22:43 +02:00
Rémi Verschelde ae3c685042
Merge pull request #32137 from Calinou/vcs-error-if-none-available
Display an error message if no version control systems are available
2019-09-20 20:20:34 +02:00
Hugo Locurcio 40a5de97e6
Remove an unused icon and constant in Tree 2019-09-20 17:50:13 +02:00
Rémi Verschelde 54eb4bce5f
Merge pull request #32123 from qarmin/fix_int_overflow
Fix int overflow in EditorResourcePreview::_preview_ready
2019-09-20 17:36:07 +02:00
Rémi Verschelde 9137a045ac
Merge pull request #32146 from YeldhamDev/key_bezier_int_real
Fix keying integer and float values from inspector not being able to use bezier curves
2019-09-20 17:35:03 +02:00
Rémi Verschelde 65286c6b46
Merge pull request #32143 from YeldhamDev/scenedock_reparent_fixes
Fix some errors while reparenting nodes in the Scene dock
2019-09-20 17:33:57 +02:00
Rémi Verschelde 712a82a6f6
Merge pull request #32134 from IronicallySerious/fix-global-class-list
Add correct class selection in Select VCS menu
2019-09-20 17:28:39 +02:00
Rémi Verschelde 77ec3ec0a3
Merge pull request #32129 from YeldhamDev/fix_track_removal_errors
Fix errors in the animation editor when removing tracks via undo/redo
2019-09-20 17:28:15 +02:00
Rémi Verschelde d21b73779f
Merge pull request #32180 from KoBeWi/nein_patsch_rekt
Fix region editor for NinePatchRect
2019-09-20 17:26:52 +02:00
Rémi Verschelde d364e88c2a
Merge pull request #32209 from YeldhamDev/fix_connection_type_hints
Fix incorrect typing when creating methods via the connection dialog
2019-09-20 17:10:33 +02:00
Rémi Verschelde a80407fe31
Merge pull request #32173 from Calinou/improve-3d-light-gizmos
Improve the 3D light gizmos
2019-09-20 17:09:50 +02:00
Rémi Verschelde fdc2463a1b
Merge pull request #32150 from luzpaz/typos
Fix misc. source comment typos
2019-09-20 17:09:05 +02:00
Hugo Locurcio ba566dff2e
Distinguish editor-originating messages in the editor log
This fades out messages originating from the editor to make messages
printed by the project stand out more.

This also tweaks wording in some editor messages for consistency.
2019-09-20 01:59:02 +02:00
Hugo Locurcio 04f43116d6
Improve folding appearance in the editor inspector
The arrow is now displayed at the left to be consistent with
other places where folding is used. The arrow icons used are now
consistent with the rest of the editor. The `arrow_up` icon is
no longer used anywhere, so it was removed.

Additional spacing was also added for a better visual appearance.
2019-09-19 22:29:25 +02:00
luz.paz 91ecd7b6a6 Fix misc. source comment typos
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-19 14:36:52 -04:00
Rémi Verschelde 2add51d082
Merge pull request #31964 from nekomatata/fix-animation-player-error
Fixed switching back to AnimationPlayerEditor with empty animation list
2019-09-19 20:32:05 +02:00
Rémi Verschelde f9db6ad8c5
Merge pull request #31919 from m4gr3d/use_aar_for_custom_build
Leverage Android archive (AAR) file for Godot custom build
2019-09-19 20:22:09 +02:00
Rémi Verschelde af51fbd994
Merge pull request #32174 from Calinou/2d-editor-display-zoom
Display the current zoom percentage in the 2D editor
2019-09-19 20:14:26 +02:00
Rémi Verschelde 093c1c1a69
Merge pull request #31985 from nekomatata/fix-builtin-script-resource
Fixed resource loading when editing built-in script from resource
2019-09-19 20:07:41 +02:00
Rémi Verschelde fc9985b770
Merge pull request #31961 from YeldhamDev/info_messages
Add informational messages to various editors
2019-09-19 20:06:44 +02:00
Michael Alexsander Silva Dias 8c3bb69e72 Fix incorrect typing when creating methods via the connection dialog 2019-09-19 13:22:05 -03:00
Juan Linietsky d81ddaf33e Added skin support and simplified APIs to override bone position. 2019-09-18 19:46:32 -03:00
Hugo Locurcio 95f6f81dc2
Display the current zoom percentage in the 2D editor
This makes it possible for the user to know precisely the current
zoom level. The zoom percentage can be clicked to reset it to 100%
(similar to Firefox).
2019-09-17 20:36:10 +02:00
Tomasz Chabora cf2ae78956 Fix region editor for NinePatchRect 2019-09-17 19:26:20 +02:00
Hugo Locurcio bfa246cda8
Improve the 3D light gizmos
OmniLight and SpotLight gizmos were tweaked to better represent
their depth in the 3D world.

The default light gizmo color was changed to match the gizmo
icon color closely.
2019-09-17 06:01:21 +02:00
Michael Alexsander Silva Dias c0acaab1aa Fix keying integer and float values from inspector not being able to use bezier curves 2019-09-15 08:59:43 -03:00
Michael Alexsander Silva Dias e5d9c7dcb0 Fix some errors while reparenting nodes in the Scene dock 2019-09-14 21:07:55 -03:00
Hugo Locurcio 6df03fe61f
Display an error message if no version control systems are available
This removes the need for a dedicated placeholder entry.

This closes #32135.
2019-09-14 22:14:00 +02:00