Commit graph

1393 commits

Author SHA1 Message Date
Rémi Verschelde
f43ee4aff8
Merge pull request #26639 from YeldhamDev/tileeditor_coordnav_disable
Disable coord navigation buttons in TileSet editor when no texture is selected
2019-03-05 16:59:05 +01:00
Rémi Verschelde
ae24258842
Merge pull request #26622 from pyrophone/TilesetPreviewFix
Fixed Tileset preview stretching textures
2019-03-05 16:57:21 +01:00
Gio Aleman
4cf197fa48 Fixed Tileset preview stretching textures 2019-03-05 09:53:08 -05:00
Michael Alexsander Silva Dias
9b52ad5caf Disable coord navigation buttons in TileSet editor when no texture is selected 2019-03-05 11:22:44 -03:00
Andrii Doroshenko (Xrayez)
a4e6e2f342 Ensure to disable freelook when leaving spatial editor
Fixes and prevents the problem with mouse getting stuck in MOUSE_MODE_CAPTURED when switching to canvas item editor plugin by any means other than manually (with mouse).
2019-03-05 12:42:25 +02:00
Rémi Verschelde
3aff78f532
Merge pull request #26599 from MarianoGnu/fix_25817
TileSetEditor: Expose to the user OneWayCollision+Margin properties.
2019-03-05 00:19:48 +01:00
Juan Linietsky
5b77aa6bea Ensure shader is not set if code did not change 2019-03-04 19:39:06 -03:00
Tomasz Chabora
4599e98341 Add UndoRedo for Generate AABB (Particles) 2019-03-04 21:00:56 +01:00
Juan Linietsky
53bec9deeb Fix and restore text, material and mesh previewers. 2019-03-04 15:53:18 -03:00
Mariano Suligoy
33406131c1 TileSetEditor: Expose to the user OneWayCollision+Margin properties. Fixes #25817. 2019-03-04 14:10:31 -03:00
Rémi Verschelde
878950db16
Merge pull request #26590 from Chaosus/fix_sprite_region_crash
Fix editor crash when converting sprite to 2D mesh
2019-03-04 16:58:39 +01:00
Chaosus
8b5e070ec7 Fix editor crash when converting sprite to 2D mesh 2019-03-04 17:37:38 +03:00
xDGameStudios
d2f73d4a27 Add UndoRedo on Generate Visibility Rect (Particles2D) 2019-03-04 12:49:32 +00:00
Rémi Verschelde
c0e1c66e3d
Merge pull request #26385 from MarianoGnu/tileset_editor
TileSetEditor: Improvements and fixes
2019-03-03 11:24:16 +01:00
Mariano Suligoy
7b933d70a8 TileSetEditor: Allow to toggle Convex/Concave collisions. Alternative fix to #24003 2019-03-02 19:40:56 -03:00
Mariano Suligoy
65084a70fd Allow to change selection of collision shapes added to the same tile. Fixes #26369. 2019-02-28 22:45:16 -03:00
Mariano Suligoy
33be8b0701 Allow to change selection around all tiles on the texture without clicking on them. Fixes #25203. Fixes #22077 2019-02-28 20:48:34 -03:00
Michael Alexsander Silva Dias
6cf1a94af0 Make TileSet editor's workspace change size according to region changes 2019-02-27 22:40:54 -03:00
Rémi Verschelde
ce615c1a82
Merge pull request #26352 from bojidar-bg/21633-progress-stylebox
Fix minimum size of ProgressBar-s
2019-02-27 17:19:01 +01:00
Bojidar Marinov
a7b564db6e
Fix minimum size of ProgressBar-s
Was a leftover from 0a1c1c660f.
Fixes #21633.
2019-02-27 15:56:49 +02:00
Rémi Verschelde
f0f277faf1
Merge pull request #26330 from AlmostBearded/tileseteditor_multiplecollisionshapes
Allow Creation of Multiple Collision Shapes for Tiles
2019-02-27 11:33:45 +01:00
Hein-Pieter van Braam
464e1142c4 Don't crash on previewing an AtlasTexture without a region 2019-02-27 00:44:09 +00:00
Peter Oberrauner
657f83148c Allow Creation of Multiple Collision Shapes for Tiles #24003 2019-02-26 23:45:01 +01:00
Bojidar Marinov
1a397a7878
Consider StaticBody and NavMesh position when converting to a MeshLibrary
Would have added mesh transform, but realized that will cause problems when moving the mesh around the scene for visualization purposes.

