Commit Graph

4271 Commits

Author SHA1 Message Date
homer666 1aaab30a2b Hide "Tilemap" menu properly in CanvasItem view 2019-04-24 04:31:53 +10:00
Chaosus eb53c0fb32 Enlarge Vector3 constant node in visual shaders 2019-04-23 21:21:17 +03:00
Juan Linietsky 2cf6d8d334 Made virtual function begin with _, for consistency.
This was not yet used, anyway as no API is bound for this.
2019-04-23 15:20:00 -03:00
Guilherme Felipe 0fcbf4da8f [StateMachine] Fix play position
Continuation of 771fbd282a
2019-04-23 14:59:16 -03:00
Guilherme Felipe d8de9cc20f Small fixes to connection dialog 2019-04-23 13:39:16 -03:00
qarmin 2fc2d82465 Disable Project Export button after deleting preset 2019-04-23 17:49:15 +02:00
Rémi Verschelde 04efa59868
Merge pull request #28292 from homer666/merge-from-scene-stuff
Minor "Merge From Scene" improvements
2019-04-23 12:08:55 +02:00
Rémi Verschelde baad657091
Merge pull request #28321 from jbuck3/checkable-property-fix
Fix drawing of checkable editor properties
2019-04-23 12:05:22 +02:00
Hein-Pieter van Braam 2ea75764c0
Merge pull request #24796 from guilhermefelipecgs/fix_play_pos_sm
Show play position of sub state machine
2019-04-23 06:32:07 +03:00
Hein-Pieter van Braam 696d9d20cf
Merge pull request #25510 from groud/tilemap_editor_enhancement
Move some tilemap options to the toolbar
2019-04-23 06:26:46 +03:00
Hein-Pieter van Braam c794107988
Merge pull request #25744 from YeldhamDev/enhanced_theme_preview
Enhance theme preview
2019-04-23 06:23:00 +03:00
Hein-Pieter van Braam 5d33f241f0
Merge pull request #26064 from JFonS/add_frustum_camera_mode
Add FRUSTUM camera mode, allowing tilted frustums
2019-04-23 06:20:13 +03:00
Hein-Pieter van Braam a112eb599f
Merge pull request #28064 from DarknessCatt/issue-27077
Moving Polygon2D vertices along axis
2019-04-23 05:55:57 +03:00
James Buck c230c6db98 Fix drawing of checkable editor properties
- Make text cutoff respect checkbox icon's width
  - Get checkbox icon from EditorIcons instead of CheckBox
