Commit Graph

4009 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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