Closes #11722
2019-02-26 15:38:23 +02:00
Juan Linietsky
f436047cf5 Clear canvas item after rendering font, fixes #23774 2019-02-23 21:31:09 -03:00
Juan Linietsky
bfa9be85d3 Remove copy and use instance material override in gizmos, fixes #23783 2019-02-23 20:20:54 -03:00
Juan Linietsky
fd68bb2596 -Treat scalar conversions when calling functions as error, closes #24261
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
2019-02-23 17:55:09 -03:00
Mariano Suligoy
5a21847f23 TileSetEditor: Show Edition Context by demand 2019-02-23 00:04:31 -03:00
Juan Linietsky
7f63b0e8cd Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Michael Alexsander Silva Dias
3ef8238c1c Make translatable some undo/redo operations in the editor 2019-02-21 16:41:01 -03:00
marxin
8d51618949 Add -Wshadow=local to warnings and fix reported issues.
Fixes #25316.
2019-02-20 19:44:12 +01:00
Rémi Verschelde
1f257d3f8c
Merge pull request #26085 from mrcdk/tileset_shape_rectangle
Added a create rectangle button to the tileset editor.
2019-02-20 13:26:51 +01:00
MrCdK
7827c2fd57 Added a create rectangle button to the tileset editor.
It makes easier to create collision shapes covering the full tile.
2019-02-20 12:27:53 +01:00
Rémi Verschelde
d1f68e2eaf Add tooltip for in-editor FPS display in 3D viewport
Also enhance Control/Label documentation about tooltips and mouse filter,
as it took me a while to understand why Labels didn't show tooltips.