2019-04-22 20:38:17 -05:00
Mariano Javier Suligoy 1bbe95b452
Merge pull request #28178 from dankan1890/tileset_editor_add_1
Tileset-Editor: Added alternative tool for drawing a rectangular shape.
2019-04-22 14:08:50 -03:00
Rémi Verschelde 5881c6505b
Merge pull request #27414 from KoBeWi/drop_the_dir
Allow to drop folders onto editor
2019-04-22 12:01:32 +02:00
Rémi Verschelde a342131eba
Merge pull request #27673 from qarmin/small_fixes
Small fixes, mostly duplicated code
2019-04-22 12:00:34 +02:00
Rémi Verschelde 22457b907e
Merge pull request #28234 from Paulb23/connection_info_on_script
Display connection information in the script editor
2019-04-22 11:52:13 +02:00
homer666 36f955e4f3 Minor "Merge From Scene" improvements 2019-04-22 12:01:20 +10:00
Hugo Locurcio 0fc0641e7d
Fix rotation offset/snap fields being cut off in Configure Snap dialog 2019-04-22 00:51:48 +02:00
Hugo Locurcio 35a0162167
Improve wording of various messages and make casing more consistent
This also adds the number of selected projects to the confirmation
dialog that appears before removing projects.
2019-04-21 14:37:14 +02:00
Rémi Verschelde e292cc0a0a
Merge pull request #28028 from homer666/visual-shader-editor-member-dialog-fixes
Misc. improvements to visual shader's "Add Node" dialog
2019-04-21 13:48:51 +02:00
Rémi Verschelde abaee11f4f
Merge pull request #27812 from guilhermefelipecgs/fix_audio_buses_font
Change font of audio notches to default font
2019-04-21 13:24:39 +02:00
Rémi Verschelde 78eb25a4a8
Merge pull request #27860 from Calinou/improve-3d-snapping
Make 3D snapping finer when holding Shift
2019-04-21 13:12:10 +02:00
Rémi Verschelde 71bbe6eb01
Merge pull request #27979 from Paulb23/remember_script_state
Restore script editor state between sessions
2019-04-21 13:01:43 +02:00
Rémi Verschelde 7879968136
Merge pull request #28026 from Dentoid/insert_keyframe_fix
Fix for "Insert Keyframe" shortcut doing nothing
2019-04-21 12:58:24 +02:00
Rémi Verschelde e003324a1e
Merge pull request #28245 from guilhermefelipecgs/open_menu
Small ux improvement
2019-04-21 12:50:45 +02:00
Rémi Verschelde db3dd67d47
Merge pull request #28130 from JFonS/add_3d_grouping
Add grouping to 3D editor
2019-04-21 09:30:15 +02:00
Michael Alexsander Silva Dias aa7d10b2bc Small improvements to the new Sprite Sheet dialog 2019-04-21 00:32:45 -03:00
dankan1890 12a01a33aa Tileset-Editor: Added alternative tool for drawing a rectangular shape. 2019-04-21 02:51:49 +02:00
Guilherme Felipe d835738045 Small ux improvement 2019-04-20 17:43:23 -03:00
James Buck 8b1b2f6a4c Fix editor tooltip formatting
Removed unnecessary word wrap which caused broken tags and general
ugliness. Fixes #24926
2019-04-20 11:51:50 -05:00
Hugo Locurcio 34a3cad8e8
Require only one click to deploy to Android if one device is connected
This restores changes introduced by
938f9388dd, which were reverted by
efaeebab4d.
2019-04-20 17:01:16 +02:00
Paulb23 a6562cd004 Display connection information in the script editor 2019-04-20 13:13:54 +01:00
Rémi Verschelde b3d2584960
Merge pull request #28210 from hpvb/fix-28134
Object::script may not be a valid Ref<Script>
2019-04-20 10:25:39 +02:00
Rémi Verschelde c1444ebeaf Fix typo in SpriteFrameEditor preview draw
As spotted by @DennisWG.
2019-04-20 09:08:07 +02:00
Hein-Pieter van Braam-Stewart 20b0046945 Object::script may not be a valid Ref<Script>
It appears that Object::script may be a valid ScriptInstance but not be
castable to Ref<Script>. There were only 5 places in the code that made
this assumption. This commit fixes that.
2019-04-20 02:13:28 +02:00
Juan Linietsky 04847ef5f9 Added ability for multiple images to be imported as an atlas
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
2019-04-19 15:56:34 -03:00
Rémi Verschelde 268b520703 doc: Sync classref with current source 2019-04-19 11:21:09 +02:00
Rémi Verschelde 6af69f851a doc: Drop unused <demos> tag 2019-04-19 11:03:46 +02:00
homer666 659162ab98 Fix AnimationPlayer snap mode dropdown behaviour 2019-04-18 14:43:48 +10:00
JFonS 42043a22e8 Add grouping to 3D editor 2019-04-17 18:24:28 +02:00
homer666 f33c554de1 Update signal connections error dialog 2019-04-17 18:33:14 +10:00
Matheus Lima Cunha 0110a88547 Move vertex along a single axis while editing and holding shift 2019-04-16 20:26:22 -03:00
mawenzy d87021de93 Bind goto_line function for Script Editor #9153
- added doc for ScriptEditor:goto_line
2019-04-16 17:32:10 +02:00
Rémi Verschelde 1e2b3ac407
Merge pull request #28050 from Calinou/animation-track-editor-hidpi
Scale animation track editor line widths on hiDPI displays
2019-04-16 10:35:55 +02:00
Rémi Verschelde 6420768887
Merge pull request #28073 from lupoDharkael/early-validation
Validate scripts when they are loaded in the text editor
2019-04-16 10:10:57 +02:00
Rémi Verschelde 192d176d30
Merge pull request #28071 from YeldhamDev/treedialog_style_fix
Fix styling in 'SceneTreeDialog'
2019-04-16 10:09:37 +02:00
Rémi Verschelde 3069095e44
Merge pull request #28066 from jbuck3/popupmenu-plugin-id-fix
Fix setting of PopupMenu item IDs in editor
2019-04-16 10:05:00 +02:00
Rémi Verschelde 2c0c1e3c16
Merge pull request #28067 from KoBeWi/save_layout_x3
Save opened scenes when necessary
2019-04-16 09:05:17 +02:00
homer666 557122fdda Misc improvements to visual shader Add Node dialog 2019-04-16 15:40:54 +10:00
lupoDharkael f137166251 Validate scripts when they are loaded in the text editor 2019-04-16 02:14:58 +02:00
Michael Alexsander Silva Dias 75bbd8259a Fix styling in 'SceneTreeDialog'
Fixes #28029.
2019-04-15 20:21:51 -03:00
Tomasz Chabora 331f922359 Save opened scenes when necessary 2019-04-15 22:17:49 +02:00
James Buck ae646261e3 Fix setting of PopupMenu item IDs in editor 2019-04-15 14:36:42 -05:00
Michael Alexsander Silva Dias 55c7590763
Merge pull request #27944 from YeldhamDev/tile_name_position_fix
Fix position of tile names in TileSet editor when zooming in/out
2019-04-15 15:35:48 -03:00
Hugo Locurcio c0959f00a0
Scale animation track editor line widths on hiDPI displays 2019-04-15 14:11:31 +02:00
Juan Linietsky 5d65100669 Icon was missing 2019-04-15 07:46:57 -03:00
Rémi Verschelde 0d87535dd7
Merge pull request #28011 from KoBeWi/rmb_housework
Small cleanup to SceneTree dock context menu
2019-04-15 11:46:01 +02:00
Rémi Verschelde adb41c8bee
Merge pull request #26678 from YeldhamDev/hide_addscript_multiselected
Hide "Add Script" button in Scene dock when multiple nodes are selected
2019-04-15 11:42:09 +02:00
Rémi Verschelde 39c5f363f7
Merge pull request #24654 from groud/better_dragging_autoscroll
Enhance tree scrolling when dragging
2019-04-15 10:35:08 +02:00
Rémi Verschelde 87ab468b79
Merge pull request #27931 from pyrophone/SceneTreeScriptFix
Fix for additional separators appearing when scripts are disabled
2019-04-15 10:24:37 +02:00
Yuri Roubinsky f213055e11
Merge pull request #28005 from Chaosus/vs_delete
Restored possibilty to delete multiple nodes in visual shaders via Delete key
2019-04-15 07:31:17 +03:00
Juan Linietsky 296c74072c Implement autokeying in Animation editor. 2019-04-15 00:49:03 -03:00
Juan Linietsky 8f762aefcd Oops I missed a line, continuation to 0d41f8f. 2019-04-15 00:05:27 -03:00
Juan Linietsky 0d41f8fb00 Avoid crash on changing snap mode when no animation exists, closes #28031 2019-04-15 00:02:17 -03:00
Juan Linietsky caaa492133 Also show length in FPS when using FPS mode for AnimationPlayer editor 2019-04-14 23:48:53 -03:00
Anders Stenberg 645c656571 Proper passing of the "transform_key_request"
signal from SpatialEditorViewport to InspectorDock
2019-04-14 22:27:59 +02:00
Juan Linietsky 4203266923 Add support for FPS snap in Animation Editor. 2019-04-14 16:43:38 -03:00
Tomasz Chabora d532a3f710 Small cleanup to SceneTree context menu 2019-04-14 14:04:04 +02:00
Chaosus 24faddc211 Added possibilty to delete multiple nodes in visual shaders via Delete key 2019-04-14 09:49:51 +03:00
Juan Linietsky 3f76d2c2f3 Ability to create sprite frames in AnimatedSprite from sprite sheet. 2019-04-13 22:15:31 -03:00
Chaosus 87f87839a6 Added conditional nodes to visual shaders 2019-04-13 18:17:20 +03:00
Michael Alexsander Silva Dias 27e500d4b3 Hide "Add Script" button in Scene dock when multiple nodes are selected 2019-04-13 11:05:10 -03:00
Paulb23 6ea253aa77 Restore script editor state between sessions 2019-04-13 13:07:12 +01:00
Michael Alexsander Silva Dias bd278fdd65 Force drawing guides in single-row Tree items in the editor 2019-04-12 20:56:36 -03:00
groud 14a901e88f Enhance tree scrolling when dragging 2019-04-12 21:58:48 +02:00
Gio Aleman f707266b52 Fixed scene tree bug when scripts are disabled 2019-04-12 11:44:45 -04:00
Juan Linietsky 9f4b5a91c0 Reorganized connection dialog for much improved ease of use.
-Removed dest path field
-Added a "Source" signal
-Added an "Advanced" button to hide complexity
-Fix bug on Tree to make sure "ensure visible" works on hidden trees
-Fix bug on TextEdit to ensure signals created with script not open sill focus the right line
2019-04-11 23:23:24 -03:00
Michael Alexsander Silva Dias d2a7624687 Fix position of tile names in TileSet editor when zooming in/out
Fixes #27713.
2019-04-11 19:03:03 -03:00
Juan Linietsky c1dcdf6109 No more metadata and dependency indices kept in resources saved.
-Node folding is now saved externally together with the properties
-External resources remember their ID when scenes are saved.
2019-04-11 14:36:58 -03:00
Theis Egeberg e630591aea Removed extra division by format channels causing sounds to get halved. 2019-04-11 17:17:33 +02:00
Rémi Verschelde edc9097bc1
Merge pull request #27899 from KoBeWi/tree_focus
Focus SceneTree dock after creating new node
2019-04-11 15:53:10 +02:00
Rémi Verschelde 2ddb41a5d8
Merge pull request #27894 from nekomatata/fix-particle-errors
EditorFolding ignores hidden properties for folded resources
2019-04-11 09:42:10 +02:00
Juan Linietsky 5823b5d77d Bundled VHACD library for convex decomposition.
Modified both MeshInstance tools as well as importer to use it instead of QuickHull.
2019-04-10 17:47:28 -03:00
Rémi Verschelde 07b76c0376
Merge pull request #27170 from timoschwarzer/allow-whitespaces-in-warning-ignore-comments
Allow whitespaces in warning-ignore comments
2019-04-10 18:16:10 +02:00
Tomasz Chabora 9432e06e05 Focus SceneTree dock after creating new node 2019-04-10 17:01:42 +02:00
PouleyKetchoupp 790a78273f EditorFolding ignores hidden properties for folded resources (fixes #26663) 2019-04-10 12:11:14 +02:00
Twarit 0e62f5e6f7 Add 'Create Folder' button while installing templates
Fixes #25454
2019-04-10 11:23:13 +05:30
Hugo Locurcio 156faf535c
Make 3D snapping finer when holding Shift
This also changes the default rotation and scale snapping increments
to better make use of fine snapping possibilities.
2019-04-09 17:57:19 +02:00
Rémi Verschelde c8994b56f9 Style: Apply new changes from clang-format 8.0
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Rémi Verschelde 444fa4c1c8
Merge pull request #27853 from akien-mga/classref-tooltip
Fix TTR string for class reference tooltip
2019-04-09 17:01:11 +02:00
Rémi Verschelde bde77dc0b4
Merge pull request #27838 from akien-mga/Wlogical-op
Fix condition in editor icons filtering logic
2019-04-09 16:24:30 +02:00
Rémi Verschelde 38104bb89d Fix TTR string for class reference tooltip
Fixes #27852.
2019-04-09 16:06:39 +02:00
Rémi Verschelde 3da2894d82 FS dock: Allow deselecting items by clicking empty space
Fixes #27546.
2019-04-09 14:54:41 +02:00
Rémi Verschelde def6655964
Merge pull request #27553 from ShyRed/sprite2polygon
Add Sprite to CollisionPolygon2D and LightOccluder2D converter
2019-04-09 12:14:58 +02:00
Rémi Verschelde 5062b4a26b Fix condition in editor icons filtering logic
Fixes #27595.
2019-04-09 10:37:35 +02:00
Juan Linietsky 3474e1586d Changes to to feature profile editor
Changed "Disable Editor" to "Contextual Editor Enabled"
Do not show contextual editors for disabled classes.
2019-04-08 20:20:20 -03:00
Juan Linietsky a20235aeb0 Add ability to edit editor feature profiles
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08 19:18:51 -03:00
Tomasz Chabora 82fadde680 Use filename for scene root of imported models 2019-04-08 18:43:55 +02:00
Guilherme Felipe 6ab1ed5763 Change font of audio notches to default font 2019-04-08 11:14:37 -03:00
Rémi Verschelde 3c4938d59a i18n: Sync translations with Weblate 2019-04-08 12:37:48 +02:00
Rémi Verschelde 9d4623f994
Merge pull request #27716 from Calinou/script-editor-shift-find-previous
Find the previous match in script editor when pressing Shift + Enter
2019-04-08 12:25:28 +02:00
Rémi Verschelde a994db62df
Merge pull request #27644 from lupoDharkael/bus
Allow default audio bus layout modification
2019-04-08 11:06:35 +02:00
qarmin 856a8226a5 Small fixes, mostly dupicated code 2019-04-08 11:03:37 +02:00
Rémi Verschelde 668bf1fd0d
Merge pull request #27710 from Calinou/script-templates-typed-gdscript
Add support for type hints in non-default script editor templates
2019-04-08 10:13:59 +02:00
Rémi Verschelde 853af06f5a
Merge pull request #27770 from KoBeWi/moving_pan_v2
Allow panning while moving a node
2019-04-08 10:07:24 +02:00
Rémi Verschelde b07eab734a
Merge pull request #27660 from cse2410-team2/Issue#26246
Fix Cursor Color in the Label/RichTextLabel
2019-04-08 10:05:15 +02:00
Rémi Verschelde de33c37196
Merge pull request #27565 from SpechtMagnus/tileset_autotile_ignore_flags
Added ignore flag / wildcard bit to tileset autotile
2019-04-08 10:04:30 +02:00
Guilherme Felipe ccbf57611b [AnimationNodeBlendTreeEditor] Usability improvements
- Add possibility to exclude multiple (selected) nodes.
- Add context menu (Right click) to add nodes.
2019-04-07 23:28:23 -03:00
Magnus Specht a3af9d5714 + Added ignore flags to autotile bitmask
+ Added ignore functionality to tileset editor
+ Updated tileset editor autotile tooltip
+ Autotile ignore bits are processed and rendered correctl
2019-04-08 00:41:05 +02:00
Juan Linietsky dd03dcbd5a Android now (optionally) builds the template when exporting
Added new way to create add-ons
Removed old way to create add-ons
2019-04-07 15:46:52 -03:00
Tomasz Chabora 7abd0a3976 Allow panning while moving a node 2019-04-07 16:43:21 +02:00
Chaosus 54bf313e07 Small hotfix to visual shader entries.. 2019-04-07 16:25:32 +03:00
Rémi Verschelde 3dabe862af
Merge pull request #26164 from Chaosus/vshader_improvements
Major update for visual shader system
2019-04-07 14:24:23 +02:00
Rémi Verschelde 694ec9b3d0
Merge pull request #26551 from ZahFox/editor-shortcuts
New shortcuts for the editor menu items
2019-04-07 13:49:12 +02:00
Rémi Verschelde 6475c990a2
Merge pull request #25311 from qarmin/third_point
Add third point to change size RectangleShape2D in two axis
2019-04-07 13:04:59 +02:00
Mariam Naiga d179cbc3c2 Fix cursor color in Label/RTL in editor
Fixes #26246.
2019-04-07 12:57:07 +02:00
Rémi Verschelde 9984ebba17
Merge pull request #27645 from theisegeberg/fix-wav-import-trim
Fix end pops when trimming wav files
2019-04-07 12:49:23 +02:00
Rémi Verschelde 5586e473b5
Merge pull request #27734 from Hendrikto/cleanup
Remove unused imports
2019-04-07 12:38:07 +02:00
Rémi Verschelde 1415dd4e90
Merge pull request #25810 from TheYokai/mixer_improvements
New Nonlinear Audio Bus Fader
2019-04-07 12:17:07 +02:00
Rémi Verschelde 4ff505426b
Merge pull request #27741 from danielkulas/path
Fix "Show in File Manager" option
2019-04-07 12:01:51 +02:00
Rémi Verschelde 03581e49b7
Merge pull request #27151 from vorabrijesh/updated
Changed default shortcut for opening help menu to (Shift + F1)
2019-04-07 11:53:08 +02:00
Chaosus 5fd671b8a7 Major improvements for visual shader system 2019-04-07 08:17:38 +03:00
Eoin O'Neill b526060d74 New Nonlinear Audio Bus Mixer
This patch changes the audio mixer faders to use a non-linear algorithm
for volume control. The intention is to make Godot's audio faders be
more like those found in professional audio equipment and programs. It
is an exponential equation which intends to counter-act the logarithmic
nature of human hearing. The effect of this is a more usable audio mixer
with more emphasis on the values that make the most difference to the mix.

It also changes the audio level notch widget to be less static and
thus supports changing the scaling factor of the audio faders.
2019-04-06 19:36:24 -07:00
Daniel Kulas 22b861ad97 Fix "Show in File Manager" option 2019-04-06 23:01:59 +02:00
vorabrijesh f1e4fd3e39 Change Help menu shortcut to Shift+F1: Fixes #3786 2019-04-07 01:45:26 +05:30
Rémi Verschelde f1dc158ebd
Merge pull request #27602 from YeldhamDev/tileset_emptypoly_crash_fix
Fix crash when using the Tileset Editor when the given shape has no points
2019-04-06 20:51:38 +02:00
Rémi Verschelde c20c2870a7
Merge pull request #27699 from LATRio/fix_region_editor_margin
Fix TextureRegion margin bug
2019-04-06 20:45:20 +02:00
Timo 1c178da72c
Merge pull request #26609 from nekomatata/shadow_offset
Support for shadow offset in box style
2019-04-06 19:36:57 +02:00
Hendrikto 49a81308c0 Remove unused imports 2019-04-06 18:05:05 +02:00
Rémi Verschelde 0b747f5312
Merge pull request #25995 from lupoDharkael/csv
Add CSV export to profiling data
2019-04-06 13:12:20 +02:00
Rémi Verschelde b319168db2
Merge pull request #26122 from vixelz/allow-embedding-gdscript-defined-resources
Include global class resources in Resource property inspector
2019-04-06 13:11:00 +02:00
Rémi Verschelde 72be5ddc43
Merge pull request #26650 from YeldhamDev/filesys_tooltips
Small tooltip changes to filesystem-related UI componentes in editor
2019-04-06 13:03:59 +02:00
ShyRed c218c631f6 Add converters / generators to Sprite
Adds the following menu options to the Sprite editor: "Convert to Mesh2D", "Convert to Polygon2D", "Create CollisionPolygon2D Sibling" and "Create LightOccluder2D Sibling"
2019-04-06 10:48:07 +02:00
Michael Alexsander Silva Dias 9501900e1b Fix crash when using the Tileset Editor when the given shape has no points 2019-04-05 21:32:48 -03:00
Hugo Locurcio 8a1c5a8390
Find the previous match in script editor when pressing Shift + Enter
This allows cycling through matches more efficiently.
2019-04-06 01:20:05 +02:00
Hugo Locurcio 00799fc8c2
Add support for type hints in non-default script editor templates
This also refactors template processing to avoid repetition.

This closes #27074.
2019-04-05 23:19:30 +02:00
lupoDharkael 650b698f51 Allow default audio bus layout modification 2019-04-05 17:19:25 +02:00
Rémi Verschelde e16fc72cef
Merge pull request #26903 from guzzard/polygon-point-hover
Display vertex number when hovering point in collision polygon
2019-04-05 16:50:54 +02:00
Rémi Verschelde e6979adb1b
Merge pull request #26918 from aqnuep/skeleton_reparenting_fix
Fix skeleton reparenting to also work when the skeleton node is not a bone
2019-04-05 16:48:42 +02:00
Rémi Verschelde a71d8b561d
Merge pull request #26927 from qarmin/fix_perspective_button_hide
Fix perspective button hide when it actually should be disabled
2019-04-05 16:45:29 +02:00
Rémi Verschelde 769b2ba385
Merge pull request #26930 from qarmin/fix_delete_project_settings_properties
Fix deleting properties after deleting files
2019-04-05 16:44:40 +02:00
Rémi Verschelde fc081ebe10
Merge pull request #26954 from willnationsdev/refresh
Add a getter for the EditorInspector
2019-04-05 16:41:02 +02:00
Rémi Verschelde 945f7f83d3
Merge pull request #27330 from qarmin/fix_bones_not_showing_after_create
Show bones after creating
2019-04-05 16:39:55 +02:00
Rémi Verschelde a61ad365f5
Merge pull request #27677 from akien-mga/Wimplicit-fallthrough
Fix -Wimplicit-fallthrough warnings from GCC 8
2019-04-05 16:12:45 +02:00
Rémi Verschelde 696be49728
Merge pull request #27008 from qarmin/fix_toggle_visibility
Fix crash when toggle visibility in SceneTreeDialog
2019-04-05 16:12:27 +02:00
LATRio f38173fb19 Fix TextureRegion margin bug introduced in #27122 2019-04-05 22:33:53 +09:00
Rémi Verschelde 570fa6a477
Merge pull request #27254 from piyushdagar/fix-animation
Fixes Adding animation to AnimatedSprite doesn't update inspector immmediately #26381
2019-04-05 15:28:28 +02:00
Juan Linietsky 19a6a6286a Ability to make CanvasLayers have pseudo 3D depth. 2019-04-05 10:25:51 -03:00
Rémi Verschelde a49f3ba5ac
Merge pull request #27401 from Calinou/fix-restart-label-color
Use the "warning" color for the "restart required" label
2019-04-05 15:23:48 +02:00
Rémi Verschelde 63d3a42f82
Merge pull request #27465 from neikeq/road-to-lang-agnostic-docs-is-going-to-be-tough
EditorHelp: Improve enum ref resolving and add constant ref support
2019-04-05 15:19:21 +02:00
Rémi Verschelde fc370b3feb Fix -Wimplicit-fallthrough warnings from GCC 8
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.

The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.

Fixes #26135.
2019-04-05 15:14:53 +02:00
Mariano Javier Suligoy bfc3ba5af0
Merge pull request #27365 from Byteron/tile_map_negative_offset
TileMap, negative Y and X Offset
2019-04-05 09:24:32 -03:00
Aaron Winter 63e0fd7675 added negative X and negative Y offset to TileMap
clang-format

added negative X and negative Y offset to TileMap
2019-04-05 10:37:35 +02:00
Mariano Javier Suligoy 1ab9b86a21
Merge pull request #27500 from samdze/master
Allow TileMap to override set_cell behaviour while using TileMap editor
2019-04-04 23:17:29 -03:00
Mariano Javier Suligoy 60fbbba398
Merge pull request #27201 from siddharth952/issue1
Fixed Tileset Editor bug related to polygon size
2019-04-04 23:09:50 -03:00
Mariano Javier Suligoy a6e9af7222
Merge pull request #27122 from LATRio/fix_texture_region_zoom
Fix zooming in TextureRegion
2019-04-04 23:09:25 -03:00
qarmin 8460d0678c Small fixes to static analyzer bugs 2019-04-04 22:00:16 +02:00
Rémi Verschelde 6d27226134
Merge pull request #27469 from Calinou/text-selection-use-accent-color
Use the accent color to highlight selected text
2019-04-04 18:27:54 +02:00
Rémi Verschelde d9b9c9f98a
Merge pull request #27567 from Calinou/selection-boxes-use-accent-color
Use the editor theme's accent color for 2D/3D selections and rotations
2019-04-04 17:45:01 +02:00
Theis Egeberg 26cc521d55 -Added trim limit constant at top of file, defining at which db trimming should occur (moved from being in the code itself)
-Added fade out frames constant at top of file, defining how many frames should have fade out applied (to avoid pops at the end of trim)
-Rewrote parts of the trimming logic to use an average of volume across all channels instead of any particular channel
-Added fade-out to trimming
2019-04-04 16:37:58 +02:00
Angeloss 40acc3ecdc Fix: Keep custom tracks option now keeps animation loop property and value track update mode.
(cherry picked from commit 589c5698a0)
2019-04-03 16:59:34 +02:00
Rémi Verschelde de54ee975d
Merge pull request #27238 from ShyRed/cpu2dmask
Add Emission Mask to CPUParticle2D
2019-04-03 09:13:14 +02:00
Rémi Verschelde 612a109b81
Merge pull request #27228 from Kanabenki/preserve-binds-change-node
Preserve extra arguments for connected signals when changing node type
2019-04-02 11:30:45 +02:00
Samuele Zolfanelli a6f5cf7de7 Allow TileMap to override set_cell behaviour while using TileMap editor 2019-04-01 13:03:35 +02:00
Rémi Verschelde c54835a23b
Merge pull request #25676 from willnationsdev/fix-inherited-icons
Fix inherited icons for script classes
2019-04-01 12:21:08 +02:00
Rémi Verschelde 9347142484
Merge pull request #26701 from qarmin/do_not_lost_focus
Do not lose focus when moving through scene tree
2019-04-01 11:57:46 +02:00
Rémi Verschelde 9bef886fa3
Merge pull request #27117 from Faless/editor/asset_lib_image_error
Enabled logging of failed image download.
2019-04-01 11:03:03 +02:00
Rémi Verschelde 3c797248d0
Merge pull request #26970 from KoBeWi/custom_node_is_now_other_node
Changed 'Custom Node' to 'Other Node' to be less confusing
2019-04-01 10:13:27 +02:00
Hugo Locurcio d59b210aec
Use the editor theme's accent color for 2D/3D selections and rotations 2019-03-31 23:54:46 +02:00
Fabio Alessandrelli 2bb39ac56e Exclude link-local IPv4s from editor host list.
IPv4 has link-local addresses like IPv6 (block 169.254.0.0/16).
Those addresses should not be considered a valid option when selecting
the `remote_host` setting for the debugger.
2019-03-31 16:57:23 +02:00
Ignacio Etcheverry c8aa85189a EditorHelp, makerst: Improve enum ref resolving and constant ref support
Enum reference resolving will now search in the @GlobalScope if no class is specified and the enum cannot be resolved in the current class.
Added support for constant references in EditorHelp, e.g.: [constant KEY_ENTER] or [constant Control.FOCUS_CLICK]. It supports enum constants (the enum name must not be included).
2019-03-29 23:40:31 +01:00
Rémi Verschelde 472c8a7ba1 i18n: Sync translations with Weblate
Also sync translation template.
2019-03-28 10:38:58 +01:00
lupoDharkael 2c68ce930c Add CSV export to profiling data 2019-03-28 08:42:29 +01:00
Hugo Locurcio 9ba6738719
Use the accent color to highlight selected text
This makes selections easier to see, while making them fit better
within the editor theme.

This closes #22552.
2019-03-27 22:12:41 +01:00
Siddharth fcd39a506a Update tile_set_editor_plugin.cpp 2019-03-27 22:50:52 +05:30
Siddharth ba2b09b034 Revert "Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits."
This reverts commit 2d995372d8.
2019-03-27 22:49:19 +05:30
Rémi Verschelde 167d02ef61
Merge pull request #27388 from KidRigger/master
Prevents crash on loading unrecognized resources.
2019-03-27 17:22:27 +01:00
Rémi Verschelde 37969e71e4
Merge pull request #27383 from SpechtMagnus/master
TileMap: Fixed unfinished max_lines draw handling for freeze/crash avoidance.
2019-03-27 17:20:56 +01:00
Rémi Verschelde 9d7343a1a3
Merge pull request #27182 from goodyttoor/gltf_order
Fix order of transformation in GLTF import
2019-03-27 17:06:50 +01:00
Michael Alexsander Silva Dias d819ad6f78 Small tooltip changes to filesystem-related UI componentes in editor 2019-03-27 01:50:50 -03:00
Juan Linietsky 6574c557c9 Add a "Request Docs" button to code editor. 2019-03-26 16:36:19 -07:00
Tomasz Chabora c0da243f04 Allow to drop folders onto editor 2019-03-26 13:33:38 +01:00
Hugo Locurcio cca1fab1c4
Use the "warning" color for the "restart required" label
This makes the color match the warning icon placed besides the label.
2019-03-25 14:04:31 +01:00
Anish 8ee31ace34 Prevents crash on loading unrecognized resources.
Editor crashes on trying to load resources with no loaders.
Simple check on the resource loader prevents using a null
resource loader.

Fixes: #27385
2019-03-25 02:32:21 +05:30
Magnus Specht 601acdf0e1 Fixed unfinished max_lines handling for crash avoidance. 2019-03-24 19:17:02 +01:00
Siddharth 13ead635d9 Merge branch 'master' of https://github.com/godotengine/godot into issue1 2019-03-23 20:09:08 +05:30
Siddharth 2d995372d8 Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits.
Updated tile_set_editor_plugin.cpp And area.cpp

Updated with clang-format

Updated tile_set_editor_plugin.cpp And area.cpp
2019-03-23 20:03:59 +05:30
qarmin 1b6e0d04f0 Show bones after creating 2019-03-22 19:14:54 +01:00
Pedro J. Estébanez 9c3ddf05cb Revert accidental commits
This reverts commit fb37284c02.
This reverts commit 4db0f51b9a.
2019-03-20 21:43:55 +01:00
Pedro J. Estébanez 4db0f51b9a Create live view dock [wip] 2019-03-20 20:44:43 +01:00
piyushdagar d86d7981cc Fixes Adding animation to AnimatedSprite doesn't update inspector immediately 2019-03-20 09:08:39 +05:30
ShyRed dcd268e183 Add Emission Mask to CPUParticle2D
Add ability to load emission masks to CPUParticle2D.
2019-03-19 17:28:57 +01:00
PouleyKetchoupp 8346d90c5e Properly handle different border widths in rounded corner aa
Note: removed (unused and not implemented) support for multiple border colors
2019-03-19 11:51:32 +01:00
Kanabenki a1e7febbb3 Keep binds for connected signals when changing node type 2019-03-19 10:21:52 +01:00
Vivatchai Kaveeta 32dd9c67c6 Fix order of transformation in GLTF import
From the gltf 2 spec, the order is R  * S. Previously we did S * R, which broke some mesh with non-uniform scale.

Fix #23356, Fix #14725
2019-03-18 03:08:46 +07:00
Paulb23 6f6d4a6c2e Fix script editor attempting to set current line to -1 on script open 2019-03-17 20:02:05 +00:00
Timo Schwarzer 7a0dfc04aa
Allow whitespaces in warning-ignore comments 2019-03-17 18:42:59 +01:00
Will Nations 2d106eb715 Fix inherited icons for script classes 2019-03-17 00:04:15 -05:00
LATRio 22030d4cc4 Fixing zooming in TextureRegion
Fixes #20710
2019-03-17 10:37:58 +09:00
Rémi Verschelde df7d3708c5
Merge pull request #27145 from YeldhamDev/editfilediag_favrm_remove
Remove unused 'fav_rm' ToolButton in EditorFileDialog
2019-03-16 17:07:15 -07:00
Michael Alexsander Silva Dias 579fffd97e Remove unused 'fav_rm' ToolButton in EditorFileDialog 2019-03-16 20:30:06 -03:00
Rémi Verschelde 3f631c2567
Merge pull request #27130 from akien-mga/editor-theme-hint-typo
Fix misplaced hint for interface/theme/accent_color
2019-03-16 14:26:45 -07:00
qarmin 4cee053f7c Fix deleting properties after deleting files 2019-03-16 22:05:24 +01:00
Rémi Verschelde e5a310cd38
Merge pull request #25782 from hsandt/feature/fix-toggle-comment-indent
Feature/fix toggle comment indent
2019-03-16 11:17:47 -07:00
Rémi Verschelde 43f147b5aa
Merge pull request #26308 from bojidar-bg/11722-meshlibrary-transforms
Consider StaticBody and NavMesh position when converting to a MeshLibrary
2019-03-16 11:15:15 -07:00
Rémi Verschelde c1fae20400
Merge pull request #26706 from YeldhamDev/multinode_scriptclear_fix
Fix clearing scripts while multiple nodes are selected
2019-03-16 11:09:40 -07:00
Rémi Verschelde 8965ff90ca
Merge pull request #26919 from jabcross/master
Implement source lookup for class_name defined classes
2019-03-16 11:06:34 -07:00
Rémi Verschelde ffd115dd6f
Merge pull request #26935 from qarmin/show_class_name_icon_in_tabs
Show in tabs custom class icons
2019-03-16 11:04:03 -07:00
Rémi Verschelde b17c8c0396 Fix misplaced hint for interface/theme/accent_color
Supersedes #26992.
2019-03-16 11:00:32 -07:00
Rémi Verschelde 06ebf4c3ad
Merge pull request #27123 from bojidar-bg/27113-rename-action
Fix renaming actions in the Project settings
2019-03-16 10:55:01 -07:00
Rémi Verschelde 18fa1846ea
Merge pull request #27115 from Janglee123/master
Fix toggling snap mode while transforming the Spatial object
2019-03-16 10:54:44 -07:00
Bojidar Marinov 699a3957ce
Fix renaming actions in the Project settings
Fixes #27113, a regression from 6daed7d122
2019-03-16 16:28:03 +02:00
Fabio Alessandrelli 37c0ac1d6d Enabled logging of failed image download. 2019-03-16 10:58:07 +01:00
janglee123 05446e8b53 fixed toggelling snap mode while transforming 2019-03-16 13:45:39 +05:30
Michael Alexsander Silva Dias ebabb0ea65 Make bottom panel only try to hide editors when they're visible 2019-03-16 03:39:49 -03:00
Rémi Verschelde cad371dd85
Merge pull request #26945 from shartte/allow-fewer-viewports-in-editor-state
Be more tolerant about under-defined spatial viewport state
2019-03-13 20:11:24 +01:00
qarmin 2bc6ad670b Fix toggle visibility in SceneTreeDialog 2019-03-13 11:19:51 +01:00
Rémi Verschelde 04b04555d1 i18n: Sync translations with Weblate 2019-03-12 16:57:43 +01:00
Tomasz Chabora c1ce5b87b4 Changed 'Custom Node' to 'Other Node' to be less confusing 2019-03-12 16:12:14 +01:00
Sebastian Hartte 7bab7fd777 Don't crash when the saved editor state contains fewer viewports than currently supported. 2019-03-12 12:17:17 +01:00
Will Nations c1b247e4d5 Add EditorInspector getter. Update Sub-Inspectors. 2019-03-12 02:15:15 -05:00
Rémi Verschelde 6d86450a83
Merge pull request #26941 from JFonS/add_gizmos_priority
Add priority to gizmos and fix small issues
2019-03-12 01:19:39 +01:00
JFonS 2658e5d03d Add priority to gizmos and fix small issues
User defined gizmos will haave higher preference than editor gizmos by
default. Also fixed some inconsistencies in the gizmos menu when using
custom gizmos.
2019-03-12 00:30:50 +01:00
qarmin 825a870f06 Show in tabs non default class icons 2019-03-11 22:54:23 +01:00
qarmin 2e5b6b5bde Fix perspective button hide when it should be actually disabled 2019-03-11 18:10:00 +01:00
Pedro Ciambra e8fe174616 Implement source lookup for class_name defined classes
Previous to this, classes defined with class_name had no
behavior when ctrl-clicked in the editor.

Fixes #26882
2019-03-11 12:52:17 -03:00
Daniel Rakos 1cf7ca87ce Fix skeleton reparenting to also work when the skeleton node is not a bone
Existing code only did the reparenting when the parent node was a bone. This
change fixes that, plus the reparenting code itself, which used the index of
the skin instead of the skin index itself to address the skeleton array.
2019-03-11 16:26:45 +01:00
Anish d6e4a08c61 Prevents a Null Reference in deleting Animations.
A null Animation would cause a crash by accessing restricted memory.
Solved by checking if the animation track is null before using the
animation.

Fixes: #26829
2019-03-11 17:04:02 +05:30
Martin Wallin ed06ed38fb Display vertex number when hovering point in collision polygon 2019-03-11 10:42:55 +01:00
Rémi Verschelde 43184375b2 i18n: Sync translation template with current source 2019-03-10 11:04:59 +01:00
Rémi Verschelde 9a2fdef1fa i18n: Sync translations with Weblate 2019-03-10 11:03:26 +01:00
Rémi Verschelde 03664e26c5
Merge pull request #26687 from QbieShay/hang_server_build_fix
Removed the resource preview thread from the server build
2019-03-09 22:59:24 +01:00
Rémi Verschelde 0d728123c6
Merge pull request #26818 from vnen/class_name-inheritance
Allow class_name scripts to have nested inheritance
2019-03-09 14:27:43 +01:00
George Marques 25f9aee005
Allow class_name scripts to have nested inheritance 2019-03-09 00:47:27 -03:00
Juan Linietsky 95c6d9caba Fix crash in texture previeer, closes #26749, probably others 2019-03-08 14:18:12 -03:00
Rémi Verschelde a38bf5287a
Merge pull request #26781 from YeldhamDev/editfilediag_favdir_fix
Fix "Favorite" button not being toggled when navigating to a faved folder manually
2019-03-08 08:26:55 +01:00
qarmin 8c4051819e Fix error when trying to enter to folder/node directly via address bar 2019-03-08 06:15:42 +01:00
Michael Alexsander Silva Dias ec1c879746 Fix "Favorite" button not being toggled when navigating to a faved folder manually 2019-03-07 21:48:12 -03:00
Juan Linietsky 9af7fa193f Do not annoy unrelated textures with texture editor. 2019-03-07 13:54:05 -03:00
Rémi Verschelde b38f44e177
Merge pull request #26758 from qarmin/fix_error_dragging_empty_script_editor
Fix error when dragging empty script list in Script Editor
2019-03-07 17:40:42 +01:00
Juan Linietsky b376273f1b Force inspector to clean up on delete, fixes crash. 2019-03-07 12:39:53 -03:00
Juan Linietsky 6cb841edcb Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733 2019-03-07 12:16:20 -03:00
qarmin 7837276597 Fix error when dragging empty script list in Script Editor 2019-03-07 16:09:02 +01:00
Rémi Verschelde 2f2fa8db69
Merge pull request #26722 from MarianoGnu/fix_24238
TileSetEditor: Don't draw invalid occlusion shapes. Fixes #24238
2019-03-06 20:58:05 +01:00
Mariano Suligoy 6c08f4ea4e TileSetEditor: Don't draw invalid occlusion shapes. Fixes #24238 2019-03-06 15:31:16 -03:00
Michael Alexsander Silva Dias 73aaf06be7 Cleanup relationship line coding after 5f079e2 2019-03-06 14:33:26 -03:00
Juan Linietsky 6eac688952 Don't hide/show top editor if they did not change, fixes #26644 2019-03-06 12:42:01 -03:00
Juan Linietsky 5f079e2ef9 -Make tileset and meshlibrary edit in a separate inspector, fixes #26671
-Made relationship lines appear based on theme settings, not previous hack
-Fix drawing of relationship lines (was broken)
-Fix double initialization of theme settings
2019-03-06 12:12:42 -03:00