Rémi Verschelde
220ff5baf2
Merge pull request #31829 from KoBeWi/one_tool_to_ruler_2d
...
Add 2D ruler tool
2019-09-02 10:34:09 +02:00
Tomasz Chabora
05e5faa876
Add 2D ruler tool
2019-09-01 18:36:41 +02:00
Cykyrios
ed00313a0b
Reorganize & rename text editor settings categories
...
Add Navigation category for scroll and minimap settings.
Rename Line Numbers category to Appearance.
Rename Open Scripts category to Script List.
Rename "Draw Minimap" setting to "Show Minimap" (this is more consistent with other settings).
Reorder settings by category in code_editor.cpp to match settings list
2019-09-01 13:33:37 +02:00
Chaosus89
8fd8589547
Fix resizer icon visiblity on light theme in GraphNode
2019-09-01 09:12:26 +03:00
Rémi Verschelde
3fdf85cd9b
Merge pull request #31794 from Calinou/editor-increase-line-spacing
...
Increase line spacing in the editor help and asset library descriptions
2019-08-31 22:09:15 +02:00
Rémi Verschelde
7cf58a7f66
Merge pull request #31808 from qarmin/crash_audioogg
...
Fix crash when AudioStreamOGGVorbis is empty
2019-08-31 22:08:37 +02:00
Bhupendra Aole
1de3ec911f
Default ColorPicker color mode setting
...
There is a new setting for Default ColorPicker color mode in Editor Settings->Interface->Inspector. Initially this setting will be RGB. Editor ColorPicker will always start with mode defined in this settiing.
Fixes #30755 and #30754
2019-08-31 00:34:33 -04:00
qarmin
2cd2197362
Fix crash when AudioStreamOGGVorbis is empty
2019-08-30 20:01:14 +02:00
merumelu
e2459479de
Editor: remove TOOLS_ENABLED guards
...
For code inside editor/ `#ifdef TOOLS_ENABLED`
is always true so those checks are redundant.
2019-08-30 19:02:46 +02:00
Hugo Locurcio
d6984f7311
Increase line spacing in the editor help and asset library descriptions
...
This makes for more readable text.
2019-08-30 15:08:24 +02:00
Chaosus89
19d449ec4c
Fix few icons in SpatialEditor which don't update when theme changed
2019-08-30 11:26:01 +03:00
Michael Alexsander Silva Dias
edc3600560
Minor cleanup of the AssetLib's asset dialog
2019-08-29 02:37:44 -03:00
Michael Alexsander Silva Dias
6ce2701abe
AssetLib minor fixes and enhancements
2019-08-28 01:36:09 -03:00
Rémi Verschelde
d8de8d5e34
Merge pull request #31722 from Calinou/assetlib-improve-image-loading-speed
...
Improve image loading performance in the asset library
2019-08-27 20:19:17 +02:00
Hugo Locurcio
89c13c3ae9
Display a "broken file" icon for missing images in the asset library
...
This partially addresses #31683 .
2019-08-27 19:45:25 +02:00
Hugo Locurcio
2ed7bf58ba
Improve image loading performance in the asset library
...
This closes #31614 .
2019-08-27 19:41:49 +02:00
Rémi Verschelde
5883f912b3
Merge pull request #31676 from KoBeWi/this_shader_is_a_history
...
Clear undo history on shader load
2019-08-26 22:02:53 +02:00
Rémi Verschelde
bf8322376c
Merge pull request #31674 from dankan1890/drag&drop_tileset
...
Added drag and drop to the tileset plugin.
2019-08-26 15:50:25 +02:00
Tomasz Chabora
766b27662a
Clear undo history on shader load
2019-08-26 15:15:29 +02:00
Rémi Verschelde
816ddd7817
Merge pull request #31556 from Chaosus/gles2_inverse
...
Implemented inverse shader function to GLES2
2019-08-26 13:52:03 +02:00
Rémi Verschelde
1222df0ad0
Merge pull request #31585 from 2shady4u/removeguides
...
Added button/shortcut for removing all guides
2019-08-26 13:51:10 +02:00
Rémi Verschelde
f6984e8058
Merge pull request #31615 from Calinou/assetlib-improve-loading
...
Improve loading UX in the asset library
2019-08-26 12:05:11 +02:00
dankan1890
1f560c4679
Added drag and drop to the tileset plugin.
2019-08-26 11:15:19 +02:00
Yuri Roubinski
ac4e6f0041
Fix _get_description param name (visual shaders)
2019-08-25 13:06:16 +03:00
Yuri Roubinski
1d2e5f281e
Fixes for visual shader member filter
2019-08-25 11:01:42 +03:00
Yuri Roubinski
494ea78610
Small performance fix for preview in visual shader
2019-08-25 09:22:09 +03:00
Yuri Roubinski
7f350a2c71
Enhanced preview for a visual shader to show errors
2019-08-25 08:42:21 +03:00
shaderbeast
c6fb6a6a21
Added button/shortcut for removing all guides
...
Added undo/redo
Correctly added has_meta
2019-08-24 22:58:16 +02:00
Hugo Locurcio
f524dc5da6
Improve loading UX in the asset library
...
The asset library will now fade when loading pages instead
of displaying a progress bar, which is a more common design pattern
when browsing an online resource's pages.
A "Loading..." text will be displayed before the first page loads.
2019-08-24 03:08:52 +02:00
Rémi Verschelde
2e5ba32b4b
Merge pull request #31545 from groud/add_smart_snapping_display
...
Displays smart snapping guides when snapped
2019-08-22 13:12:09 +02:00
Yuri Roubinski
4dcee2035a
Implemented inverse shader function to GLES2
2019-08-22 08:22:49 +03:00
Gilles Roudière
692a78db19
Displays smart snapping guides when snapped
2019-08-21 22:15:51 +02:00
Tomasz Chabora
9520d9706a
Edit TileMap only with TOOL_SELECT
2019-08-21 20:56:15 +02:00
Rémi Verschelde
e6c4ef3455
Merge pull request #31486 from KoBeWi/typos_must_die
...
Fix various typos and style errors in text
2019-08-20 12:50:12 +02:00
Rémi Verschelde
5d8951764a
Merge pull request #31466 from Calinou/improve-2d-path-editors
...
Improve the appearance of 2D path editors
2019-08-20 12:45:47 +02:00
Tomasz Chabora
7e075029c8
Fix various typos and style errors in text
2019-08-19 20:43:42 +02:00
Hugo Locurcio
558e93f069
Improve the appearance of 2D path editors
...
- Add new handle icons for path/polygon editors
- Add smooth path point icons and curve tangent icons
- Use a gray color for tangent lines in the Path2D and Path editors
- Use antialiasing for Path2D lines
2019-08-18 22:27:01 +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
Yuri Roubinski
e3b43771aa
Added global expressions to visual shaders
2019-08-18 08:49:56 +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
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
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
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
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
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
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
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
Michael Alexsander Silva Dias
b7c2bcff76
Regression fixup to the theme editor
2019-08-13 15:43:07 -03:00
Rémi Verschelde
f8574da2c2
Merge pull request #31338 from Calinou/reorganize-menus
...
Reorganize various menus for consistency and conciseness
2019-08-13 16:52:42 +02:00
Hugo Locurcio
9e1c23a353
Reorganize various menus for consistency and conciseness
...
- Clean up the recent scripts dialog to match the recent scenes dialog
- Add "..." at the end of shortcuts that cause a modal dialog to appear
This closes #31148 .
2019-08-13 11:52:10 +02:00
Michael Alexsander Silva Dias
3d86ef74e7
Add "Find in Files..." to the text editor
2019-08-12 11:49:45 -03:00
Rémi Verschelde
37a16fee05
Export: Remove temp files from cache after export
...
So far we left most temporary files lying around, so this attempts to
fix that.
I added a helper method to DirAccess to factor out the boilerplate of
creating a DirAccess, checking if the file exists, remove it or print
an error on failure.
2019-08-12 13:31:59 +02:00
IAmActuallyCthulhu
82b9557803
Remove redundant author doc comments
2019-08-12 04:26:38 -05:00
Rémi Verschelde
b18747af4b
Merge pull request #31179 from KoBeWi/code_editor_magic
...
Add Evaluate Selection option to Script Editor
2019-08-12 11:19:26 +02:00
Rémi Verschelde
6c8434a98d
Merge pull request #31251 from YeldhamDev/text_editor_goto_full
...
Move "Go to Line..." from "Edit" to "Go To" in text editor
2019-08-12 10:00:47 +02:00
Rémi Verschelde
a1dde73372
Merge pull request #31247 from YeldhamDev/theme_editor_fixup
...
Minor fixups to the theme editor
2019-08-12 09:59:29 +02:00
miwanczuk
7254284efd
Adds support for undo/redo for in-editor color picker
2019-08-10 00:46:31 +02:00
Michael Alexsander Silva Dias
68ce87fbab
Move "Go to Line..." from "Edit" to "Go To" in text editor
2019-08-09 17:23:42 -03:00
Michael Alexsander Silva Dias
1c872c75db
Minor fixups to the theme editor
2019-08-09 16:26:43 -03:00
Rémi Verschelde
24a6b3f382
Merge pull request #31222 from YeldhamDev/editplugins_cosmetic_changes
...
Minor cosmetic changes in some editor plugins
2019-08-09 10:07:14 +02:00
Rémi Verschelde
6bb2717005
Merge pull request #31220 from YeldhamDev/goto_single_menu
...
Move "Go to Function/Line" to "Go To" menu
2019-08-09 09:38:10 +02:00
Rémi Verschelde
806c315a05
Merge pull request #31193 from creikey/cpuparticles-gizmo
...
Add particles icon to CPUParticles
2019-08-09 09:06:49 +02:00
Michael Alexsander Silva Dias
eeb9268800
Minor cosmetic changes in some editor plugins
2019-08-08 23:22:33 -03:00
Michael Alexsander Silva Dias
31584dd511
Move "Go to Function/Line" to "Go To" menu
2019-08-08 22:36:51 -03:00
Cameron Reikes
345fcb96a2
Add particles icon to CPUParticles
2019-08-08 16:28:01 -07:00
Rémi Verschelde
460226cb71
Merge pull request #31042 from iwek7/fixColorPickerInEditor
...
Fixes color picker in code editor - it now only changes one color
2019-08-08 22:03:14 +02:00
Rémi Verschelde
19f41bd224
Merge pull request #31212 from YeldhamDev/script_editor_icon_update
...
Update icons in script editor when theme changes
2019-08-08 21:59:49 +02:00
Yuri Roubinski
6c8a55aa0d
Fix incorrect search member in visual shaders
2019-08-08 22:19:42 +03:00
iwek7
e7b07e1e58
Fixes color picker in code editor - now it only changes one color
2019-08-08 19:12:13 +02:00
Michael Alexsander Silva Dias
7bb7b77a07
Update icons in script editor when theme changes
2019-08-08 13:39:53 -03:00
Rémi Verschelde
6362330350
Merge pull request #31178 from Chaosus/vs_copy_between_graphs
...
Allow copy/paste nodes between vertex/fragment/light modes in vshaders
2019-08-08 13:49:18 +02:00
Rémi Verschelde
67a9f2646b
Merge pull request #31196 from bojidar-bg/31115-asset-library-save-error
...
Handle all download errors in the asset library
2019-08-08 10:50:39 +02:00
Bojidar Marinov
2b08cc16f1
Handle all download errors in the asset library
...
Addresses part of #31115
2019-08-08 10:06:26 +03:00
Michael Alexsander Silva Dias
699afca7ef
Fix error when going to a text file by clicking in a result from "Find in files"
2019-08-07 23:06:33 -03:00
Tomasz Chabora
282deb9a7a
Add Evaluate Selection option to Script Editor
2019-08-08 00:28:33 +02:00
Yuri Roubinski
5e9052fae3
Allow copy/paste nodes between vertex/fragment/light modes in visual shaders
2019-08-07 16:46:47 +03:00
Rémi Verschelde
a909efeb12
Merge pull request #31173 from sparkart/search_in_tscn
...
Fix Find in Files Not Working Properly
2019-08-07 11:56:18 +02:00
Emmanuel Barroga
0d8c7c30a0
Fix Find in Files Not Working Properly
...
When using the "Find in Files" option to search in non-script files (e.g. .tscn), the search does not work properly.
2019-08-06 23:57:14 -07:00
Rémi Verschelde
78e84c29e6
Merge pull request #31057 from Chaosus/vs_mix_improvements
...
Some improvements to Mix visual shader function
2019-08-07 08:22:08 +02:00
Hugo Locurcio
4a28657cf5
Tweak range steps in the animation editor
...
This makes the step of the "frame" SpinBox larger, so that clicking
on the SpinBox arrows will make the number increase in a visible manner.
Previously, the full number was being cut off due to the SpinBox
being narrow.
This also makes the "step" SpinBox allow for more precise input.
2019-08-06 12:25:53 +02:00
Yuri Roubinski
d0dc195da8
Some improvements to Mix visual shader function
2019-08-06 08:06:49 +03:00
Hugo Locurcio
8b12498f8b
Improve snapping in the animation editor
...
Snapping can now be toggled temporarily by holding the Ctrl key.
Toggling timeline snapping is now done with the "Snap" checkbox rather
than by setting the animation's "Step" setting to 0.
The timeline cursor can no longer exit the animation's boundaries
if the animation's "Step" is set to 0.
2019-08-06 01:44:10 +02:00
Yuri Roubinski
43ee35431e
Fix opening of sub-resource properties in visual shaders
2019-08-05 17:13:02 +03:00
Rémi Verschelde
7c3805019d
Merge pull request #31085 from sparkart/fix_redundant_navpolygons
...
Fix Redundant Navigation Polygons
2019-08-05 09:43:35 +02:00
Rémi Verschelde
7d5ad99cde
Merge pull request #31063 from rzllmr/fix-tilemap-order
...
Fix row-column-swap in TileMap palette
2019-08-05 08:12:14 +02:00
Rémi Verschelde
d9bba94d60
Merge pull request #31053 from aaronfranke/vector2i-cleanup
...
Some minor Vector2i usage cleanup
2019-08-05 08:08:57 +02:00
Rémi Verschelde
00efb61fbd
Merge pull request #31048 from Calinou/fix-gizmo-size-low-viewport-height
...
Fix 3D manipulator the gizmo growing too large on small viewports
2019-08-05 08:07:13 +02:00
Emmanuel Barroga
6c83550dfc
Fix Redundant Navigation Polygons
...
When adjusting the vertices of a navigation polygon, the tile editor would create a duplicate navigation polygon. So each time you made an adjustment, another copy of the polygon would be created.
2019-08-04 16:09:57 -07:00
rzllmr
653039151a
Fix row-column-swap in TileMap palette
...
Due to the TileSet coordinates using x for columns and y for rows, the
columns are assigned to the rows in the TileMap palette and distort the
order. Thus the default sorting algorithm prioritizing x is replaced
with a custom one prioritizing y.
Fixes #24751
2019-08-03 21:32:13 +02:00
Yuri Roubinski
8a0767d883
Return back spacer for non-expression nodes in visual shader
2019-08-03 18:54:04 +03:00
Aaron Franke
1a06496f45
Some Vector2i usage cleanup
...
Replace casting Vector2 -> Vector2i -> Vector2 with a simple call to .floor(), and some minor fixes.
2019-08-03 01:11:05 -07:00
Hugo Locurcio
20154d3b2a
Fix 3D manipulator the gizmo growing too large on small viewports
...
This closes #27112 . This closes #19116 .
2019-08-03 03:01:32 +02:00
Yuri Roubinski
770ce20ea3
Added link to docs for shader editor
2019-08-02 17:09:04 +03:00
Rémi Verschelde
69e6dc9164
Merge pull request #31015 from Calinou/improve-gizmo-axis-colors
...
Improve the gizmo axis colors and increase the manipulator opacity
2019-08-02 11:22:27 +02:00
Rémi Verschelde
46986321c1
Merge pull request #31001 from KoBeWi/come_back_script
...
Add Reopen Closed Script option in Script Editor
2019-08-02 11:18:21 +02:00
Hugo Locurcio
d57680cf34
Improve the gizmo axis colors and increase the manipulator opacity
...
The new colors should make it easier to see the manipulator gizmo.
Highlighted gizmos are now fully opaque (instead of being white),
keeping the color information while a gizmo is highlighted.
This also adds a setting hint for the manipulator gizmo opacity
editor setting.
Axis colors were taken from Blender 2.80.
This partially addresses #16154 .
2019-08-01 14:30:35 +02:00
Tomasz Chabora
5718599bd2
Add Reopen Closed Script option in Script Editor
2019-08-01 13:32:30 +02:00
Rémi Verschelde
3a6102a6f7
Merge pull request #31010 from Chaosus/vs_fix_expression
...
Some visual fixes for Expression node in visual shaders
2019-08-01 10:50:33 +02:00
Chaosus
82e2efe591
Some visual fixes for Expression node
2019-08-01 11:03:23 +03:00
Chaosus
8b4c538ab2
Expose several GLES3 built-ins to GLES2
2019-07-31 19:00:10 +03:00
Chaosus
f704506807
Implement copy/paste in visual shaders
2019-07-31 12:43:29 +03:00
Rémi Verschelde
9da24f7e3d
Merge pull request #30938 from nobuyukinyuu/2d-editor-zoom-p1
...
Changes default canvas_item_editor coarse zoom level from 1.5 to sqrt(2)
2019-07-30 00:57:43 +02:00
nobuyuki_nyuu
3f516622c3
Changes default coarse 2d zoom level from 1.5 to sqrt(2).
2019-07-29 17:12:03 -05:00
Rémi Verschelde
b697121d75
Merge pull request #30895 from clayjohn/gles2-shader-funcs
...
Added round function to gles2
2019-07-29 22:43:26 +02:00
clayjohn
3f25dde6b4
added round function to gles2
2019-07-29 11:17:08 -07:00
Bojidar Marinov
68b5f101c7
Make it so that 2D viewport does not pan while editing tilemaps
...
Fixes #30875
2019-07-28 17:00:05 +03:00
Aaron Franke
53d2a4e905
Snap transform gizmo values in the 3D editor
...
Snap to step size, and then also be careful to only display that many digits (to avoid numbers like 1.234001)
2019-07-25 19:40:35 -04:00
Paulb23
e51aa14208
Fix memory leaks with SyntaxHighlighters
2019-07-25 17:30:48 +01:00
Rémi Verschelde
c608b6f648
Merge pull request #23334 from malbach/align_sel_view
...
Add 'Move to view' and make 'Align to view' only align
2019-07-24 08:33:23 +02:00
Rémi Verschelde
06a6507751
Merge pull request #30772 from mbrlabs/view-distance
...
Increased max view distance in spatial editor plugin
2019-07-23 16:32:09 +02:00
malbach
4a218b9862
Add 'Align Rotation with View' to spatial editor
2019-07-23 15:14:03 +02:00
Rémi Verschelde
4c943cca2c
Merge pull request #30716 from qarmin/fixed_static_analiser_code
...
Fix some code found by Coverity Scan and PVS Studio
2019-07-23 15:08:44 +02:00
Marcus Brummer
4c8fa414bb
Increased max view distance in spatial editor plugin
...
Increased from 10000 to 1000000. I also removed two related magic numbers.
Closes #30766 .
2019-07-23 11:42:41 +02:00
qarmin
aab8da25ad
Fix some code found by Coverity Scan and PVS Studio
2019-07-23 09:14:31 +02:00
Rémi Verschelde
017b224a87
Merge pull request #30713 from bojidar-bg/30615-trackpad-2d-viewport
...
Improve touchpad support in 2d editor viewport
2019-07-22 14:06:28 +02:00
Rémi Verschelde
9f5b77acc9
Revert "Expose "meta" to the Inspector"
2019-07-22 12:03:57 +02:00
Bojidar Marinov
e37594824f
Improve touchpad support in 2d editor viewport
...
Implements ideas from #30615
2019-07-20 17:55:02 +03:00
Rémi Verschelde
d15cf7b672
Merge pull request #30576 from qarmin/lgtm_coverage
...
Changed some code reported by LGTM and Coverity
2019-07-20 12:00:13 +02:00
qarmin
6cbaf7662f
Changed some code showed in LGTM and Coverage
2019-07-20 08:09:57 +02:00
qarmin
ed84c9e506
Don't allow to pass to _is_node_locked function NULL pointer
2019-07-19 17:56:35 +02:00
Rémi Verschelde
9384b6ab0e
i18n: Sync translation template with current source
...
Fix a few typos in new strings.
2019-07-19 16:08:40 +02:00
Rémi Verschelde
2ca3e47d66
Merge pull request #22642 from YeldhamDev/inspector_metadata
...
Expose "meta" to the Inspector
2019-07-19 14:39:23 +02:00
Hugo Locurcio
ddf83d93b3
Improve preview and screenshot display in the asset library
...
Images are now resized with Lanczos interpolation for higher quality.
Video thumbnails now display a "pointing hand" cursor when hovered
as they will open in an external browser.
2019-07-18 20:10:30 +02:00
Michael Alexsander Silva Dias
19d261336b
Minor improvements to the AssetLib
2019-07-17 12:35:57 -03:00
Cameron Reikes
d4bed7586d
Lower priority of anchor helper input
...
- Fixes #30132
2019-07-16 11:33:40 -07:00
Rémi Verschelde
22c843b0c4
Merge pull request #30602 from n-k-chilagani/first_time
...
Fixed Make 3D viewport locked nodes unselectable as in 2D viewport
2019-07-16 11:35:16 +02:00
Nikhil Kumar
600c153076
Fixed Make 3D viewport locked nodes unselectable as in 2D viewport #29903
2019-07-16 14:19:20 +05:30
Rémi Verschelde
0ad6a1c66e
Merge pull request #30561 from Calinou/2d-guides-use-resize-cursors
...
Use resize cursors when hovering or dragging guides in the 2D editor
2019-07-16 08:54:04 +02:00
Hugo Locurcio
0fb80d7b0f
Use resize cursors when hovering or dragging guides in the 2D editor
...
This also tweaks the casing in undo/redo action names for consistency.
This closes #30550 .
Co-authored-by: Emmanuel Barroga <emmanuelbarroga@gmail.com>
2019-07-15 14:24:45 +02:00
Rémi Verschelde
58fd123f45
Merge pull request #30581 from KoBeWi/tiled_shorts
...
Add tilemap editor rotation hotkeys
2019-07-15 11:02:40 +02:00
Rémi Verschelde
1db3d987b2
Merge pull request #30565 from bojidar-bg/27468-region-editor-in-the-way
...
Fix TextureRegionEditorPlugin popping up even when explicitly hidden
2019-07-15 08:17:24 +02:00
Rémi Verschelde
23f5154de7
Merge pull request #30532 from Chaosus/vs_triplanar
...
Added triplanar uniform texture node to visual shaders
2019-07-15 07:56:06 +02:00
Chaosus
e82b5e910a
Better boolean indication in visual shaders
2019-07-15 08:31:51 +03:00
Tomasz Chabora
38d9434098
Add tilemap editor rotation hotkeys
2019-07-14 15:46:47 +02:00
Bojidar Marinov
b648d3e110
Fix TextureRegionEditorPlugin popping up even when explicitly hidden
...
Fixes #27468
2019-07-13 21:55:32 +03:00
Chaosus
d56fc13cad
Highlight GLES3 functions in the visual shader member panel
2019-07-12 17:58:13 +03:00
Rémi Verschelde
584ca0f156
Merge pull request #30466 from Chaosus/vs_boolean_funcs
...
Added "Is" and "Compare" functions to visual shaders
2019-07-12 13:20:44 +02:00
Chaosus
9d6e1e3109
Added "Is" and "Compare" functions to visual shaders
2019-07-12 13:43:37 +03:00
Chaosus
0727caadd1
Added triplanar uniform texture node to visual shaders
2019-07-12 12:14:34 +03:00
Rémi Verschelde
3045697e4b
Merge pull request #30527 from bojidar-bg/29436-timescale-node-uneditable
...
Fix AnimationTree editor messing up parameters when nested
2019-07-11 22:04:29 +02:00
Bojidar Marinov
6d92750cf7
Fix AnimationTree editor messing up parameters when nested
...
Fixes #29436
2019-07-11 21:18:53 +03:00
Hugo Locurcio
5c0ee4a790
Improve line drawing in the 2D editor
...
- Use antialiasing (only visible when using the GLES3 renderer)
- Scale line widths on hiDPI displays
This also removes some debugging prints.
2019-07-11 16:05:09 +02:00
Rémi Verschelde
34d7484039
Merge pull request #30455 from qarmin/const_reference
...
Pass by reference to const
2019-07-10 15:43:15 +02:00
qarmin
01cc7a996b
Use reference to constant in functions
2019-07-10 11:54:12 +02:00
Hugo Locurcio
2491c87f86
Add `width` and `antialiased` parameters to CanvasItem `draw_rect()`
...
This also removes some duplicated editor code which is now obsoleted
by the new parameters in `draw_rect()`.
2019-07-09 20:30:18 +02:00
Hugo Locurcio
28d3a6051c
Use base `Color()` constructors instead of `Color::html()`
...
This results in slightly smaller binaries (-17 KB for an editor binary)
as no strings need to be allocated.
2019-07-08 21:17:10 +02:00
Rémi Verschelde
af80182016
Merge pull request #30407 from qarmin/small_fixess
...
Fixes minor issues found by static analyzer
2019-07-08 08:16:50 +02:00
qarmin
9a77d748c0
Fixes minor issues found by static analyzer
2019-07-07 23:08:51 +02:00
Ibrahn Sahir
4e4697b1c4
Added release function to PoolVector::Access.
...
For clarity, assign-to-release idiom for PoolVector::Read/Write
replaced with a function call.
Existing uses replaced (or removed if already handled by scope)
2019-07-06 12:04:27 +01:00
geequlim
253cd73f1d
Fix code completion for shader editor
2019-07-06 12:03:17 +08:00
Ignacio Etcheverry
aa9908e4f6
Script API methods must return Ref<T> instead of Reference*
...
ptrcall assumes methods that return a Reference type do so with Ref<T>. Returning Reference* from a method exposed to the scripting API completely breaks ptrcalls to this method (it can be quite hard to debug!).
2019-07-05 09:38:28 +02:00
Geequlim
ed7ed52151
Parse more informations for code completion
2019-07-04 14:00:14 +08:00
Hugo Locurcio
0ce59bf6dd
Implement snapping for most 3D gizmos
2019-07-03 12:26:01 +02:00
Rémi Verschelde
8c78a4b78f
Merge pull request #30264 from Calinou/add-csg-gizmo-snapping
...
Implement snapping in the CSG gizmos and 3D polygon editor
2019-07-03 07:01:01 +02:00
Rémi Verschelde
4dec1bde77
Merge pull request #30231 from Ranoller/master
...
Tilemap fix displaced textures and shapes and added center texture and compatibility mode
2019-07-02 21:43:16 +02:00
Rémi Verschelde
9e1e4defef
Merge pull request #30228 from YeldhamDev/go_to_menu
...
Add "Go To" menu to the script editor and move the bookmark and breakpoint menus there
2019-07-02 21:41:29 +02:00
Hugo Locurcio
527fb3968a
Implement snapping in the CSG gizmos and 3D polygon editor
...
The spatial editor snap settings will now affect the CSG gizmos
and 3D polygon editor (which is used in CSGPolygon).
2019-07-02 20:02:07 +02:00
Ranoller
14e2a99129
Tilemap fix displaced textures and shapes and added center texture and compatibility mode
...
This commit fix #22989 #15249 #28206 . Main problem is that tilemap displace textures in different tile origins in a strange way and doesn´t respect coincidence between texture and shapes in not uniform tiles. This issue is present in godot 3.0 and godot 3.1. To maintain compatibility are added a compatibility mode and a center texture option. Other related issues and pull request: #28896 #29487 #29519 #29961 . Idications of #30204 are added
2019-07-02 17:12:58 +02:00
Rémi Verschelde
bc00332286
Fix TTR strings for VisualShaderNodes
...
It had been done wrongly in #30185 , but I missed it.
2019-07-02 13:29:26 +02:00
Michael Alexsander Silva Dias
91d357f177
Add "Go To" menu to the script editor and move the bookmark and breakpoint menus there
2019-07-01 16:00:05 -03:00
Rémi Verschelde
f5d9454a4b
Merge pull request #29071 from YeldhamDev/improve_bookmarks
...
Improve bookmarks
2019-07-01 16:34:17 +02:00
Rémi Verschelde
b0ce9401ff
Merge pull request #30126 from qarmin/remove_unnecessary_code
...
Remove unnecessary code and add some error explanations
2019-07-01 14:32:04 +02:00
qarmin
3c154eb93b
Remove unnecessary code and add some error explanations
2019-07-01 12:59:42 +02:00
Rémi Verschelde
d17eac735c
Merge pull request #29815 from NilsIrl/plus_file_1
...
Replace ` + "/" + ` with `String::file_add()`
2019-07-01 12:06:35 +02:00
Rémi Verschelde
b4aba3ae7c
Merge pull request #30177 from hbina/use_FALLTHROUGH_macro
...
Applied some of FALLTHROUGH macro usage from #30122
2019-06-29 23:40:08 +02:00
hbina085
9f0c6a6009
Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
2019-06-29 16:08:48 -04:00
Rémi Verschelde
187d8addf9
Merge pull request #30152 from Chaosus/vs_conversion
...
Added convertor from VisualShader to Shader
2019-06-29 18:40:28 +02:00
Rémi Verschelde
4ca22d81d7
Merge pull request #30156 from qarmin/fix_memory_leak_in_tilemap
...
Fix memory leak in Tilemaps
2019-06-29 16:51:15 +02:00
hbina085
f531a92057
use vformat for duplicate strings
...
many strings in visual_shader_editor_plugin.cpp does not use vformat for duplicate strings making it harder to translate
2019-06-29 07:52:09 -04:00
Chaosus
da7cf8b49f
Added convertor from VisualShader to Shader
2019-06-28 19:54:43 +03:00
qarmin
67b58de0f8
Fix memory leak in Tilemaps
2019-06-28 15:37:09 +02:00
Rémi Verschelde
f35fd681ac
Merge pull request #30114 from Chaosus/vs_context_menu
...
Shows menu when dragging connection on empty space in visual shader
2019-06-27 15:14:54 +02:00
Rémi Verschelde
11b8bf5572
Merge pull request #30103 from groud/center_2D_editor
...
Centers the 2D viewport in the editor
2019-06-27 15:14:23 +02:00
Chaosus
0aec3c3113
Shows menu when dragging connection on empty space in visual shader graph
2019-06-27 10:48:18 +03:00
Rémi Verschelde
eaaff9da31
Merge pull request #29941 from qarmin/redundant_code_and_others
...
Remove redundant code, possible NULL pointers and others
2019-06-27 01:05:18 +02:00
Gilles Roudière
1b53ea79e2
Centers the 2D viewport in the editor
2019-06-26 23:03:15 +02:00
qarmin
4e5310cc60
Some code changed with Clang-Tidy
2019-06-26 15:08:25 +02:00
Tomasz Chabora
c81525ec05
Allow to remove 2D editor limits
2019-06-25 00:19:44 +02:00
Rémi Verschelde
25022a1d89
Merge pull request #29974 from clayjohn/particles_restart
...
Properly set emitting when particles restart
2019-06-24 13:48:56 +02:00
Rémi Verschelde
1cb2b682ab
Merge pull request #30026 from akien-mga/fix-undo-convert-cpuparticles
...
Fix undo references for conversion to CPUParticles
2019-06-24 12:40:23 +02:00
Rémi Verschelde
ed504753f4
Fix undo references for conversion to CPUParticles
...
The 'undo' reference should be the node to free when the undo history
is lost, i.e. the original (GPU) Particles node. Similarly, the 'do'
reference should point to the CPUParticles (result of the 'do' call).
Fixes #29742 .
2019-06-24 12:08:30 +02:00
Gwyneth Lowe
7142064110
Correct typo that broke custom selected font color
...
Change several font_selected_color to font_color_selected; the actual name of the override
2019-06-24 04:55:29 -05:00
Rémi Verschelde
30383a1cdc
Merge pull request #29376 from hilfazer/editor_layouts_dialog
...
Saving/deleting editor layouts dialog with layout list
2019-06-23 23:56:52 +02:00
Dawid Wdowiak
0f14489ecb
Center script line when double clicked on error in debugger
2019-06-23 15:58:07 +02:00
Nils ANDRÉ-CHANG
d2833d4f4d
Replace ` + "/" + ` with `String::file_add()`
2019-06-23 13:33:50 +01:00
clayjohn
64ecc8a5a3
properly set emitting when particles restart
2019-06-21 22:33:11 -07:00
hilfazer
9986cf7005
editor save/delete layout dialog with layout list
2019-06-21 19:38:04 +02:00
Rémi Verschelde
5c66771e3e
Merge pull request #29283 from qarmin/fix_some_always_same_values
...
Remove always true/false values
2019-06-20 21:10:10 +02:00
qarmin
072e40368e
Fix always true/false values
2019-06-20 16:59:48 +02:00
Rémi Verschelde
974b07fc70
Merge pull request #29914 from YeldhamDev/fix_onion_errors
...
Fix minor onion layering control errors
2019-06-20 11:23:46 +02:00
Michael Alexsander Silva Dias
8a9b3d24f5
Fix minor onion layering control errors
2019-06-19 19:42:26 -03:00
Rémi Verschelde
5a29be31b3
Merge pull request #27188 from samH-FIT/MacroUpdate
...
Made use of semicolons after GDCLASS more consistent, added semicolons where I found them missing.
2019-06-19 22:59:49 +02:00
JohnJLight
38d3bfe971
Made use of semicolons more consitent, fixed formatting
2019-06-19 15:24:31 +02:00
Zach Young
7b1e112f1d
Fixed navigation schemes Modo/Maya when used with grid map tile placement
2019-06-19 14:03:08 +02:00
Rémi Verschelde
57bd26082b
Merge pull request #29547 from santouits/filter-scripts
...
Add filter search for script list and the members in the script editor
2019-06-19 00:15:17 +02:00
Rémi Verschelde
d61d1af64d
Merge pull request #29489 from groud/fixes_nan
...
Fixes NaN errors with anchors mode
2019-06-18 09:53:25 +02:00
Rémi Verschelde
0ac3687d6f
Merge pull request #28766 from pgoral/editor_validation_issue
...
Changing method signature in other class in not recognized in working…
2019-06-17 23:13:08 +02:00
Emmanuel Barroga
fc568d9d5b
Bring selected script in view of open scripts list
...
Resolves issue: #29721
2019-06-16 09:48:42 -07:00
Michael Alexsander Silva Dias
28683237c5
Check for inherited methods before attempting to create one when connecting a signal
2019-06-13 15:15:17 -03:00
Rémi Verschelde
8c11f883d9
Merge pull request #29129 from kis3lori/remove-save-theme-for-default
...
Created a fallback from the "Save Theme" button to "Save Theme As" when a default theme is in use.
2019-06-13 12:10:05 +02:00
Kis Levente Lorand
0823d78374
Created a fallback from the "Save Theme" button to "Save Theme As" when a default theme is in use.
2019-06-13 11:26:08 +03:00
Rémi Verschelde
3b53db750a
Merge pull request #22863 from Paulb23/reload_shader_external_change_issue_19852
...
Reload text shaders when externally edited, issue 19852
2019-06-12 22:44:55 +02:00
Rémi Verschelde
1e5a02f006
Merge pull request #29599 from Calinou/assetlib-project-icon-loading
...
Display a "loading" placeholder while icons are loading in the assetlib
2019-06-12 13:36:06 +02:00
Rémi Verschelde
5522d7c2b0
Merge pull request #29664 from akien-mga/external-editor-default-flags
...
Always pass script path to external editor
2019-06-12 13:24:57 +02:00
Rémi Verschelde
a2a5273a07
Merge pull request #29703 from YeldhamDev/method_signal_warning_base
...
Check base scripts for signal receiving methods before warning about them missing
2019-06-12 13:11:17 +02:00
Rémi Verschelde
c010714732
Merge pull request #29710 from Calinou/assetlib-remove-unimplemented
...
Remove some references to unimplemented features in the assetlib
2019-06-12 12:55:16 +02:00
Rémi Verschelde
f47f905248
Merge pull request #29517 from KoBeWi/pan_shop
...
Allow to change 2D pan hotkey
2019-06-12 12:51:22 +02:00
Rémi Verschelde
94fbaf71a6
Merge pull request #29474 from YeldhamDev/pick_subtile_fix
...
Fix subtile picking in TileMap editor
2019-06-12 12:50:31 +02:00
Rémi Verschelde
971b5160c6
Merge pull request #29306 from qarmin/small_code_fixes
...
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-12 12:49:21 +02:00
santouits
ca4c33cdad
Add filter search for script list and the members
...
in the script editor
2019-06-12 13:31:53 +03:00
Hugo Locurcio
75f1e93ac0
Remove some references to unimplemented features in the assetlib
...
This removes rating icons and the associated sorting option as
this feature wasn't implemented (and is unlikely to be in the
near future).
This also renames "Cost" to "License", as the "cost" field refers
to SPDX license names on the Godot Asset Library.
2019-06-12 12:26:37 +02:00
Rémi Verschelde
a458365780
Merge pull request #29659 from YeldhamDev/script_connections_node_deleted
...
Fix connection info still appearing on scripts if the node source is deleted
2019-06-12 09:46:33 +02:00
Michael Alexsander Silva Dias
831dd19546
Check base scripts for signal receiving methods before warning about them missing
2019-06-11 22:11:26 -03:00
Hugo Locurcio
7fd7dac69c
Add spacing between the icon and details in the assetlib list
...
This also scales margin and separation values on hiDPI displays.
2019-06-12 01:14:29 +02:00
Rémi Verschelde
4043c8a8c9
Merge pull request #29678 from akien-mga/err-macros-semicolon
...
Fix error macro calls not ending with semicolon
2019-06-11 19:01:26 +02:00
Rémi Verschelde
7842f4ca5c
Merge pull request #29262 from DarknessCatt/issue-27476
...
Automatically add new line to scripts
2019-06-11 15:07:09 +02:00
Rémi Verschelde
6d16f2f053
Fix error macro calls not ending with semicolon
...
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
2019-06-11 14:49:34 +02:00
Rémi Verschelde
227b5d20ee
Merge pull request #29519 from Ranoller/master
...
Make tilemap texture origin point top-left.
2019-06-11 12:05:13 +02:00
Rémi Verschelde
4a757a2d96
Always pass script path to external editor
...
Previously you had to set the Exec Flags manually, reading the documentation
to find out what placeholders to use. As most editors should support having
the file path passed as the last argument, we default to doing this if no
custom {file} flag is defined. We also default the Exec Flags to "{file}" and
the placeholder text gives some documentation.
Fixes #29662 .
2019-06-11 09:20:42 +02:00
Michael Alexsander Silva Dias
b3010d9734
Fix connection info still appearing on scripts if the node source is deleted
2019-06-10 19:37:56 -03:00
Rémi Verschelde
ee86b18a5e
Merge pull request #29497 from qarmin/fix_memory_leak_in_files
...
Fix memory leak after closing files
2019-06-10 15:23:26 +02:00
Hugo Locurcio
9f6b470ea8
Display a "loading" placeholder while icons are loading in the assetlib
2019-06-08 11:18:52 +02:00
Ranoller
f26e9daab5
Make tilemap texture origin point top-left.
...
Fix https://github.com/godotengine/godot/issues/29487 . In this commit: https://github.com/godotengine/godot/pull/28896 bad offset of textures and shapes was fixed, but a center of texture was added too, and this seems not dessired by default because breaks too much compatibility with demos and user projects. A future Check box for center texture can be added
2019-06-05 23:23:36 +02:00
Tomasz Chabora
f472f0491c
Allow to change 2D pan hotkey
2019-06-05 22:44:52 +02:00
qarmin
53c0a29fb0
Fix memory leak after closing files
2019-06-05 09:34:16 +02:00
Gilles Roudière
df0a69bbac
Fixes NaN errors with anchors mode
2019-06-04 21:58:21 +02:00
Rémi Verschelde
e22dde1b18
Merge pull request #29452 from YeldhamDev/remember_selected_subtile
...
Remember selected subtile when updating the TileMap editor
2019-06-04 17:16:03 +02:00
Rémi Verschelde
33163c0040
Merge pull request #29460 from YeldhamDev/tilemapeditor_atlas_copy_fix
...
Fix TileMap editor not correctly copying atlas tiles
2019-06-04 16:56:59 +02:00
Michael Alexsander Silva Dias
6be7fea798
Fix subtile picking in TileMap editor
...
Fixes #29445 .
2019-06-04 11:36:05 -03:00
Michael Alexsander Silva Dias
412a0b73e9
Fix error spam when typing in the TileMap editor's search box while having no results
2019-06-04 01:44:38 -03:00
Michael Alexsander Silva Dias
6b7d8fd946
Fix TileMap editor not correctly copying atlas tiles
...
Fixes #29307 .
2019-06-04 00:44:01 -03:00
Michael Alexsander Silva Dias
0a03ed7544
Remember selected subtile when updating the TileMap editor
...
Fixes #29444 .
2019-06-03 21:20:38 -03:00
qarmin
8245db869f
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-03 21:52:50 +02:00
Rémi Verschelde
b9dc2e7e4d
Merge pull request #28099 from lupoDharkael/fix-completion
...
Fix code completion not working with class_name
2019-06-03 14:01:07 +02:00
Rémi Verschelde
0dac4d6db6
Merge pull request #25522 from aqnuep/MeshLibrary_improvements
...
MeshLibrary export improvements
2019-06-03 13:59:43 +02:00
Michael Alexsander Silva Dias
a5f1635bf2
Fix pausing in audio player editor acting the same as stopping
2019-06-02 22:40:28 -03:00
Paulb23
eed3753357
Reload text shaders when externaly edited, issue 19852
2019-06-01 14:05:44 +01:00
Rémi Verschelde
0f26d09fbf
Merge pull request #29360 from Calinou/improve-curve-editor-rendering
...
Improve the curve editor rendering
2019-06-01 11:13:09 +02:00
Rémi Verschelde
4b399034aa
Merge pull request #24560 from guilhermefelipecgs/fix_24549
...
Add EDITMODE_PRIORITY for ATLAS_TILE
2019-06-01 09:49:18 +02:00
Rémi Verschelde
d7163fb77a
Merge pull request #24708 from uzimonkey/sub-resource-names-in-script-editor
...
Add sub-resource name when available to script editor
2019-06-01 09:45:08 +02:00
Rémi Verschelde
44bddecb89
Merge pull request #28695 from Ranoller/patch-2
...
FIX Script editor doesn´t send unsaved script #28693
2019-06-01 09:01:55 +02:00
Hugo Locurcio
9f8bed3cdb
Improve the curve editor rendering
...
- Fix grid rendering when using a light theme
- Enable anti-aliasing for the main curve line
(only applies when using the GLES3 renderer)
- Swap the main line and edge line colors for better visibility
- Scale some line widths on hiDPI displays
(not all of them could be scaled due to rendering bugs)
2019-06-01 02:07:42 +02:00
Rémi Verschelde
1f91de4783
Merge pull request #29318 from bojidar-bg/29313-control-constant-update
...
Fix constant redrawing of the editor when selecting a Control in a Container
2019-05-31 10:17:56 +02:00
Rémi Verschelde
0fc6b86797
Merge pull request #29329 from volzhs/fix-animation-player
...
Fix animation player
2019-05-31 10:13:30 +02:00
UziMonkey
7056c825a3
Add sub-resource name when available to script editor
2019-05-31 02:39:58 -04:00
Tomasz Chabora
1141ab8b25
Allow undo conversion to CPUParticles
2019-05-30 23:08:57 +02:00
volzhs
e16e5012ca
Revert "Fix AnimationPlayer editor length and step synchronization"
...
This reverts commit ca80ebe9f6
.
2019-05-31 04:43:46 +09:00
Bojidar Marinov
647fb155c3
Fix constant redrawing of the editor when selecting a Control in a Container
...
Fixes #29313
2019-05-30 18:25:22 +03:00
hbina085
21078621dd
added ability to undo conversion of Particles2D to CPUParticles2D
2019-05-30 06:51:36 -04:00
Matheus Lima Cunha
7fbb6d986f
Automatically add new line to scripts
2019-05-29 18:13:29 -03:00
Goral
aabd9980d1
Changing method signature in other class in not recognized in working class in typed GDScript #28685
2019-05-29 22:27:16 +02:00
Chaosus
cd3d538f12
Fix incorrect scroll when the user perform first action on visual shader
2019-05-29 07:41:29 +03:00
Rémi Verschelde
84331549db
Merge pull request #28896 from Ranoller/master
...
Fix tilemap displaced textures and shapes
2019-05-28 22:25:18 +02:00
Rémi Verschelde
500fe89600
Merge pull request #28349 from KoBeWi/sprite_editor_mistake_eraser
...
Add undo for Sprite Editor
2019-05-28 18:39:14 +02:00
Rémi Verschelde
88539cf680
Merge pull request #27972 from ahouts/add-hotkeys-to-tileset-editor
...
add hotkeys to tileset editor
2019-05-28 11:57:23 +02:00
Rémi Verschelde
2f1de365fe
Merge pull request #29231 from AlexHoratio/method_list_drag_fix
...
Fix method list to no longer forwards drag commands to script list
2019-05-28 10:20:59 +02:00
Rémi Verschelde
25e36f3540
Merge pull request #29002 from Chaosus/vs_constants
...
Added a bunch of scalar constants to visual shaders
2019-05-27 22:26:13 +02:00
AlexHoratio
3b5112567a
method list no longer forwards drag commands to script list
2019-05-27 17:28:29 +01:00
Chaosus
44de8b4964
Added a bunch of scalar constants to visual shaders
2019-05-27 18:39:59 +03:00
Michael Alexsander Silva Dias
560f5cb104
Actually fix animation editor's bottom panel button not being pressed on certain occasions
2019-05-27 12:12:51 -03:00
Rémi Verschelde
cc8023cd1e
Merge pull request #29157 from YeldhamDev/spatial_view_button_container
...
Place the spatial editor's top left buttons in a container
2019-05-25 10:46:03 +02:00
Michael Alexsander Silva Dias
c4f797644d
Fix animation editor's bottom panel button not being pressed on certain occasions
2019-05-25 04:07:51 -03:00
Michael Alexsander Silva Dias
d29d856933
Place the spatial editor's top left buttons in a container
2019-05-24 16:21:07 -03:00
Rémi Verschelde
11f20c43d7
Merge pull request #28907 from dankan1890/contextual_help
...
ScriptEditor: Changed the shortcut for contextual help in ALT + F1
2019-05-24 19:55:42 +02:00
Michael Alexsander Silva Dias
e12b482022
Improve bookmarks
2019-05-24 13:17:09 -03:00
Rémi Verschelde
147ff2095d
Merge pull request #29112 from hbina/fix_auto_ordering
...
Fixed scripts list ordering despite being disabled
2019-05-24 17:45:33 +02:00
Rémi Verschelde
04ee4f45e5
Merge pull request #24771 from timoschwarzer/animation-player-editor-pos-drag-fix
...
Fix AnimationPlayer editor length and step synchronization
2019-05-24 15:21:47 +02:00
hbina085
e1816ee0cb
fixed problem where the script lists gets ordered even when ordering is disabled
2019-05-24 07:32:27 -04:00
Rémi Verschelde
c088386c5b
Merge pull request #29109 from RandomShaper/fix_onion_skinning
...
Fix onion skinning
2019-05-23 07:58:27 +02:00
Pedro J. Estébanez
88153fbb61
Fix 2D bones ignored by onion skinning
...
Fixes #27819 .
2019-05-22 20:40:57 +02:00
Rémi Verschelde
02bc82f9be
Merge pull request #29022 from mrcdk/preview_generator_fixes
...
Add some extra functions to EditorResourcePreviewGenerator
2019-05-22 12:16:32 +02:00
Rémi Verschelde
bc17704fd7
Merge pull request #29085 from YeldhamDev/node2d_bones_undoredo
...
Add undo/redo to Node2D bone creation
2019-05-22 11:26:11 +02:00
Rémi Verschelde
41d3f4787e
Merge pull request #29074 from YeldhamDev/theme_editor_panel_fix
...
Fix bottom panel visibility behaviour in the theme editor
2019-05-22 10:45:25 +02:00
Chaosus
e70ea5d97b
Makes the expression node to apply expression only when the focus leaves out
2019-05-22 07:46:47 +03:00
Michael Alexsander Silva Dias
c18e4f0f01
Add undo/redo to Node2D bone creation
2019-05-21 17:17:25 -03:00
Michael Alexsander Silva Dias
b5c8205312
Fix bottom panel visibility behaviour in the theme editor
...
Fixes #29034 , fixes #29056
2019-05-21 13:16:06 -03:00
Chaosus
6f2abd68f2
Fix few bugs in expression node
2019-05-21 18:37:31 +03:00
Rémi Verschelde
7d42ca8384
Merge pull request #28838 from Chaosus/vs_exp
...
Expression node for visual shaders
2019-05-21 16:32:02 +02:00
Rémi Verschelde
e3ead06c1d
Merge pull request #29062 from swarnimarun/theme-editor-improvements
...
Fix Theme Editor Preview
2019-05-21 15:10:14 +02:00
Chaosus
5648924eef
Expression node for visual shaders
2019-05-21 12:11:41 +03:00
Swarnim Arun
7ec7dba766
Fix Theme Editor Preview
2019-05-21 14:38:46 +05:30
Rémi Verschelde
63e7d2db08
Merge pull request #28218 from KoBeWi/b00km4rk5
...
Add bookmarks for easier code navigation
2019-05-20 22:39:19 +02:00
Pedro J. Estébanez
3b17e6de33
Remove ghost of canvas zoom controls during onion skinning
2019-05-20 22:36:34 +02:00
Pedro J. Estébanez
4dd9efe757
Fix canvas zoom controls lazy position update
...
After hiding/showing rulers, zoom controls were kept at the wrong position until an update happened because of other reason.
2019-05-20 22:35:31 +02:00
Rémi Verschelde
fdea3d48b0
Merge pull request #26809 from KoBeWi/undo_set_text_like_a_boss
...
Allow to undo TextEdit.set_text
2019-05-20 22:00:39 +02:00
Rémi Verschelde
8498fcf831
Merge pull request #29015 from dfelinto/fix-ui-lowercase
...
Fix upper/lowercase in some UI strings
2019-05-20 17:56:56 +02:00
Rémi Verschelde
79cc95c6a7
Merge pull request #27559 from groud/anchor_mode
...
Improve the anchors and margin workflow
2019-05-20 17:44:56 +02:00
Rémi Verschelde
fead547ba5
Merge pull request #28972 from erammos/28943_script_editor_plugin
...
minor change in scriptEdtiorPlugin ref #28943
2019-05-20 11:22:47 +02:00
MrCdK
f8a9844d80
Renamed EditorResourcePreviewGenerator.should_generate_small_preview() to generate_small_preview_automatically()
...
Added can_generate_small_preview() so the generator uses generate() or generate_from_path() if it returns true
Added can_generate_small_preview() and generate_small_preview_automatically() to the scripting languages
2019-05-20 11:08:39 +02:00
Dalai Felinto
5b6e7935d1
Fix upper/lowercase in some UI strings
...
Note: I was tempted to also change "Align with View" since we use the word
"With" with uppercase in "Align Selection With View".
However I believe "With" should be lower case and the old stripg
(Align Selection ...) is the one to be fixed.
2019-05-19 18:08:11 -03:00
Rémi Verschelde
a940b4cf64
Merge pull request #28997 from akien-mga/codespell
...
Fix typos with codespell
2019-05-19 22:04:14 +02:00
Rémi Verschelde
e0574e1d98
Fix typos with codespell
...
Using codespell 1.15.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-05-19 13:10:35 +02:00
Chaosus
719a9a9c1c
Added Fresnel and OneMinus to visual shaders
2019-05-19 13:44:30 +03:00
Elias Rammos
20ebfefad1
minor change in scriptEdtiorPlugin ref #28943
2019-05-18 14:46:45 +03:00
Max Hilbrunner
580b0c651d
Merge pull request #28920 from hmumm/dragging-directory-adds-it-to-script
...
Directories can now be dragged into the script editor
2019-05-17 19:51:18 +02:00
Ibrahn Sahir
cbf2d3cdc4
Removed an unused and leaked CheckButton instance in theme editor plugin
2019-05-17 15:39:48 +01:00
Tomasz Chabora
3bc0445e05
Allow to undo TextEdit.set_text
2019-05-16 23:05:17 +02:00
Hayden
c9b9ba26db
Directories can now be dragged into the script editor
2019-05-16 10:44:05 -05:00
dankan1890
81e48e2cf3
ScriptEditor: Changed the shortcut for contextual help in ALT + F1, to resolve the conflict with the help menu opening shortcut.
2019-05-15 14:27:24 +02:00
Ranoller
7a8e4f64b8
Fix tilemap displaced textures and shapes with origin point BOTTOM_LEFT and CENTER and other casuistry
...
This commit fix https://github.com/godotengine/godot/issues/22989 fixing displaced textures and not coincident shapes in tilemap. Fix too: https://github.com/godotengine/godot/issues/15249 , https://github.com/godotengine/godot/issues/28206 , https://github.com/godotengine/godot/issues/28610 and probably others
2019-05-15 04:14:27 +02:00
Michael Alexsander Silva Dias
c66bcedb7a
Make "Onion Skinning" toggle its own button
2019-05-14 00:42:05 -03:00
Gilles Roudiere
e875f05c3b
Improve the anchors and margin workflow
2019-05-13 18:55:31 +02:00
Rémi Verschelde
3fa84efb03
Merge pull request #28831 from dankan1890/spriteframes_sheet_fix
...
AnimatedSprite: Add from spritesheets now work as expected. Fix #28030
2019-05-13 12:13:07 +02:00
dankan1890
abeb61f220
AnimatedSprite: Add from spritesheets now work as expected. Fix #28030
2019-05-12 02:33:05 +02:00
freestraws
537ee747be
Apply sprite frames editor FPS value correctly upon _animation_select
2019-05-11 16:32:32 -04:00
ahouts
c9abff4bae
add hotkeys to tileset editor
2019-05-10 18:08:56 -07:00
Timo Schwarzer
ca80ebe9f6
Fix AnimationPlayer editor length and step synchronization
2019-05-06 21:39:24 +02:00
Tomasz Chabora
0bfcf8bc2f
Add bookmarks for easier code navigation
2019-05-05 18:57:53 +02:00
Ranoller
d33b4f4de8
FIX Script editor doesn´t send unsaved script #28693
...
This commit fix #28693 .
Script editor doesn´t send unsaved version of a script in editor_script_changed signal (sends disk stored version) unless you close other script and apply_scripts() is performed.
2019-05-05 06:56:19 +02:00
Rémi Verschelde
84401e8cdf
Merge pull request #28629 from YeldhamDev/findfiles_always_available
...
Make "Find in Files" always available in the script editor
2019-05-03 23:00:45 +02:00
Chaosus
8a8b7af638
Fix collapse visual shader tree
2019-05-03 11:10:08 +03:00
Chaosus
e57d761f9b
Fix build visual_shader_editor_plugin
2019-05-03 08:50:00 +03:00
Michael Alexsander Silva Dias
52651509f0
Make "Find in Files" always available in the script editor
2019-05-02 20:07:06 -03:00
Chaosus
62b7132947
Fix input entries when switching to new visual shader
2019-05-02 10:00:08 +03:00
Chaosus
3c159ea379
Added missed inputs for other modes in visual shaders
2019-05-01 17:04:39 +03:00
Rémi Verschelde
ae41e35191
Merge pull request #27676 from qarmin/small_fixes_2
...
Small fixes to static analyzer bugs
2019-05-01 08:19:04 +02:00
Rémi Verschelde
36d4f86ed9
Merge pull request #27707 from Calinou/tweak-message-wording
...
Improve wording of various messages and make casing more consistent
2019-04-30 11:10:36 +02:00
Rémi Verschelde
ac0369e9ff
Merge pull request #27845 from samdze/master
...
Make TileMap overridable "set_cell" function called on undo/redo
2019-04-30 10:55:53 +02:00
Rémi Verschelde
5313ce232d
Merge pull request #27870 from mawenzy/pr_gotoline
...
Bind goto_line function for Script Editor
2019-04-30 10:53:23 +02:00
Rémi Verschelde
d647f7ce71
Merge pull request #28491 from guilhermefelipecgs/ux_tile_map
...
[TileMapEditor] Improve tool picking usability
2019-04-30 10:09:05 +02:00
Rémi Verschelde
7018de8425
Merge pull request #28016 from YeldhamDev/spritesheet_dialog_improvements
...
Small improvements to the new Sprite Sheet dialog
2019-04-29 18:40:59 +02:00
Rémi Verschelde
23147ae2c3
Merge pull request #28101 from MunWolf/debugger_cursor
...
Added a marker in text_edit that tells which row is executing.
2019-04-29 18:38:38 +02:00
Guilherme Felipe
99958c99da
[TileMapEditor] Improve tool picking usability
...
When KEY_CONTROL is released, go back to the last tool.
Also add a tooltip for paint button with shortcuts for line draw and
rectangle paint.
2019-04-29 12:38:33 -03:00
Rémi Verschelde
85c27f9c90
Merge pull request #28452 from Sintinium/undoredo-lock
...
Undo support for locking and grouping for both 2D and 3D
2019-04-29 16:23:28 +02:00
Rémi Verschelde
18e88c8563
Merge pull request #18992 from aaronfranke/mono-equal-approx
...
[Core] [Mono] Improve and use approximate equality methods
2019-04-29 10:16:46 +02:00
Samuele Zolfanelli
e2dd0c101e
Make TileMap overridable "set_cell" function called on undo/redo
2019-04-27 17:20:32 +02:00
Sintinium
d1fa546dc9
Undo support for locking and grouping for both 2D and 3D
2019-04-26 18:16:59 -05:00
Chaosus
7a9735eef4
Fix uniform title color in visual shaders(regression)
2019-04-26 10:53:40 +03:00
Rémi Verschelde
77f576e2a1
Merge pull request #28418 from guilhermefelipecgs/fix_scroll
...
Fix scroll for texture_region and polygon_2d editor
2019-04-25 22:58:03 +02:00
Rémi Verschelde
ae8f8530af
Merge pull request #28417 from guilhermefelipecgs/more_switch_on_hover
...
Set switch_on_hover to true for the remaining menus
2019-04-25 22:57:07 +02:00
Aaron Franke
b659e1eb2b
Use approximate equallity methods in many places
2019-04-25 13:20:29 -04:00
Rémi Verschelde
cce2e4b07c
Merge pull request #22301 from YeldhamDev/button_popup_highlight
...
Enable toggle behaviour for buttons that trigger popups
2019-04-25 17:47:23 +02:00
Guilherme Felipe
f662f1505e
Fix scroll for texture_region and polygon_2d editor
2019-04-25 10:51:27 -03:00
Guilherme Felipe
32b9b3159a
Set switch_on_hover to true for the remaining menus
2019-04-25 10:27:33 -03:00
Rémi Verschelde
42194e2f09
Merge pull request #28354 from gdupr/gui_improvements_in_asset_editor
...
GUI improvements in the asset library editor.
2019-04-25 13:34:12 +02:00
Rémi Verschelde
5fe971145c
Merge pull request #28347 from homer666/tilemap-hide-menu
...
Hide "TileMap" menu properly in CanvasItem view
2019-04-25 13:32:04 +02:00
Rémi Verschelde
cfc6ae8920
Merge pull request #28336 from guilhermefelipecgs/fix_play_pos
...
[StateMachine] Fix play position
2019-04-25 13:28:58 +02:00
Rémi Verschelde
7dc7cbea0a
Merge pull request #28410 from guilhermefelipecgs/fix_typo
...
[Tilemap] Fix typo
2019-04-25 12:17:53 +02:00
Rémi Verschelde
c26f0c9bbd
Merge pull request #28377 from YeldhamDev/connection_info_script_changes
...
Make small changes to the new connection info on script feature
2019-04-25 10:41:27 +02:00
Yuri Roubinsky
9f3899b20a
Merge pull request #28411 from Chaosus/fix_vs_crash
...
Fix crash regression in visual shader
2019-04-25 07:48:59 +03:00
Chaosus
446f8a2cc2
Fix crash regression in visual shader
2019-04-25 07:46:18 +03:00
Guilherme Felipe
6fb19bebbb
[Tilemap] Fix typo
2019-04-24 21:30:50 -03:00
Michael Alexsander Silva Dias
11bac340d0
Merge pull request #28363 from YeldhamDev/themeeditor_namepopup_size_fix
...
Fix "Name" popup's size in theme editor
2019-04-24 17:22:18 -03:00
Chaosus
3a3df84d3b
Fix connection lines glitch in visual shaders
2019-04-24 12:47:54 +03:00
Yuri Roubinsky
93e7eb0ddb
Merge pull request #28375 from Chaosus/fix_vs_loopback
...
Disallow loopback connection in visual shaders
2019-04-24 09:41:06 +03:00
Chaosus
21ca9f6c7c
Disallow loopback connection in visual scripts and visual shaders
2019-04-24 09:14:45 +03:00
Michael Alexsander Silva Dias
4bca3236d1
Make small changes to the new connection info on script feature
2019-04-24 03:13:25 -03:00
Chaosus
9ac770be45
Removes preview from existing transform nodes in visual shader
2019-04-24 08:08:29 +03:00
Michael Alexsander Silva Dias
dac9a5ba96
Fix "Name" popup's size in theme editor
2019-04-23 20:21:31 -03:00
Rémi Verschelde
80f91c9d36
Merge pull request #28351 from Paulb23/fix_state_crash
...
Fix crash when restoring script editor state
2019-04-23 23:23:32 +02:00
Rémi Verschelde
0453e6eddc
Merge pull request #28348 from Chaosus/fix_vs_transform_preview
...
Removed incorrect "Transform" preview from visual shaders
2019-04-23 23:19:31 +02:00
Rikhardur Bjarni Einarsson
9bfa63496a
Added a marker in text_edit that tells which row is executing.
2019-04-23 21:51:01 +01:00
gdupr
b89d8bb56c
Separated description from the preview content and centered the playbutton for video thumbnails in the Asset Library Editor
2019-04-23 21:53:15 +02:00
Paulb23
2fedd2559c
Fix crash when restoring script editor state
2019-04-23 20:52:30 +01:00
Tomasz Chabora
a93ff8d210
Add undo for Sprite Editor
2019-04-23 21:10:44 +02:00
Chaosus
be11b6f04d
Removed incorrect "Transform" preview from visual shaders
2019-04-23 21:52:06 +03:00
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
Guilherme Felipe
0fcbf4da8f
[StateMachine] Fix play position
...
Continuation of 771fbd282a
2019-04-23 14:59:16 -03: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
a112eb599f
Merge pull request #28064 from DarknessCatt/issue-27077
...
Moving Polygon2D vertices along axis
2019-04-23 05:55:57 +03: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
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
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
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
Paulb23
a6562cd004
Display connection information in the script editor
2019-04-20 13:13:54 +01:00
Rémi Verschelde
c1444ebeaf
Fix typo in SpriteFrameEditor preview draw
...
As spotted by @DennisWG.
2019-04-20 09:08:07 +02:00
JFonS
42043a22e8
Add grouping to 3D editor
2019-04-17 18:24:28 +02:00
lupoDharkael
2ad302cec4
Don't allow class_name in built-in scripts
2019-04-17 17:06:21 +02:00
Matheus Lima Cunha
0110a88547
Move vertex along a single axis while editing and holding shift
2019-04-16 20:26:22 -03:00
lupoDharkael
145a45fd3f
Fix code completion not working with class_name
2019-04-16 22:27:13 +02: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
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
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
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
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
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
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
Paulb23
6ea253aa77
Restore script editor state between sessions
2019-04-13 13:07:12 +01: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
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
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
38104bb89d
Fix TTR string for class reference tooltip
...
Fixes #27852 .
2019-04-09 16:06:39 +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
qarmin
856a8226a5
Small fixes, mostly dupicated code
2019-04-08 11:03:37 +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
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
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
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
Chaosus
5fd671b8a7
Major improvements for visual shader system
2019-04-07 08:17:38 +03:00
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
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
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
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
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
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
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
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
Rémi Verschelde
de54ee975d
Merge pull request #27238 from ShyRed/cpu2dmask
...
Add Emission Mask to CPUParticle2D
2019-04-03 09:13:14 +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
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
Hugo Locurcio
d59b210aec
Use the editor theme's accent color for 2D/3D selections and rotations
2019-03-31 23:54:46 +02: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
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
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
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
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
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
LATRio
22030d4cc4
Fixing zooming in TextureRegion
...
Fixes #20710
2019-03-17 10:37:58 +09: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
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
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
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
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
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
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
Martin Wallin
ed06ed38fb
Display vertex number when hovering point in collision polygon
2019-03-11 10:42:55 +01:00
Juan Linietsky
95c6d9caba
Fix crash in texture previeer, closes #26749 , probably others
2019-03-08 14:18: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
qarmin
7837276597
Fix error when dragging empty script list in Script Editor
2019-03-07 16:09:02 +01:00
Mariano Suligoy
6c08f4ea4e
TileSetEditor: Don't draw invalid occlusion shapes. Fixes #24238
2019-03-06 15:31:16 -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
qarmin
138698e51f
Do not lose focus when moving through scene tree
2019-03-06 12:10:09 +01:00
merumelu
e4b20a9a51
AssetLib: convert video thumbnails to RGBA
...
Image::blend_rect only works with images that have the same format.
2019-03-05 21:02:56 +01:00
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
Michael Alexsander Silva Dias
5dfbdbcd0b
Enhance theme preview
2019-02-19 21:52:56 -03: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
Daniel Rakos
6df53e0401
MeshLibrary export improvements
...
- From now materials assigned to the MeshInstance (not the Mesh) get exported
into the MeshLibrary when such materials exist. This enables workflows where
the MeshLibrary is exported from an imported scene (e.g. GLTF) where the
materials assigned to the Mesh (not the MeshInstance) get overwritten on
re-import, thus can't use editor set materials in the exported MeshLibrary
unless they are assigned to the MeshInstance whose materials get saved with
the inherited scene thus persist across re-imports.
- When appending to an existing MeshLibrary only generate previews for newly
added or modified meshes.
- During preview generation transform camera and lights instead of the mesh
and use the source MeshInstance's transform for the mesh to avoid weird
previews being generated for meshes with a position dependent material
(e.g. when using triplanar mapping).
- Adjust the camera angle and light directions used in mesh preview generation
for better results.
2019-02-03 22:48:35 +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
Gilles Roudiere
96f25c8b67
Move some tilemap options to the toolbar
2019-01-30 16:06:40 +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
qarmin
6c159acf47
Add third point to move Rectangle Shape 2D in two axis
2019-01-25 09:49:28 +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
Guilherme Felipe
771fbd282a
Show play position of sub state machine
...
Sub state machine now show the play position of the current state
playing.
2019-01-13 16:00:33 -02: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
bacf5124cf
Add EDITMODE_PRIORITY for ATLAS_TILE
...
When editing ATLAS_TILE, now it's possible to enable priority to
randomize subtiles.
2018-12-23 18:56:18 -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
JFonS
6b15b4f904
Expose the new gizmo plugin system to scripting
2018-12-21 23:56:39 +01:00
Rémi Verschelde
be8c0d57c5
Merge pull request #24519 from Chaosus/error_label_fix
...
Change LinkLabel back to Label in error status bar
2018-12-21 10:14:04 +01:00
Rémi Verschelde
f09956c86c
Merge pull request #24513 from YeldhamDev/fix_tileset_editor_draw
...
Fix small drawing error in TileSet editor
2018-12-21 10:09:00 +01:00
Chaosus
260b5818f1
Change LinkLabel back to Label in error status bar
2018-12-21 11:39:54 +03:00
Michael Alexsander Silva Dias
daf54133c2
Fix small drawing error in TileSet editor
2018-12-20 19:52:56 -02:00
Guilherme Felipe
21bad78bd8
Fixes for TileSetEditor and TileMapEditor
...
[TileSetEditor] Hide Bitmask and Priority for ATLAS_TILE
[TileMapEditor] Hide "Disable autotile" if the selected tile isn't
autotile
Fix #22756 , don't update bitmask when tilemode is ATLAS_TILE
2018-12-20 15:31:45 -02:00
Rémi Verschelde
26058376aa
Merge pull request #24462 from guilhermefelipecgs/fix_copy_paste_tilemap
...
Fix copy/paste for TileMap
2018-12-19 08:43:52 +01:00
Guilherme Felipe
06a929ace7
Fix copy/paste for TileMap
...
Fix #24440
2018-12-18 22:48:59 -02:00
Michael Alexsander Silva Dias
2b278a5336
Small fixes for the AnimationTree editor
2018-12-18 15:24:22 -02:00
Rémi Verschelde
1621270f26
Merge pull request #24432 from YeldhamDev/animationtree_editor_fixes
...
General fixes for the AnimationTree editor
2018-12-18 09:08:10 +01:00
Rémi Verschelde
75c6ad9756
Merge pull request #24427 from guilhermefelipecgs/fix_bread_crumb
...
Fix bread crumb of AnimationTree
2018-12-18 09:06:57 +01:00
Michael Alexsander Silva Dias
3c9ce2406b
Make the AnimationTree editor's path section more obvious
2018-12-17 23:52:14 -02:00
Michael Alexsander Silva Dias
b86b497cec
General fixes for the AnimationTree editor
2018-12-17 21:03:58 -02:00
Guilherme Felipe
317561863d
Fix bread crumb of AnimationTree
2018-12-17 17:08:41 -02:00
Rémi Verschelde
28b10ea668
Fix sometimes uninitialized variable warning raised by Xcode 9.4.1
...
Fixes this warning raised by Travis CI on macOS:
```
editor/plugins/polygon_2d_editor_plugin.cpp:95:6: warning: variable 'skeleton' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (!node->has_node(node->get_skeleton())) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:106:7: note: uninitialized use occurs here
if (!skeleton) {
^~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:95:2: note: remove the 'if' if its condition is always false
if (!node->has_node(node->get_skeleton())) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:94:22: note: initialize the variable 'skeleton' to silence this warning
Skeleton2D *skeleton;
^
= NULL
```
2018-12-17 12:28:11 +01:00
Michael Alexsander Silva Dias
9d4a996a08
Fix titles in graph editors being invisible when headers are enabled
2018-12-16 23:18:04 -02:00
Guilherme Felipe
bcd2659a2f
Fix "undo" of the state machine losing node's position
2018-12-16 18:06:26 -02:00
Rémi Verschelde
2f31d31c23
Revert "Use more subtle indentation guides in the script editor"
2018-12-13 19:57:34 +01:00
Rémi Verschelde
17c3c64a80
i18n: Sync translation template with current source
...
Also French translation update and misc fixes to source strings.
2018-12-13 14:47:24 +01:00
Rémi Verschelde
4d27b1fe4f
Merge pull request #24109 from remorse107/godotengine-path2d-editor-fix
...
Fixed Path2D Plugin Editor so segments can be split.
2018-12-12 16:02:55 +01:00
Rémi Verschelde
c8a5400654
Merge pull request #24241 from Rubonnek/move-to-initializer-list
...
Moved member variables to initializer list
2018-12-12 09:25:34 +01:00
Wilson E. Alvarez
08f22f1cf0
Moved member variables to initializer list
2018-12-11 18:33:01 -05:00
Michael Alexsander Silva Dias
8f9447310d
Enable toggle behaviour for buttons that trigger popups
2018-12-11 19:23:26 -02:00
Mariano Suligoy
1884952ae3
Fix "index -1 out of range" error spam when the Editor is using translations. Fixes #24277
2018-12-11 08:26:36 -03:00
Andrii Doroshenko (Xrayez)
feb12559e6
Properly reselect duplicated visual shader nodes
...
This makes it much easier to drag duplicated nodes away from original ones.
2018-12-10 14:20:58 +02:00
Rémi Verschelde
bf59b73250
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
...
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00
Rémi Verschelde
3a312dbd32
Merge pull request #20725 from Calinou/textedit-subtle-indent-guides
...
Use more subtle indentation guides in the script editor
2018-12-09 23:10:32 +01:00
Rémi Verschelde
dc54ee18ae
Merge pull request #24236 from Xrayez/fix-20212
...
Fix duplicating visual shader nodes
2018-12-09 21:45:05 +01:00
Andrii Doroshenko (Xrayez)
86eb6951c7
Fix duplicating visual shader nodes
2018-12-09 15:37:57 +02:00
Michael Alexsander Silva Dias
1bb14971e5
Minor changes to the File menu in the Script Editor
2018-12-08 15:59:15 -02:00
Michael Alexsander Silva Dias
e425f2d498
Expose "meta" to the Inspector
2018-12-08 02:27:20 -02:00
Guilherme Felipe
69f6f787c0
Add Z-Index for Autotile
2018-12-07 18:42:56 -02:00
Robert Morse
bce3599bd7
Fixed an issue with the Path2D plugin editor not supporting the capability to split curves as its toolbar buttons originally advertised.
2018-12-07 08:27:36 -06:00
Rémi Verschelde
c2e96c65b3
Merge pull request #23327 from YeldhamDev/search_shaders
...
Added "shader" filter to "Find in Files"
2018-12-07 15:11:32 +01:00
Michael Alexsander Silva Dias
d514ac405b
Hide "Script" section in the "TilesetEditorContext"
2018-12-07 02:18:02 -02:00
Rémi Verschelde
3f1bec5887
Merge pull request #23977 from YeldhamDev/editor_plugins_improvements
...
General enhancements to the Polygon2D, TextureRegion, and TileSet editors
2018-12-06 16:26:16 +01:00
David Kennedy
29284f628c
Fixes editor crashing when editing autotiles issue #24004
2018-12-06 07:15:48 -03:00
Michael Alexsander Silva Dias
e4d0ecce7a
General enhancements to the Polygon2D, TextureRegion, and TileSet editors
2018-12-06 03:29:27 -02:00
Rémi Verschelde
99640ac583
Merge pull request #24165 from YeldhamDev/light_occluder_reuse_polygon
...
Make LightOccluder2D Editor use the AbstractPolygon Editor instead of its own
2018-12-05 08:59:29 +01:00
Michael Alexsander Silva Dias
53764a5ee6
Make LightOccluder2D Editor use the AbstractPolygon Editor instead of its own
2018-12-04 18:25:19 -02:00
Michael Alexsander Silva Dias
3ae5eec366
Add tooltips to GraphEdit node
2018-12-04 15:00:27 -02:00
asheraryam
79ca8e7305
Use filename as fallback instead of the class name for mesh instance loaded by dragging from file to editor.
2018-12-02 23:41:09 +02:00
Rémi Verschelde
8dd00ed176
Merge pull request #24117 from Paulb23/txt_file_last_modified_time
...
Fix text files constantly asking for reload as no last modified time
2018-12-02 21:45:24 +01:00
Paulb23
69fe17639e
Fix text files constantly asking for reload as no last modified time
2018-12-02 16:24:23 +00:00
Michael Alexsander Silva Dias
2823251c2f
Fix ItemList editor not hiding on node removal
2018-11-30 01:59:29 -02:00
Aaron Franke
cb01268562
Fix many errors found by PVS-Studio
...
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Juan Linietsky
cdafb7bce2
Properly show 2D bone previews in 2D skeleton UV editor, fixes #20950
2018-11-22 22:23:19 -03:00
Rémi Verschelde
da31d63f76
Merge pull request #23680 from YeldhamDev/unified_help_search_revived
...
Unified Class and Reference Search 2: Resurrection
2018-11-22 16:16:52 +01:00
Rémi Verschelde
edbecf5908
Merge pull request #23875 from Chaosus/error_btn
...
Allows user to click on error line in status bar to jump into error.
2018-11-22 16:06:39 +01:00
Chaosus
1129d83272
Allows user to click on error line to jump into error.
2018-11-22 11:55:36 +03:00
Juan Linietsky
9018e8b132
Add Discrete and Carry blend modes for BlendSpace2D, allows to fix #20135
2018-11-21 16:07:24 -03:00
Ray Koopa
fddffa9eb8
Unify editor class and reference search
...
Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2018-11-20 20:52:27 -02:00
Michael Alexsander Silva Dias
da7d3c5a58
Make opening menus with the same parent on mouse focus explicit
2018-11-20 20:37:45 -02:00
Rémi Verschelde
57b634ad3d
Merge pull request #23813 from JFonS/change_gizmo_default
...
Change default gizmo visibility and icons
2018-11-20 08:50:18 +01:00
JFonS
e5a4fa5281
Change default gizmo visibility and icons
2018-11-18 22:01:09 +01:00
Rémi Verschelde
9eb4b6d91a
Merge pull request #23748 from groud/fix_drag_and_drop_canvas_items
...
Fixes drag and drog of image files on scaled nodes
2018-11-17 17:20:50 +01:00
Rémi Verschelde
efd4228892
EditorSettings: Rename invert_y-axis to invert_y_axis for consistency
...
No other option uses a dash in its identifier.
2018-11-17 16:19:02 +01:00
groud
60f2e94c08
Fixes drag and drog of image files on scaled nodes
2018-11-16 16:55:28 +01:00
Juan Linietsky
7f347cc31a
It is now possible to cancel on 2D polygon editor. RMB (previously close) and ESC will cancel polygon. Closes #15474
2018-11-13 18:50:54 -03:00
Ibrahn Sahir
ed337085cf
Fixed various uninitialised member variables in editor plugins.
2018-11-11 17:32:47 +00:00
Juan Linietsky
d16ce4a8ed
Many fixes to script editor remote debugger, closes #13346
2018-11-11 09:16:27 -03:00
Rémi Verschelde
f2873e5d06
Merge pull request #23638 from DualMatrix/tileset_spam
...
Fixed error spam when deleting cell in tileset
2018-11-10 21:53:11 +01:00