Commit graph

1935 commits

Author SHA1 Message Date
qarmin
616ab4fac2 Small fixes to redundand code, copy paste bugs 2019-10-14 11:40:55 +02:00
Rémi Verschelde
30c3c33029
Merge pull request #32721 from groud/independant_grid_snap
Move grid snapping to an independent button
2019-10-11 08:35:01 +02:00
PouleyKetchoupp
30f2100d59 Fixed ScriptEditor autosave timer causing errors on start
Fixes #32685
2019-10-10 22:20:15 +02:00
Gilles Roudière
fff953ac8b Move grid snapping to an independent button 2019-10-10 21:10:08 +02:00
Yuri Roubinsky
b76ae23392 Prevents folding of member tree on drag&drop in visual shader 2019-10-10 14:19:48 +03:00
Marqus
c84e73bf92 Add shortcut Shift + F3 to search pervious in the built-in docs
When using the built-in docs, Godot would not support the shortcut "Shift + F3"
to search for the previous occurrence of the search entry text, thus causing an
inconsistent behaviour when using shortcuts in the "ScriptEditor" compared to
using them in the "ScriptTextEditor".

The previous parameter of the function "EditorHelp::_search()" in the class
"editor_help" seems to be unused, thus replaced with a bool representing to
search for previous search entry text or not. By adding the shortcut to
Godot's "ScriptEditor", this commit now improves Godot's consistensy when
using shortcuts.

Fixes #31147.