Closes #26082.
2019-02-20 12:16:22 +01:00
Rémi Verschelde
6201159a47
Merge pull request #25958 from YeldhamDev/poly2d_edit_disable_fix
Fix Polygon2D Editor interacting with its buttons too soon
2019-02-16 23:16:53 +01:00
Michael Alexsander Silva Dias
637f41e833 Fix Polygon2D Editor interacting with its buttons too soon 2019-02-16 20:13:02 -02:00
Rémi Verschelde
4f6dd779a3
Merge pull request #25913 from Chaosus/fix_gizmo_icons
Fix icon color for gizmos menu when theme changed
2019-02-16 23:06:46 +01:00
Michael Alexsander Silva Dias
8bef68fe6f Better and non-buggy Polygon2D editing disabling 2019-02-16 16:46:09 -02:00
Michael Alexsander Silva Dias
aca756fce8 Revert "Disallow polygon2D editing if internal vertices exists, as suggested in #24853"
This reverts commit 419fb45a3e.
2019-02-16 16:43:51 -02:00
Fabio Alessandrelli
1aa1f42963 Fix uninitialized value 2019-02-16 16:01:20 +01:00
Chaosus
a51088a7f9 Fix icon color for gizmos menu when theme changed 2019-02-15 20:32:38 +03:00
marxin
7ae160f661 Fix 2 more UBSAN issues (#25217). 2019-02-14 20:47:35 +01:00
Juan Linietsky
419fb45a3e Disallow polygon2D editing if internal vertices exists, as suggested in #24853 2019-02-13 13:11:39 -03:00
Juan Linietsky
7f69da488e Change some editing display options to make it clearer, as requested in #24853 2019-02-13 11:42:05 -03:00
Rémi Verschelde
d2765cd04a
Merge pull request #25814 from allkhor/hide_warning_panel
Hide the warning panel when no warnings presents.
2019-02-13 12:56:59 +01:00
allkhor
0137ec3468 Hide the warnings panel when no warnings presents. 2019-02-13 17:01:21 +06:00
Rémi Verschelde
55ca2a7c88
Merge pull request #25821 from akien-mga/sync-class-and-filenames
Ensure classes match their header filename
2019-02-13 08:49:39 +01:00
samHFIT
5e28fa53c4 Fixes issue #25822 2019-02-12 12:30:56 -05:00
Rémi Verschelde
c5dcbeb160 Scene: Ensure classes match their header filename
Also drop some unused files.

Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`

Dropped:
- `scene/resources/bounds.h`
2019-02-12 17:21:48 +01:00
Rémi Verschelde
b7cc2bb1e2 Core: Ensure classes match their header filename
Also drop some unused files.

Renamed:
- `core/dvector.h` -> `pool_vector.h`
- `core/io/resource_import.h` -> `resource_importer.h`
- `core/sort.h` -> `sort_array.h`
- `core/string_db.h` -> `string_name.h`

Dropped:
- `core/allocators.h`
- `core/os/shell.h`
- `core/variant_construct_string.cpp`
2019-02-12 13:34:25 +01:00
Rémi Verschelde
ba0a4a942e i18n: Sync translation template with current source 2019-02-10 13:19:03 +01:00
qarmin
c8f084b0d5 Fix latest regression error in SpriteFramesEditor 2019-02-09 12:50:19 +01:00
Rémi Verschelde
8253cdbda3
Merge pull request #25692 from YeldhamDev/spriteframes_editor_changes
Small changes to the SpriteFrames editor
2019-02-08 19:52:20 +01:00
Rémi Verschelde
5e837b3f13
Merge pull request #25552 from groud/better_error_message
Displays errors and warnings in a better way in the script editor
2019-02-08 17:03:55 +01:00
Michael Alexsander Silva Dias
d3082c99b5 Small changes to the SpriteFrames editor 2019-02-07 22:54:59 -02:00
hsandt
5165a90ef6 [Script Editor] Refactored ScriptTextEditor::_edit_option by extracting EDIT_TOGGLE_COMMENT case
CodeEditor::toggle_inline_comment is now used by both ScriptTextEditor and ShaderEditor
2019-02-04 20:21:08 +01:00
Gilles Roudière
5f981d7fef Displays errors and warnings in a better way in the script editor 2019-02-01 17:20:59 +01:00
Rémi Verschelde
58de384978
Merge pull request #25540 from JFonS/remove_gizmo_errors
Fix gizmo errors on "Align with view"
2019-02-01 14:12:37 +01:00
JFonS
2232d3336e Fix gizmo errors on "Align with view" 2019-02-01 12:16:05 +01:00
volzhs
1c14da3273 Remove unnecessary call VS::get_singleton() twice 2019-01-29 02:55:13 +09:00
Rémi Verschelde
2ad6212a3f
Merge pull request #25372 from JFonS/add_gizmo_docs
Minor fixes and documentation for Spatial Gizmos
2019-01-27 19:06:42 +01:00
JFonS
e90fb5b0ab Minor fixes and documentation for Spatial Gizmos 2019-01-27 18:40:01 +01:00
Rémi Verschelde
1bed784c9a
Merge pull request #25380 from godotengine/fix_pivot
Fixes the pivot setting with control nodes
2019-01-27 18:20:06 +01:00
Juan Linietsky
a089061120 Fix pixelized previews, but also instances of breaking ImageTexture cache. Closes #25378. 2019-01-27 13:41:47 -03:00
Gilles Roudiere
d3619f8743 Disables the Layout menu when a Control node is child of a container 2019-01-27 16:36:10 +01:00
Gilles Roudiere
3cfd80b0bf Fixes the pivot setting with control nodes 2019-01-27 15:51:45 +01:00
groud
8676370aa5 Fixes Node2D selection not adapting to editor zoom level 2019-01-24 20:43:11 +01:00
Rémi Verschelde
4a184a79e0
Merge pull request #25215 from akien-mga/scripteditor-goto-line
Fix going to script line on VisualScript errors
2019-01-22 12:19:15 +01:00
Rémi Verschelde
79a4c41b22 Fix going to script line on VisualScript errors
Fixes #18103, which was a regression from #16888.
2019-01-22 10:55:55 +01:00
Michael Alexsander Silva Dias
f1cd587bbd Make the Texture Region Editor able to edit regions of Sprite3Ds 2019-01-21 16:52:57 -02:00
groud
056ea997e5 Displays the pivot all the time and rotate the icon 2019-01-18 19:30:45 +01:00
Juan Linietsky
541422a4a2 Clean up and fix issues after merging #21701 , closes #21104 2019-01-18 13:01:24 -03:00
Rémi Verschelde
e4f1b995cc Fix radio buttons support in ItemListEditorPlugin
This was missed in bf14a6deff.
2019-01-17 16:14:01 +01:00
jlahman
b8a524efa3 Fix order of a nullptr test in canvas item editor 2019-01-16 01:11:11 -05:00
Juan Linietsky
96445cd90e Clear internal vertex counter when redrawing polygons, closes #24862. 2019-01-15 15:43:55 -03:00
Juan Linietsky
6f884cc884 Use SceneTreeDock to replace particles node properly, fixes #24162 2019-01-14 13:41:54 -03:00
Rémi Verschelde
0222841357 i18n: Sync translation template with current source 2019-01-14 16:42:58 +01:00
Rémi Verschelde
8972c05e80
Merge pull request #24899 from YeldhamDev/poly2duv_editor_undoredo_fix
Fix UndoRedo operations for the new features in the Polygon2D UV Editor
2019-01-11 10:08:05 +01:00
Juan Linietsky
2cd15849f9 Fixes to auto triangle editing in BlendSpace2D 2019-01-10 21:40:46 -03:00
Michael Alexsander Silva Dias
7cef10a503 Fix UndoRedo operations for the new features in the Polygon2D UV Editor 2019-01-10 22:20:06 -02:00
groud
c48f92e394 Fixes 2D bones selection 2019-01-09 20:55:04 +01:00
Guilherme Felipe
c7d4807b7b Hides error_panel of state machine on the first time. 2019-01-09 15:16:41 -02:00
x2f
b50fa06c6d
Fix for issue #24810 (find in files logic)
Match case check box was used for whole words as well as match case.
2019-01-09 00:23:46 -05:00
Juan Linietsky
e46f28e02d Removed splits in Polygon editor, replace by internal vertices and polygon support. 2019-01-08 19:11:08 -03:00
Rémi Verschelde
ac8ae09bc3 i18n: Sync translation template with current source
Misc fixes to source strings.
2019-01-07 16:57:52 +01:00
Rémi Verschelde
db33b03f49
Merge pull request #24814 from YeldhamDev/animtree_editor_statemach_scrolls
Move scrolls in the StateMachine editor inside the panel
2019-01-07 15:11:05 +01:00
Michael Alexsander Silva Dias
67ac8fe359 Move scrolls in the StateMachine editor inside the panel 2019-01-07 00:21:48 -02:00
Guilherme Felipe
59df3ca911 Fix state machine scroll 2019-01-06 12:35:12 -02:00
Rémi Verschelde
495e40cff8
Revert "Fix blend tree generating wrong node names" 2019-01-04 19:45:39 +01:00
Timo Schwarzer
163e0e3ebd
Add thumbnails to LargeTexture 2019-01-03 13:09:25 +01:00
Rémi Verschelde
f1d1ecb383
Merge pull request #24686 from YeldhamDev/autotile_grid_separation_fix
Fix incorrect grid snapping in TileSet editor with separation
2019-01-01 19:04:04 +01:00
Rémi Verschelde
b16c309f82 Update copyright statements to 2019
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
d1f3b622f0 Fix missing/malformed license headers 2019-01-01 12:46:36 +01:00
Michael Alexsander Silva Dias
07fdd2c702 Fix incorrect grid snapping in TileSet editor with separation 2018-12-31 13:36:51 -02:00
Rémi Verschelde
ac46862097
Merge pull request #24506 from JFonS/expose_gizmos
Expose the new gizmo plugin system to scripting
2018-12-30 15:42:30 +01:00
Rémi Verschelde
1d7b69ebbc
Merge pull request #24664 from SoIAS/graph_node_headers_statemachine-24458
Removed graph node headers from state machine nodes
2018-12-30 14:06:58 +01:00
Michael Alexsander Silva Dias
4a91f94c13 Add undo-redo to the TileSet editor, and other improvements 2018-12-30 10:54:03 -02:00
Dawid Wdowiak
58ae20f239 Removed graph node headers from state machine nodes 2018-12-30 09:25:13 +01:00
Michael Alexsander Silva Dias
8aad7ef016 General fixes for the TileSet editor 2018-12-24 18:27:43 -02:00
Guilherme Felipe
8a202bc223 Fix blend tree generating wrong node names
Now it's possible to connect nodes again.
2018-12-22 12:18:04 -02:00