Co-Authored-By: Oscar Ferm <oscfer-6@student.ltu.se>
2019-10-10 11:01:04 +02:00
Marcel Admiraal
a8836ba28d Remove dependency on the editor directory being in the build's include path.
- Add or remove the necessary subdirectorires to the includes to remove
dependency on the editor directory being in the build's include path.
- Ensure includes in modified files conform to style guideline.
- Remove editor from the build include path.
2019-10-10 08:57:00 +02:00
Pedro Ciambra
afdfe651a1 Remove Show Ruler shortcut (fixes #32639)
Removed default shortcut because of the conflict mentioned in the issue.
Command + Shift + T would conflict with Soft Reload Script,
and this shortcut doesn't seem to be needed very often.
2019-10-08 18:26:21 -03:00
Rémi Verschelde
e2f1b30565
Merge pull request #32618 from nekomatata/sprite-to-polygon
Sprite to polygon conversion improvements
2019-10-08 16:13:38 +02:00
Gilles Roudière
0e834b3924 Increase grid size limit 2019-10-07 22:59:51 +02:00
PouleyKetchoupp
1e301479da Sprite to polygon conversion improvements
- No reduced Rect in march square algorithm, it was causing inconsistent cases near the borders and made the outline less accurate
- Ignore invalid generated polygons (under 3 points) to avoid unnecessary errors and crashes
- Error popup only when no polygon could be generated at all
- Added option to shrink pixels (to get rid of small separate islands)
- Fixed polygon preview (lines were sometimes not showing along the borders)

Fixes #32564, #29267
2019-10-07 13:19:30 +02:00
Osama El Hariri
90ea3787ec Add angle to ruler tool 2019-10-06 18:04:49 +03:00
jfons
c1de7cb22e Fix calculate_spatial_bounds for selection display
Fixes `SpatialEditorPlugin::_calculate_spatial_bounds` so the displayed
selection doesn't break with transformed scenes.
2019-10-04 15:47:15 +02:00
Rémi Verschelde
b177051521
Merge pull request #32528 from hbina/hbina_fix_font_override
Fixed warnings text using custom font and color setting.
2019-10-04 13:47:04 +02:00
Hanif Bin Ariffin
79e83b7c92 Fixed warnings text using custom font and color setting.
Fixes #31917
Added missing font and color override.
2019-10-04 07:20:18 -04:00
Yuri Roubinsky
b6f8726c66
Merge pull request #32543 from Chaosus/vs_fix_input
Fix VisualShaderInput (if compiled with MinGW) (correct, tested version)
2019-10-04 13:57:01 +03:00
Rémi Verschelde
3b2033b941
Merge pull request #32540 from codecustard/fix_show_bounds_for_scenes
Fixes scene instances not displaying bounds when selected
2019-10-04 12:19:33 +02:00
Yuri Roubinsky
bc67a18fe0 Fix VisualShaderInput if compiled with MinGW 2019-10-04 10:52:07 +03:00
Yuri Roubinsky
0a34fa701f Fix VisualShaderInput (if compiled with MinGW) (correct, tested version) 2019-10-04 10:43:59 +03:00
Emmanuel Barroga
10d0bc920b Fixes scene instances not displaying bounds when selected
When selecting instances of a scene file, it doesn't display the bounding box which makes it difficult to visually see that it is selected.
2019-10-03 22:46:29 -07:00
Relintai
c39490cf79 Fix potential crash in AnimationPlayer. 2019-10-03 21:07:49 +02:00
Yuri Roubinsky
b11d15d5c3 Makes Texture and TextureUniform in visual shaders to use UV by default 2019-10-03 16:59:49 +03:00
Rémi Verschelde
059a53ee1d
Merge pull request #32504 from Relintai/fix_empty_animatin_player_crash
Fix crash in #32473. (Automatically seek timeline in selected animation)
2019-10-03 07:57:10 +02:00
Relintai
c6e577fed9 Fix crash in #32473. (Automatically seek timeline in selected animation) 2019-10-03 00:00:01 +02:00
Yuri Roubinsky
1bafadb629 Drag&drop custom nodes from filesystem to visual shader
+ better loading of custom nodes
2019-10-02 23:42:14 +03:00
Rémi Verschelde
96b46a5c00
Merge pull request #32484 from Chaosus/shader_fix
Removed unnecessary shader error log messages
2019-10-02 21:03:50 +02:00
Rémi Verschelde
a737bceb4e
Merge pull request #32473 from KoBeWi/seaking_ani
Automatically seek timeline in selected animation
2019-10-02 11:54:19 +02:00
Yuri Roubinsky
1472fca951 Removed unnecessary shader error log messages 2019-10-02 12:37:22 +03:00
Alexander Holland
35452e1ab4 Update ScriptEditor and ShaderEditor Tooltip
fix #32417
2019-10-02 11:21:59 +02:00
Tomasz Chabora
d482bd1ef0 Automatically seek timeline in selected animation 2019-10-01 18:38:03 +02:00
Chaosus
f14bcd8cc5 Added sampler port type for visual shaders 2019-10-01 13:20:08 +03:00
Chaosus
71d6990e1e Added drag&drop possibility for textures from filesystem to visual shader 2019-10-01 09:00:55 +03:00
Rémi Verschelde
ddc42be1db
Merge pull request #32431 from lupoDharkael/checks
Add checks after ResourceLoader::load()
2019-09-30 07:55:47 +02:00
Rémi Verschelde
cd63cc7df1
Merge pull request #32402 from YeldhamDev/fix_vs_add_function
Fix VS editor's "Create Function" dialog
2019-09-29 21:36:57 +02:00
lupoDharkael
0a0f596dfb Add checks after ResourceLoader::load() 2019-09-29 14:17:42 +02:00
Rémi Verschelde
3b532aa7eb
Merge pull request #32410 from bojidar-bg/5739-highlight-singletons
Highlight singletons and class_names in GDScript
2019-09-29 12:04:45 +02:00
Michael Alexsander Silva Dias
13e752190f Fix VS editor's "Create Function" dialog 2019-09-28 11:57:13 -03:00
Bojidar Marinov
db89fef8fa
Highlight singletons and class_names in GDScript
Also, implement a small QoL change for auto-typed variables.
Closes #5739
2019-09-28 13:13:18 +03:00
Bojidar Marinov
faf0a49cbf
Fix crash in ~EditorSpatialGizmoPlugin when generating documentation data 2019-09-28 12:04:50 +03:00
dankan1890
2bdde74d45 Changed the appearance of the rotation icons in the Tilemap.
Make them more intuitive.
2019-09-26 10:59:48 +02:00
Rémi Verschelde
b88291311b
Merge pull request #32345 from nekomatata/fix-curve-delete-point-error
Reset hovered point in Curve when deleted to avoid errors on draw
2019-09-25 20:46:04 +02:00
PouleyKetchoupp
fb9ff00640 Reset hovered point in Curve when deleted to avoid errors on draw
Fixes #32344
2019-09-25 18:58:09 +02:00
Rémi Verschelde
e426169e4c
Merge pull request #32341 from KoBeWi/be_gone
Clean snapping lines after resize
2019-09-25 18:45:13 +02:00
Michael Alexsander Silva Dias
5ed5465023 Replace "GuiMiniTabMenu" with "GuiTabMenu" and tweak it 2019-09-25 12:53:42 -03:00
Tomasz Chabora
37bf283195 Clean snapping lines after resize 2019-09-25 16:56:44 +02:00
Rémi Verschelde
076dc9803a
Merge pull request #32119 from Calinou/unify-axis-colors
Use the same axis colors consistently in the 2D and 3D editors
2019-09-25 13:03:47 +02:00
Rémi Verschelde
dec10dd776
Merge pull request #32051 from qarmin/some_error_explanation
Added some obvious errors explanations
2019-09-25 11:51:54 +02:00
qarmin
17732fe698 Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
Rémi Verschelde
2f52d73c21
Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docs
Add overriden properties to the documentation
2019-09-24 11:53:43 +02:00
Rémi Verschelde
cf540f853d
Merge pull request #31974 from YeldhamDev/tilegrid_map_fixes
Small fixes for the Tile/GridMap editors
2019-09-24 11:06:34 +02:00