Paulb23
362d38ea67
Update connection info on script validation rather then saved copy
2019-11-02 14:41:59 +00:00
checkerWoho
ec274eeeff
Copy transform when creating convex sibling
2019-11-02 15:08:50 +01:00
Rémi Verschelde
4569f5ec82
Merge pull request #33182 from MCrafterzz/scaleSnap
...
Added snapping for scaling in 2D editor
2019-11-02 11:12:54 +01:00
Yuri Roubinsky
d5aa611d53
Merge pull request #33256 from Chaosus/vs_fix_custom_nodes
...
Sort custom vshader nodes+prevents them from divide to different folders
2019-11-02 13:09:10 +03:00
Yuri Roubinsky
84a0ad36b6
Sort custom vshader nodes+prevents them from divide to different folders
2019-11-02 12:04:48 +03:00
MCrafterzz
3a8a7fc31c
Added snapping for scaling in 2D editor
2019-11-02 09:43:15 +01:00
PouleyKetchoupp
f6f60e22f5
Fixed error when renaming a state in AnimationNodeStateMachine
...
Fixes #33245
2019-11-01 21:14:58 +01:00
Aaron Franke
8754e21f48
Fix "seperate" typos
2019-10-31 08:52:26 -04:00
Hugo Locurcio
27ad8609e2
Improve the primary line setting display in the Configure Snap dialog
...
This merges the "steps" suffix into the SpinBox using its `suffix`
property.
2019-10-30 22:19:30 +01:00
Rémi Verschelde
9e1be8f8aa
Merge pull request #32934 from ajweeks/fix-scale-origin
...
Fix 2D scale gizmo placement
2019-10-30 12:04:10 +01:00
Hugo Locurcio
c7e5dd9ef0
Add primary grid lines to the 2D editor
...
A "primary" line is drawn every 8 steps by default,
which makes it easier to measure distances for snapping.
This value can be configured in the Configure Snap dialog.
2019-10-29 15:47:38 +01:00
Mikolaj Kaczmarek
a245bab78d
Fixed disconnecting not connected signal
2019-10-29 00:53:48 +01:00
Rémi Verschelde
816341af25
Merge pull request #33107 from volzhs/toggle-camera-preview-error
...
Fix error when opening or closing scene with camera preview on
2019-10-27 13:59:04 +01:00
volzhs
4b53a86ce3
Fix error when opening or closing scene with camera preview on
2019-10-27 21:04:29 +09:00
Paulb23
2e2a049d3c
Improve performance of connection info in the script editor
2019-10-27 11:07:19 +00:00
MCrafterzz
cdce135540
Fixed #21527 (Show hint to right click when curve editor is empty)
2019-10-26 14:15:45 +02:00
Hugo Locurcio
41c89880f8
Display a message if no results are found in the asset library
...
This closes https://github.com/godotengine/godot-proposals/issues/184 .
2019-10-26 01:07:02 +02:00
Rémi Verschelde
f259beb4f1
Merge pull request #33048 from KoBeWi/smarts_vs_grids
...
Make Ruler Tool depend on grid snap only
2019-10-25 12:06:03 +02:00
Rémi Verschelde
1c4b2a80b6
Merge pull request #33043 from volzhs/ruler-zoom
...
Fix ruler origin is moving with zoom
2019-10-25 07:48:37 +02:00
volzhs
f8e592f607
Make stylebox preview not to expand Inspector panel
2019-10-25 06:20:52 +09:00
Tomasz Chabora
50528b966d
Make Ruler Tool depend on grid snap only
2019-10-24 22:31:19 +02:00
volzhs
4beeb0fc0f
Fix ruler origin is moving with zoom
2019-10-25 05:19:13 +09:00
Erik
8b0546d93b
Implement game camera override
...
Implemented uniform API in Viewport class to override 2D and/or
3D camera.
Added buttons in 2D and 3D editor viewport toolbars that override
the running game camera transform with the editor viewport camera
transform. Implemented via remote debugger protocol and camera
override API.
Removed LiveEditFuncs function pointers from ScriptDebugger class.
Since the debugger got access to the SceneTree instance (if one
exists), there is no need to store the function pointers. The live
edit functions in SceneTree are used directly instead. Also removed
the static version of live edit functions in SceneTree for the same
reason. This reduced the SceneTree -> Debugger coupling too since
the function pointers don't need to be set from SceneTree anymore.
Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'.
This is because the remote debugger is now using SceneTree directly
and 'core/' classes should not depend on 'scene/' classes.
2019-10-23 02:51:32 +01:00
Rémi Verschelde
72dfa67dd3
Merge pull request #32924 from ajweeks/add-ruler-arcs
...
Draw arcs to indicate angles being measured by ruler
2019-10-22 22:44:50 +02:00
AJ Weeks
fb7a4ce63e
Fix canvas scale gizmo placement
2019-10-22 18:17:54 +01:00
David Sichma
94fb3f666c
Fixed evaluation for types
2019-10-22 09:42:46 +02:00
Rémi Verschelde
ee3b28e9af
Merge pull request #32841 from Calinou/freelook-add-slow-modifier
...
Add a "slow" modifier to freelook
2019-10-21 15:25:58 +02:00
AJ Weeks
59d2c71227
Add arcs to indicate angle being measured by ruler
2019-10-19 19:45:56 +01:00
Hugo Locurcio
af89a87075
Add a "slow" modifier to freelook
...
This makes precise adjustments easier, without having to
touch the mouse wheel. This modifier is also available in
Blender, so this makes the freelook behavior more consistent
with it :)
In the interest of simplifying the Editor Settings, this also
removes the freelook modifier speed factor setting
(the value is now hardcoded to its default).
2019-10-14 22:50:02 +02:00
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
Rémi Verschelde
78a7db7b6b
Merge pull request #32224 from KoBeWi/not_so_smart_lines
...
Initialize snap_target and make sure it disappears
2019-09-24 09:51:25 +02:00
Rémi Verschelde
159470df08
Merge pull request #32275 from godotengine/skin_support
...
Added skin support and simplified APIs to override bone position + glTF 2.0 import fixes
2019-09-23 15:02:15 +02:00
Rémi Verschelde
965e059146
Merge pull request #32258 from Calinou/improve-debugger-shortcut-ux
...
Improve the debugger shortcut UX
2019-09-23 14:59:44 +02:00
Rémi Verschelde
393a0152ea
Merge pull request #32055 from qarmin/some_code_fixes
...
Changed some code found by Clang Tidy and Coverity
2019-09-23 10:00:31 +02:00
Rémi Verschelde
242e6cb904
Merge pull request #32000 from codecustard/Add_Reorder_frames_via_dragndrop
...
Add ability to reorder animation frames via drag and drop
2019-09-23 08:44:22 +02:00
Rémi Verschelde
2a2f40c45b
Merge pull request #32007 from nekomatata/sprite-frames-editor-delete
...
SpriteFramesEditor improvements around deleting animations
2019-09-23 08:43:56 +02:00
Rémi Verschelde
0928e82027
Merge pull request #29895 from ptrojahn/menukey
...
Support menu key in TextEdit and LineEdit controls
2019-09-22 21:21:13 +02:00
Hugo Locurcio
471a3ceb77
Improve the debugger shortcut UX
...
- Display the shortcut in the button tooltips by defining the shortcut
on the buttons as well.
- Swap "Step Over" and "Step Into" in the Debug menu to match the button
order in the Debugger bottom panel.
2019-09-22 19:19:53 +02:00
qarmin
50be65bf43
Changed some code found by Clang Tidy and Coverity
2019-09-22 18:45:08 +02:00
Paul Trojahn
ba24bc1e04
Support menu key in TextEdit and LineEdit controls
...
Related to #15542
2019-09-22 12:06:24 +02:00
Tomasz Chabora
5476250356
Initialize snap_target and make sure it disappears
2019-09-20 22:26:26 +02:00
Rémi Verschelde
ae3c685042
Merge pull request #32137 from Calinou/vcs-error-if-none-available
...
Display an error message if no version control systems are available
2019-09-20 20:20:34 +02:00
Rémi Verschelde
712a82a6f6
Merge pull request #32134 from IronicallySerious/fix-global-class-list
...
Add correct class selection in Select VCS menu
2019-09-20 17:28:39 +02:00
Rémi Verschelde
d21b73779f
Merge pull request #32180 from KoBeWi/nein_patsch_rekt
...
Fix region editor for NinePatchRect
2019-09-20 17:26:52 +02:00
Rémi Verschelde
fdc2463a1b
Merge pull request #32150 from luzpaz/typos
...
Fix misc. source comment typos
2019-09-20 17:09:05 +02:00
luz.paz
91ecd7b6a6
Fix misc. source comment typos
...
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-19 14:36:52 -04:00
Rémi Verschelde
2add51d082
Merge pull request #31964 from nekomatata/fix-animation-player-error
...
Fixed switching back to AnimationPlayerEditor with empty animation list
2019-09-19 20:32:05 +02:00
Rémi Verschelde
af51fbd994
Merge pull request #32174 from Calinou/2d-editor-display-zoom
...
Display the current zoom percentage in the 2D editor
2019-09-19 20:14:26 +02:00
Rémi Verschelde
093c1c1a69
Merge pull request #31985 from nekomatata/fix-builtin-script-resource
...
Fixed resource loading when editing built-in script from resource
2019-09-19 20:07:41 +02:00
Rémi Verschelde
fc9985b770
Merge pull request #31961 from YeldhamDev/info_messages
...
Add informational messages to various editors
2019-09-19 20:06:44 +02:00
Juan Linietsky
d81ddaf33e
Added skin support and simplified APIs to override bone position.
2019-09-18 19:46:32 -03:00
Hugo Locurcio
95f6f81dc2
Display the current zoom percentage in the 2D editor
...
This makes it possible for the user to know precisely the current
zoom level. The zoom percentage can be clicked to reset it to 100%
(similar to Firefox).
2019-09-17 20:36:10 +02:00
Tomasz Chabora
cf2ae78956
Fix region editor for NinePatchRect
2019-09-17 19:26:20 +02:00
Hugo Locurcio
6df03fe61f
Display an error message if no version control systems are available
...
This removes the need for a dedicated placeholder entry.
This closes #32135 .
2019-09-14 22:14:00 +02:00
Twarit
50da1b7d15
Add correct class selection in Select VCS menu
2019-09-14 21:06:52 +05:30
Hugo Locurcio
c2bcc3f700
Use the same axis colors consistently in the 2D and 3D editors
2019-09-13 14:08:41 +02:00
PouleyKetchoupp
d53ddc5baa
Fixed resource loading when editing built-in script from resource
...
Fixes #27380
2019-09-07 16:54:01 +02:00
PouleyKetchoupp
a701d4e940
SpriteFramesEditor improvements around deleting animations
...
- Reorganized buttons layout to make it clearer between deleting animation & frame
- Added a confirmation popup for deleting an animation
- Fixed errors on selecting an animation after deleting one
2019-09-06 11:11:12 +02:00
Emmanuel Barroga
0048468658
Add ability to reorder animation frames via drag and drop
...
Allows you to reorder the frames of the animation by dragging the frames around.
2019-09-05 17:08:17 -07:00
Michael Alexsander Silva Dias
fd0dace4b5
Small fixes for the Tile/GridMap editors
2019-09-04 16:54:05 -03:00
Rémi Verschelde
e205cbbd06
Merge pull request #31967 from nekomatata/fix-builtin-script-scene
...
Load scene if needed when editing recent built-in script
2019-09-04 21:23:12 +02:00
PouleyKetchoupp
ad499f234f
Load scene if needed when editing recent built-in script
...
Fixes #31966
2019-09-04 19:14:47 +02:00
Yuri Roubinsky
aadbb66dc2
Merge pull request #31926 from Chaosus/vs_switch
...
Some improvements for Switch node in visual shaders
2019-09-04 19:21:54 +03:00
PouleyKetchoupp
b01d07e049
Fixed switching back to animation player editor with no animation to select
...
Fixes #31959
2019-09-04 18:18:25 +02:00
Michael Alexsander Silva Dias
5f3a55acb7
Add informational messages to various editors
2019-09-04 12:37:11 -03:00
Chaosus89
bf3024c172
Added missing OUTPUT_IS_SRGB and FRONT_FACING to visual shaders
2019-09-04 18:24:44 +03:00
Rémi Verschelde
855a465c87
Merge pull request #31956 from IronicallySerious/add-vcs-copyright
...
Add copyright headers to VCS integration
2019-09-04 14:48:13 +02:00
Bojidar Marinov
6c4407bae4
Add overriden properties to the documentation
...
Fixes #31855
2019-09-04 15:21:40 +03:00
Twarit
444ba61aac
Add copyright headers to vcs integration
2019-09-04 16:47:26 +05:30
Rémi Verschelde
5d162798cd
Merge pull request #31619 from Calinou/assetlib-improve-sort-fields
...
Improve sorting options in the asset library
2019-09-04 01:26:15 +02:00
Rémi Verschelde
4967f303f5
Merge pull request #31461 from IronicallySerious/add-vcs-integration
...
VCS integration for Godot Editor
2019-09-04 01:09:24 +02:00
Twarit
07e3be3deb
Add version control editor plugin
...
Provides the editor with all the VCS GUI and extracts the data from the
upcoming VCS API to cater to the project with VCS interaction.
2019-09-03 19:58:32 +05:30
Hugo Locurcio
a4a0295154
Improve sorting options in the asset library
...
The reverse sorting options are now integrated in the list of
sorting options, making the "Reverse" button unnecessary.
This pattern tends to be easier to discover by users.
The "Downloads" sorting option was also removed as it's not
implemented in the backend.
2019-09-03 15:16:58 +02:00
Chaosus89
a79d8e3b8f
Some improvements for Switch node in visual shaders
2019-09-03 15:11:02 +03:00
Rémi Verschelde
dd7c4c62ab
Merge pull request #31782 from aole/persist-ColorPicker-color-mode
...
Persist ColorPicker color mode
2019-09-03 12:36:04 +02:00
Rémi Verschelde
037237f518
Merge pull request #31898 from Calinou/animation-editor-add-precise-snapping
...
Implement precise snapping in the animation editor
2019-09-02 22:12:41 +02:00
Rémi Verschelde
e206050380
Merge pull request #31890 from Calinou/curve-editor-add-snapping
...
Implement snapping in the Curve editor
2019-09-02 22:12:25 +02:00
Rémi Verschelde
169c1dc9ef
Merge pull request #31906 from Calinou/assetlib-refresh-once
...
Refresh the asset library only once on startup
2019-09-02 22:05:29 +02:00
Hugo Locurcio
6f915d386a
Refresh the asset library only once on startup
...
This avoids unnecessary calls to the API when switching between tabs
in the editor or project manager.
2019-09-02 20:08:55 +02:00
Michael Alexsander Silva Dias
ab6daed467
Add icon for the ruler tool
2019-09-02 11:45:03 -03:00
Hugo Locurcio
55b9c6804c
Implement precise snapping in the animation editor
...
Holding Shift while snapping is enabled will now make snapping
4 times as precise.
2019-09-02 15:55:44 +02:00
Hugo Locurcio
f07fc5b434
Implement snapping in the Curve editor
...
Holding Ctrl will snap the selected point/tangent by increments
of 10% of the curve's width/height. Holding Shift as well will snap
by increments of 2.5% instead.
2019-09-02 14:00:22 +02:00
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
DualMatrix
b6c386a3b0
Fixed error spam when deleting cell in tileset
...
Fixes #23556 and should fix #21549
2018-11-10 18:52:52 +01:00
Juan Linietsky
eb2d7228cd
Make TextureRegion grid settings occupy less space, closes #12679
2018-11-10 08:08:27 -03:00
Rémi Verschelde
d4c62e714c
Merge pull request #23578 from Liangdi/master
...
fix tile set editor crash when drawing polygon shapes
2018-11-09 15:57:31 +01:00
Rémi Verschelde
eef2625ae5
Merge pull request #23059 from groud/change_ci_selection
...
Allow the Container children selection but don't allow them to move
2018-11-09 10:04:34 +01:00
Juan Linietsky
531dc2f435
Proper time tracking in AnimationNodeAnimation, closes #22887
2018-11-08 16:51:45 -03:00
Liangdi
5116c009c9
fix tile set editor crash when drawing polygon shapes
2018-11-08 02:10:13 +08:00
groud
0ec448d21d
Fixes icons in itemlist not working
2018-11-07 18:29:24 +01:00
Rémi Verschelde
de0d306558
Merge pull request #23383 from groud/better_tilemap_transform
...
Enhance the tilemap transform buttons
2018-11-06 22:27:29 +01:00
groud
742a9d9023
Fixes uniform scaling issues (for real this time)
2018-11-06 21:51:48 +01:00
groud
c2b6a900fc
Fixes uniform scaling weird behavior
2018-11-05 23:31:57 +01:00
Michael Alexsander Silva Dias
f6d137d3d0
Added "shader" filter to "Find in Files"
2018-11-05 12:13:08 -02:00
Rémi Verschelde
06a133bdd1
Merge pull request #23518 from volzhs/confirmed_already_connected
...
Fix error with a specific dock layout
2018-11-05 13:06:27 +01:00
Rémi Verschelde
5f8af252e8
doc: Use HTTPS for docs.godotengine.org and point to latest branch
...
Fixes #23509 .
2018-11-05 08:46:27 +01:00
Rémi Verschelde
935537c531
Merge pull request #23508 from Paulb23/clone_last_line_issue_21811
...
Fix clone line undo history and extra new line, issue 21811
2018-11-05 08:38:42 +01:00
Rémi Verschelde
4c63772f54
Merge pull request #22622 from JFonS/fix_particle_animation
...
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
2018-11-05 07:59:30 +01:00
volzhs
9f62f79dbb
Fix error with a specific dock layout
2018-11-05 11:45:25 +09:00
Paulb23
6c54cb8bff
Fix clone line undo history and extra new line, issue 21811
2018-11-04 18:33:16 +00:00
JFonS
85ce4a67ed
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
...
Remove animation loop from ParticlesMaterial and move it to
SpatialMaterial for 3D particles and Particles2D for the 2D case.
Added animation to CPUParticles2D as well as the "Convert to
CPUParticles2D" to the PAarticles2D menu.
2018-11-04 15:58:12 +01:00
groud
952f3004f1
Fixes CollisionShape extends not updating when draggind handles
2018-11-03 19:15:10 +01:00
Rémi Verschelde
a3501c096f
Merge pull request #21897 from Calinou/3d-display-camera-coordinates
...
Display camera coordinates in the 3D viewport's information pane
2018-11-02 11:33:22 +01:00
Pedro J. Estébanez
d856ec611a
Let TileSet editor sanitize out tiles with wrong textures
2018-11-02 04:54:28 +01:00
Rémi Verschelde
91e5782795
Merge pull request #23311 from YeldhamDev/editor_capitalization_fix
...
Small capitalization fixes across the editor
2018-11-01 21:37:33 +01:00
Juan Linietsky
755249f7d9
Merge pull request #22311 from Xrayez/fix-22037
...
Fix blend tree editor updating invalid blend tree node graph
2018-11-01 16:59:48 -03:00
Rémi Verschelde
9000b1a75d
Merge pull request #22938 from groud/open_spriteframes_on_animatedsprites_edit
...
Opens the SpriteFrames editor when editing an AnimatedSprite
2018-11-01 10:49:38 +01:00
Rémi Verschelde
c7928bc27f
Merge pull request #23195 from Liangdi/master
...
support New TileSet Editor zooming use CTRL/CMD + MouseWheel
2018-11-01 10:37:27 +01:00
groud
0c2ebbe626
Add an overlay on editor to display error messages
2018-10-30 18:53:58 +01:00
groud
a05ef683a5
Allow the Container children selection but don't allow them to move
2018-10-30 14:56:55 +01:00
groud
bdb5282ea0
Enhance the tilemap transform buttons
2018-10-30 14:43:52 +01:00
Michael Alexsander Silva Dias
ec00ec08aa
Fix issues with the "Search Results" panel
2018-10-27 22:48:09 -03:00
Michael Alexsander Silva Dias
f3835282c4
Small capitalization fixes across the editor
2018-10-26 16:11:36 -03:00
Liangdi
aaa7f625df
support New TileSet Editor zooming use CTRL/CMD + MouseWheel
...
fixed code style for clang-format
apply clang-format
2018-10-26 23:58:58 +08:00
Michael Alexsander Silva Dias
46d02bade4
Fix inconsistences in some buttons in the Canvas/Spatial editor menubar
2018-10-25 12:15:39 -03:00
Rémi Verschelde
3f23b2ecf4
Merge pull request #23017 from Calinou/increase-source-font-line-spacing
...
Increase the source font's line spacing
2018-10-25 17:31:24 +02:00
Rémi Verschelde
48c6844b00
Merge pull request #23171 from capnm/fix-orthogonal-mode-freelook
...
Disable 'freelook' in the orthogonal mode.
2018-10-25 11:35:32 +02:00
Rémi Verschelde
bf737ee8da
Merge pull request #23211 from YeldhamDev/spatial_editor_preview_adjustment
...
Readjust "Preview" button in Spatial editor
2018-10-25 10:58:50 +02:00
M. Huri
b46ba24e3b
Repaired mistyped of 'its' on several files.
2018-10-25 07:19:21 +07:00
Martin Capitanio
808b46cfc2
Fix 'Align selection with view' in orthogonal mode
...
Fixes #23096
2018-10-22 17:05:16 +02:00
Michael Alexsander Silva Dias
36575fe628
Readjust "Preview" button in Spatial editor
2018-10-21 23:06:27 -03:00
Rémi Verschelde
3ac0e8d0df
Merge pull request #23181 from Calinou/tweak-min-panel-sizes-hidpi
...
Resize some editor panel minimum sizes on hiDPI displays
2018-10-21 11:26:58 +02:00
Timo
a94e25016b
Merge pull request #22972 from YeldhamDev/3d_view_perspective_button
...
Make "Perspective" button look like a actual clickable button
2018-10-21 03:59:59 +02:00
Hugo Locurcio
f126b61748
Resize some editor panel minimum sizes on hiDPI displays
...
This also increases the plugin description TextEdit's height,
so that 3 lines can be viewed instead of just 2 (leaving a few pixels
for the scroll bar).
2018-10-20 22:09:42 +02:00
Martin Capitanio
9548707298
Disable 'freelook' in the orthogonal mode.
...
Fixes #23095
Thanks @aaronfranke for hints.
Fixes #23078
2018-10-20 12:49:33 +02:00
Dualtagh Murray
b902a2f2a7
Fixing warnings generated by MSVC
...
Fixes #22684 .
2018-10-19 11:45:24 +02:00
Rémi Verschelde
cb30b60de6
Merge pull request #23112 from groud/fix_viewport_not_updating
...
Fixes viewport scrollbars not updating with plugins
2018-10-19 11:19:49 +02:00
Michael Alexsander Silva Dias
9d69c34990
Make "Perspective" button look like a actual clickable button
2018-10-18 22:36:59 -03:00
groud
ced6f43455
Fixes viewport scrollbars not updating with plugins
2018-10-18 14:06:57 +02:00
Rémi Verschelde
0d8284d3d4
Merge pull request #23037 from SeleckyErik/issue-23036
...
Hide header and footer in AssetLib when not necessary
2018-10-17 16:13:44 +02:00
Zaven Muradyan
b58c46fc9c
Add tooltip to skeleton menu button.
...
Fixes #23008 .
2018-10-17 00:53:29 -07:00
Rémi Verschelde
49aa1be9b6
Merge pull request #22738 from akerudesu/script_comments
...
Improve toggle comment function in script editor
2018-10-16 15:07:07 +02:00
Erik
cd759c773d
Hide header and footer in AssetLib when not necessary
...
Reduces visual clutter by hiding pages navigator header and footer in AssetLib if no results are
found or when results fit on one page one page.
Fix for issue #23036
2018-10-15 19:26:57 +02:00
Hugo Locurcio
976b3e3284
Increase the source font's line spacing
...
This also increases line spacing in license texts in the editor's
About dialog.
2018-10-14 21:39:49 +02:00
merumelu
27596f6031
TileSetEditor: Don't crash when adding invalid files
2018-10-11 17:15:01 +02:00
groud
2b71f52831
Opens the SpriteFrames editor when editing an AnimatedSprite
2018-10-11 17:03:14 +02:00
Unknown
c3d40e42ce
Improve toggle comment function in script editor.
2018-10-09 19:39:45 +02:00
Rémi Verschelde
c5da418b0b
Merge pull request #22698 from Calinou/fix-find-files-hidpi
...
Fix Find in Files font size on hiDPI displays
2018-10-07 11:43:39 +02:00
Rémi Verschelde
bf6dcb9105
Merge pull request #22722 from akien-mga/fix-warnings
...
Fix more "may be used initialized" warnings from GCC 7
2018-10-07 11:07:13 +02:00
Rémi Verschelde
44d82b3a07
Merge pull request #22752 from aaronfranke/equals-redundant
...
Remove redundant "== true" and "== false" code
2018-10-07 10:58:45 +02:00
Hugo Locurcio
1a2f6cfcb5
Make the 3D viewport menu button easier to read
...
This closes #22809 .
2018-10-06 23:00:33 +02:00
Aaron Franke
4f7b33cdcf
Remove redundant "== false" code
...
Some of this code has been re-organized.
f
2018-10-06 16:20:41 -04:00
Aaron Franke
37386f112b
Remove redundant "== true" code
...
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-06 16:12:36 -04:00
Hugo Locurcio
7063878243
Fix Find in Files font size on hiDPI displays
...
This closes #22692 .
2018-10-05 21:37:26 +02:00
William Tumeo
af10067727
Improve ResourcePreloader editor plugin
...
Fix #22724 by adding an Open Resource button
Add a Remove button to each tree item
Remove the old Remove button and its useless code
Adjust columns min width
Remove Resource names and move icons to the left
Add a Resource icon fallback
2018-10-05 14:59:10 -03:00
Rémi Verschelde
3e9740ac93
Fix more "may be used initialized" warnings from GCC 7
...
Fixes the following GCC 7 warnings:
```
core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized]
servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-10-04 18:54:20 +02:00
Rémi Verschelde
8068d0217a
Merge pull request #22715 from groud/fix_tilemap_editor
...
Fixes tilemap editor offset tile selection
2018-10-04 18:20:29 +02:00
Simon Wenner
10718b0961
Fix some cppcheck errors
...
cppcheck: fix broken pre-processor statement
cppcheck: fix Uninitialized struct members in canvas editor plugin
cppcheck: fix uninitialized struct member: method_api.is_virtual
2018-10-04 18:16:04 +02:00
groud
c7725aa98a
Fixes tilemap editor offset tile selection
2018-10-04 14:20:03 +02:00
Rémi Verschelde
181af9b484
Merge pull request #22713 from akien-mga/fix-warnings
...
Fix GCC 8 warnings about potentially unitialized variables
2018-10-04 14:19:05 +02:00
the 8th mage
f7a9866417
Fix TileMap editor drawing
...
the tile cursor did not follow the mouse cursor, and the tile grid was displayed wrong,
because the forward_canvas_draw_over_viewport function used the wrong xform and thus its
map_to_world is not the inverse of the mouse interactor world_to_map, making the tiles
draw from 0,0 of the screen instead of 0,0 of the tile map (which is in a different place)
2018-10-04 13:19:55 +02:00
Rémi Verschelde
f48ee838e7
Fix GCC 8 warnings about potentially unitialized variables
...
Fixes the following GCC 8 warnings:
```
core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
```
2018-10-04 13:08:41 +02:00
Hugo Locurcio
9c1d4f9da2
Use more subtle indentation guides in the script editor
2018-10-03 00:00:25 +02:00
Rémi Verschelde
540db0a0e7
Merge pull request #22329 from DualMatrix/no_select
...
Made children of Containers not selectable.
2018-10-02 16:39:00 +02:00
Rémi Verschelde
c026e3957a
Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor]
...
Fixes the following Clang 7 warnings:
```
editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual]
editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual]
main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual]
servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual]
core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
```
2018-10-02 13:40:17 +02:00
Rémi Verschelde
106acb27f9
Merge pull request #22568 from dlasalle/#14959
...
Explicitly show viewport 0 in the SpatialEditorPlugin if the container is large enough.
2018-10-02 11:26:29 +02:00
Rémi Verschelde
dd3f6a04db
Merge pull request #21679 from pgruenbacher/spatial_editor_viewport_get_camera
...
added get_camera_method to spatial editor plugin viewport
2018-10-02 11:23:14 +02:00
Rémi Verschelde
876456754d
Merge pull request #21421 from YeldhamDev/mult_view_changes
...
Small improvements to the Spatial Editor's multiple viewport mode
2018-10-02 11:22:49 +02:00
Rémi Verschelde
b2bba4be44
Fix warnings about invalid logical not on left hand side [-Wlogical-not-parentheses]
...
Fixes the following Clang 7 warnings and bugs:
```
editor/plugins/curve_editor_plugin.cpp:208:69: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
editor/plugins/curve_editor_plugin.cpp:214:43: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
```
Changed according to @Zylann's suggestion on
https://github.com/godotengine/godot/pull/22593#discussion_r221699573
2018-10-01 23:21:46 +02:00
Rémi Verschelde
b1b625f4f5
Fix various Clang 7 warnings about unused stuff
...
Namely:
[-Wunneeded-internal-declaration]
[-Wunused-comparison]
[-Wunused-const-variable]
[-Wunused-function]
[-Wunused-private-fields]
Fixes the following Clang 7 warnings:
```
editor/plugins/script_editor_plugin.cpp:1417:20: warning: function '_find_node_with_script' is not needed and will not be emitted [-Wunneeded-internal-declaration]
editor/scene_tree_dock.cpp:1859:14: warning: function '_find_last_visible' is not needed and will not be emitted [-Wunneeded-internal-declaration]
modules/gdscript/gdscript_parser.cpp:7838:19: warning: equality comparison result unused [-Wunused-comparison]
scene/resources/mesh.cpp:549:35: warning: unused variable '_array_types' [-Wunused-const-variable]
scene/resources/mesh.cpp:563:18: warning: unused variable '_format_translate' [-Wunused-const-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:54:28: warning: unused function 'store_transform2d' [-Wunused-function]
core/io/file_access_network.h:50:6: warning: private field 'ml' is not used [-Wunused-private-field]
core/io/file_access_zip.h:93:14: warning: private field 'archive' is not used [-Wunused-private-field]
core/io/resource_format_binary.h:122:6: warning: private field 'bin_meta_idx' is not used [-Wunused-private-field]
core/message_queue.h:47:9: warning: private field 'mutex' is not used [-Wunused-private-field]
main/tests/test_gui.cpp:63:11: warning: private field 'control' is not used [-Wunused-private-field]
modules/gdscript/gdscript_parser.h:558:7: warning: private field 'completion_static' is not used [-Wunused-private-field]
platform/x11/os_x11.h:148:11: warning: private field 'ip_unix' is not used [-Wunused-private-field]
platform/x11/os_x11.h:180:7: warning: private field 'net_wm_icon' is not used [-Wunused-private-field]
platform/x11/os_x11.h:189:6: warning: private field 'audio_driver_index' is not used [-Wunused-private-field]
platform/x11/os_x11.h:190:15: warning: private field 'capture_idle' is not used [-Wunused-private-field]
servers/physics/body_pair_sw.h:79:6: warning: private field 'cc' is not used [-Wunused-private-field]
servers/visual/visual_server_raster.h:62:7: warning: private field 'draw_extra_frame' is not used [-Wunused-private-field]
```
2018-10-01 17:32:12 +02:00
Aaron Franke
cd349efb0e
Minor nit-picky tweaks in spatial_editor_plugin.cpp
...
* Orthogonal cameras don't have an FOV that's "near zero". Or zero, or any number of degrees. It's not a measurement of degrees, it's just a fixed width. This comment is more accurate. Also, "terrible" is a better word than "awful" here.
* While I'm editing this file, the "String ortho" variable name could be more intuitive, so I've changed it to "view_mode".
Minor nit-picky changes, I know, but I found it so I may as well improve it.
2018-10-01 02:01:06 -04:00
Dominique LaSalle
df06087057
Explicitly show viewport 0 in the SpatialEditorPlugin if the container is large enough.
2018-09-30 10:09:31 -07:00
Rémi Verschelde
62ecb44035
Fix warning about functions defined but not used [-Wunused-function]
...
Fixes the following GCC 5 warnings:
```
core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function]
core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function]
editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function]
editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function]
modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function]
scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
```
Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword.
Not fixed yet (static definition in header used in some files but not all):
```
modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function]
```
Also fixed a couple other warnings missed in previous commits.
2018-09-29 22:26:12 +02:00
Rémi Verschelde
3a2ca68af3
SCons: Build thirdparty code in own env, disable warnings
...
Also remove unnecessary `Export('env')` in other SCsubs,
Export should only be used when exporting *new* objects.
2018-09-28 14:07:39 +02:00
Rémi Verschelde
c7e646c30a
Merge pull request #22447 from akien-mga/fix-warnings-Wswitch
...
Fix warnings about unhandled enum value in switch [-Wswitch]
2018-09-28 09:47:29 +02:00
Rémi Verschelde
7b081a7fc8
Fix warnings about unhandled enum value in switch [-Wswitch]
...
Fixes GCC 5 warnings of the form:
core/io/http_client.cpp:288:9: warning: enumeration value 'STATUS_SSL_HANDSHAKE_ERROR' not handled in switch [-Wswitch]
core/io/marshalls.cpp:806:9: warning: enumeration value 'AABB' not handled in switch [-Wswitch]
Those can be trivial cases where adding a default fallback is the solution,
or more complex issues/hidden bugs where missed values are actually meant
to be handled.
2018-09-27 18:34:30 +02:00
Rémi Verschelde
1b63dd83bd
Merge pull request #22482 from groud/text_rulers
...
Place the ruler text vertically
2018-09-27 18:13:31 +02:00
groud
dfe81b9840
Place the ruler text vertically
2018-09-27 16:50:40 +02:00
Rémi Verschelde
cdc411fd54
Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more
...
Fixes the following GCC 5 warnings:
```
core/os/file_access.cpp:49:19: warning: the address of 'FileAccess::create_func' will always evaluate as 'true' [-Waddress]
servers/audio_server.cpp:192:70: warning: comparison with string literal results in unspecified behaviour [-Waddress]
drivers/gles2/rasterizer_storage_gles2.cpp:4095:90: warning: NULL used in arithmetic [-Wpointer-arith]
modules/gdnative/register_types.cpp:237:3: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
platform/android/export/export.cpp:207:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
modules/gdscript/gdscript.h:150:67: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:119:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:123:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:127:50: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:131:52: warning: returning reference to temporary [-Wreturn-local-addr]
editor/plugins/skeleton_editor_plugin.cpp:34:36: warning: extra tokens at end of #include directive
modules/bullet/bullet_types_converter.cpp:31:9: warning: #pragma once in main file
editor/import/editor_scene_importer_gltf.cpp:1996:51: warning: name lookup of 'i' changed
modules/visual_script/visual_script_property_selector.cpp:402:45: warning: name lookup of 'E' changed
scene/gui/tree.cpp:1268:25: warning: name lookup of 'i' changed
scene/resources/visual_shader.cpp:808:32: warning: name lookup of 'i' changed
```
2018-09-27 16:33:52 +02:00
Rémi Verschelde
d95bbb8922
Fix warnings about set but unused variables [-Wunused-but-set-variable]
...
Fixes the following GCC 5 warnings:
```
drivers/gles2/rasterizer_canvas_gles2.cpp:814:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2270:11: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2673:22: warning: variable 'e' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:715:7: warning: variable 'no_cull' set but not used [-Wunused-but-set-variable]
drivers/gles2/shader_gles2.cpp:693:14: warning: variable 'cc' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_canvas_gles3.cpp:1226:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:3039:10: warning: variable 'contrib' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:4504:32: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
editor/editor_inspector.cpp:272:9: warning: variable 'guide_color' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:1067:14: warning: variable 'alpha3' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:263:8: warning: variable 'script_bg_color' set but not used [-Wunused-but-set-variable]
editor/plugins/collision_shape_2d_editor_plugin.cpp:326:11: warning: variable 'cpoint' set but not used [-Wunused-but-set-variable]
editor/plugins/mesh_editor_plugin.cpp:72:9: warning: variable 'size' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:471:12: warning: variable 'mpos' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:89:8: warning: variable 'basetype_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:90:8: warning: variable 'type_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:92:8: warning: variable 'string_color' set but not used [-Wunused-but-set-variable]
modules/visual_script/visual_script_editor.cpp:2521:7: warning: variable 'seq_connect' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:580:12: warning: variable 'styles_count' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:584:12: warning: variable 'styles_offset' set but not used [-Wunused-but-set-variable]
platform/osx/export/export.cpp:464:9: warning: variable 'zerr' set but not used [-Wunused-but-set-variable]
scene/2d/tile_map.cpp:260:10: warning: variable 'tcenter' set but not used [-Wunused-but-set-variable]
scene/3d/light.cpp:166:7: warning: variable 'editor_ok' set but not used [-Wunused-but-set-variable]
scene/3d/navigation.cpp:566:11: warning: variable 'closest_navmesh' set but not used [-Wunused-but-set-variable]
scene/gui/rich_text_label.cpp:869:8: warning: variable 'size' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:705:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:706:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:726:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:727:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/resources/material.cpp:430:7: warning: variable 'using_world' set but not used [-Wunused-but-set-variable]
servers/visual/shader_language.cpp:2026:7: warning: variable 'all_const' set but not used [-Wunused-but-set-variable]
servers/visual/visual_server_scene.cpp:1383:28: warning: variable 'z_max_cam' set but not used [-Wunused-but-set-variable]
```
Also fixes two [-Wunused-value] warnings:
```
scene/gui/text_edit.cpp:4405:20: warning: statement has no effect [-Wunused-value]
servers/visual/visual_server_scene.cpp:905:48: warning: value computed is not used [-Wunused-value]
```
Some of those are bugs and need further work, they are identified with
`// FIXME` comments.
2018-09-27 16:25:24 +02:00
Rémi Verschelde
cda5b0bfe1
Fix warnings about unused variables [-Wunused-variable]
...
Fixes the following GCC 5 warnings:
```
drivers/gles2/rasterizer_scene_gles2.cpp:1139:15: warning: unused variable 'offset' [-Wunused-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:1205:39: warning: unused variable 'multi_mesh' [-Wunused-variable]
drivers/gles2/rasterizer_storage_gles2.cpp:359:7: warning: unused variable 'srgb' [-Wunused-variable]
drivers/gles2/shader_gles2.cpp:1016:45: warning: unused variable 'texture_hints' [-Wunused-variable]
editor/animation_track_editor.cpp:776:9: warning: unused variable 'keys_to' [-Wunused-variable]
editor/editor_inspector.cpp:273:7: warning: unused variable 'vs_height' [-Wunused-variable]
editor/editor_themes.cpp:202:10: warning: unused variable 'begin_time' [-Wunused-variable]
editor/editor_themes.cpp:239:10: warning: unused variable 'end_time' [-Wunused-variable]
editor/plugins/animation_blend_tree_editor_plugin.cpp:726:17: warning: unused variable 'an' [-Wunused-variable]
editor/plugins/script_text_editor.cpp:1278:8: warning: unused variable 'fold_state' [-Wunused-variable]
main/main.cpp:132:13: warning: 'use_vsync' defined but not used [-Wunused-variable]
modules/cvtt/image_compress_cvtt.cpp:231:8: warning: unused variable 'y_end' [-Wunused-variable]
modules/cvtt/image_compress_cvtt.cpp:311:6: warning: unused variable 'shift' [-Wunused-variable]
modules/gdscript/gdscript_editor.cpp:58:7: warning: unused variable 'th' [-Wunused-variable]
modules/gridmap/grid_map.cpp:1084:6: warning: unused variable 'ofs' [-Wunused-variable]
modules/theora/video_stream_theora.cpp:442:9: warning: unused variable 'tr' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2606:6: warning: unused variable 'count' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2829:6: warning: unused variable 'seq_count' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2844:24: warning: unused variable 'vnode_function' [-Wunused-variable]
modules/websocket/lws_peer.cpp:122:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:135:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:63:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:91:12: warning: unused variable 'peer_data' [-Wunused-variable]
platform/android/export/export.cpp:763:16: warning: unused variable 'node_size' [-Wunused-variable]
scene/gui/rich_text_label.cpp:850:10: warning: unused variable 'x_ofs' [-Wunused-variable]
scene/gui/text_edit.cpp:653:8: warning: unused variable 'tab_w' [-Wunused-variable]
scene/resources/bit_mask.cpp:186:6: warning: unused variable 'i' [-Wunused-variable]
scene/resources/mesh.cpp:549:20: warning: '_array_name' defined but not used [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:107:10: warning: unused variable 'v2' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:108:10: warning: unused variable 'v3' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:109:10: warning: unused variable 'v4' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:110:10: warning: unused variable 'v5' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:111:10: warning: unused variable 'v0n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:112:10: warning: unused variable 'v1n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:113:10: warning: unused variable 'v2n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:114:10: warning: unused variable 'v3n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:115:10: warning: unused variable 'v4n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:116:10: warning: unused variable 'v5n' [-Wunused-variable]
servers/visual/default_mouse_cursor.xpm:2:21: warning: 'default_mouse_cursor_xpm' defined but not used [-Wunused-variable]
```
2018-09-27 16:25:24 +02:00
Rémi Verschelde
e5bbcb8bcf
Fix warnings for comparison between signed and unsigned integers [-Wsign-compare]
...
Also turn off -Wsign-compare warnings in the future, we do not consider them important.
Fixes the following GCC 5 warnings:
```
core/node_path.cpp:279:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:169:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:314:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/shader_gles2.cpp:985:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles3/rasterizer_storage_gles3.cpp:1075:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/pulseaudio/audio_driver_pulseaudio.cpp:343:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_plugin.cpp:525:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_properties_array_dict.cpp:747:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:2078:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:4096:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/sprite_editor_plugin.cpp💯 20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:122:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:134:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:339:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/etc/image_etc.cpp:222:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:242:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:258:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:200:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:222:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:246:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1085:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1489:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1623:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:206:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:356:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:406:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:493:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/audio_stream_player_3d.cpp:420:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:565:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:571:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_rb_resampler.cpp:156:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
The following warnings were not fixed, as they implied casting for no gain:
```
core/io/packet_peer.cpp:228:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/io/resource_format_binary.cpp:109:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/rasterizer_scene_gles2.cpp:144:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/unix/file_access_unix.cpp:249:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:889:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1020:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1154:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:2255:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/bit_mask.cpp:336:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:141:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:150:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:154:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:86:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:89:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
2018-09-27 16:25:23 +02:00
Rémi Verschelde
d8b30d42f5
Fix warnings for operator precedence disambiguation [-Wparentheses]
...
Fixes the following GCC 5 warnings:
```
core/io/resource_format_binary.cpp:1721:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
core/typedefs.h:108:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
editor/plugins/spatial_editor_plugin.cpp:2202:58: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
editor/plugins/spatial_editor_plugin.cpp:5002:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
main/input_default.cpp:346:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
main/input_default.cpp:348:60: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
main/input_default.cpp:579:57: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
modules/gridmap/grid_map_editor_plugin.cpp:613:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
modules/theora/video_stream_theora.cpp:335:34: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
modules/theora/video_stream_theora.cpp:336:35: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
modules/visual_script/visual_script_property_selector.cpp:215:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/rich_text_label.cpp:424:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/rich_text_label.cpp:512:80: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/scroll_container.cpp:173:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/scroll_container.cpp:173:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/tree.cpp:1419:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
```
2018-09-27 10:29:48 +02:00
Rémi Verschelde
2b084352b9
Fix warnings on non-static data member initializers (C++11 feature)
...
We're not formally using C++11 yet so those trigger compilation warnings
(at least with GCC 5):
./main/input_default.h:122:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
CursorShape default_shape = CURSOR_ARROW;
^
Note: We may allow those eventually (especially for non-int static const),
but most of current occurrences were inconsistent with all other classes.
See also http://www.stroustrup.com/C++11FAQ.html#member-init
2018-09-27 10:29:48 +02:00
Hugo Locurcio
c4770a5b5d
Tweak some editor texts' capitalization, use "Go to" instead of "Goto"
...
This also fixes a typo in the `debugger/debug_with_external_editor`
shortcut.
2018-09-25 22:51:13 +02:00
Rémi Verschelde
298a6ad73c
Merge pull request #22290 from groud/add_2dimensional_scale
...
Add both X and Y scale in the scale editor
2018-09-25 10:25:13 +02:00
groud
bad5ec61b1
Add both X and Y scale in the scale editor
2018-09-25 09:50:25 +02:00
Chaosus
943d0a90f5
Added viewport border color setting for canvas item editor
2018-09-24 16:16:40 +03:00
DualMatrix
44e996fdc5
Made children of Containers not selectable.
...
Made children of Containers not selectable.
2018-09-23 22:26:05 +02:00
Andrea Catania
a3bdcb901f
Correctly freed PhysicalBoneEditor
2018-09-22 11:27:30 +02:00
Andrea Catania
855a440071
Removed node from physical_bone_plugin
2018-09-22 10:14:52 +02:00
Andrii Doroshenko (Xrayez)
e343610b0e
Fix blend tree editor updating invalid blend tree node graph
...
Editing unreferenced blend tree caused SIGSEGV when updating node graph.
Fixes #22037
2018-09-21 12:48:26 +03:00
Juan Linietsky
d9e88bccbe
Merge pull request #22295 from groud/fix_2D_IK
...
Fixes 2D Inverse Kinematic
2018-09-20 17:55:37 -03:00
groud
de01b7941d
Fixes 2D IK
2018-09-20 22:33:49 +02:00
Rémi Verschelde
76ca46d1f4
Merge pull request #22225 from groud/fix_draw_on_viewport
...
Fixes drawing of the 2D plugins on the 3D view
2018-09-20 21:45:16 +02:00
Rémi Verschelde
f93a69cb6e
Merge pull request #22287 from Chaosus/fix_warning
...
Fix "This control can't grab focus." warning spam
2018-09-20 21:41:53 +02:00
Rémi Verschelde
46d8a28314
Merge pull request #22094 from elasota/fix-visual-shader
...
Fix VisualShader code overwrites and save failures
2018-09-20 18:46:20 +02:00
Rémi Verschelde
14632cf88f
Merge pull request #22239 from Chaosus/fix_vs_connection
...
Disconnects previous visual shader node before making a new connection
2018-09-20 18:46:02 +02:00
Rémi Verschelde
69ee33896a
Merge pull request #21426 from groud/add_files_to_tree_view
...
Add files to tree view
2018-09-20 18:32:13 +02:00
Rémi Verschelde
9136f1287e
Merge pull request #22282 from ibrahn/spatial_editor_origin_init
...
fix branch on uninit in spatial_editor_plugin
2018-09-20 15:50:41 +02:00
Chaosus
e4c8efd051
Fix "This control can't grab focus." warning spam
2018-09-20 15:29:38 +03:00
Ibrahn Sahir
ce15cf8ebc
fix branch on uninit in spatial_editor_plugin
...
Moved the initialisation of origin_enabled up a bit, to be inited before
it's accessed in _init_grid. A step towards cleaner valgrind output and
removes an opportunity for a random occurance of the origin/grid
z-fighting issue.
Also removed unused variable last_grid_snap to avoid later confusion.
2018-09-20 13:06:13 +01:00
Rémi Verschelde
0a6626a5d1
Merge pull request #22268 from DualMatrix/highlight_no_save
...
Fixed syntax highlighting setting not being saved
2018-09-20 13:51:33 +02:00
DualMatrix
494354c835
Added ability to hide edit lock and groups in editor view
...
Added ability to hide edit lock and groups in editor view
2018-09-20 11:35:26 +02:00
DualMatrix
4efcf9c943
Fixed syntax highlighting setting not being saved
...
Fixed syntax highlighting setting not being saved
2018-09-20 11:31:53 +02:00
groud
c3e66536cc
Fixes polygon editor blocking other editor actions (move, scale...)
2018-09-19 14:26:04 +02:00
groud
e1c92e32e6
Fixes selection of toplevel CanvasItems in the editor
2018-09-19 11:05:24 +02:00
Chaosus
a3fdaa4f21
Disconnect previous visual shader node connection before new connect
2018-09-19 10:30:45 +03:00
Rémi Verschelde
58c8c05012
Merge pull request #22096 from elasota/fix-visual-shader-colors
...
Fix visual shader color constants not retaining edits
2018-09-19 08:40:49 +02:00
groud
5172642c32
Fixes drawing of the 2D plugins on the 3D view
2018-09-18 20:00:07 +02:00
Michael Alexsander Silva Dias
75d5d81b8a
Remove unnecessary "OK"s text settings
2018-09-15 21:40:50 -03:00
Rémi Verschelde
437af1450e
Merge pull request #22111 from Chaosus/unification
...
Few unification fixes for canvas_item and spatial editor toolbars
2018-09-16 01:26:36 +02:00
Chaosus
2fe0365661
Few unifications between canvas_item and spatial editors
2018-09-15 18:44:26 +03:00
Rémi Verschelde
2cf024ed91
Merge pull request #22069 from scayze/fix_reload_scripts
...
Fix scripts not reloading when edited externally
2018-09-15 15:10:56 +02:00
elasota
37595e183d
Fix visual shader color constants not retaining edits
2018-09-15 02:47:38 -04:00
elasota
f5c7d64492
Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension.
2018-09-14 22:30:48 -04:00
Rémi Verschelde
d934cbcbc9
Set default CanvasItemEditor zoom shortcut to KEY_EQUAL
...
At least on en_US QWERTY (and various QWERTY-derived variants)
and fr_FR AZERTY, "+" is an indirect key obtained by pressing
"Shift" + "=", so using "=" in the binding makes it easier to
access.
It doesn't work this way on other layouts like de_DE QWERTZ though,
but since 'script_editor/zoom_in' also uses KEY_EQUAL, setting
the same for consistency.
Fixes #22067 .
2018-09-14 21:42:47 +02:00
Manuel Strey
ebd518c9c9
fix scripts not reloading when edited externally
2018-09-14 17:24:12 +02:00
willnationsdev
5436abefe4
Refactor editor icon retrieval
2018-09-14 09:27:56 -05:00
groud
b2633a97b9
Add thumnails to the tree view
2018-09-14 10:14:33 +02:00
Rémi Verschelde
ae8f984cf3
Merge pull request #21730 from reisraff/fixing_key_shortcut
...
#21500 Fixing key shortcut
2018-09-13 12:09:17 +02:00
Rémi Verschelde
6c20c3a534
Merge pull request #21819 from DualMatrix/built-in-script
...
Made editor automatically open the scene of built in scripts
2018-09-13 11:27:22 +02:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde
68cc2cf3bf
Merge pull request #21997 from akien-mga/fix-script-name
...
Fix default script name in ScriptCreateDialog
2018-09-12 16:42:54 +02:00
Rémi Verschelde
f98d946cd9
Merge pull request #21934 from groud/add_scale_mode
...
Add a scale mode to the 2D editor
2018-09-12 14:24:33 +02:00
Rémi Verschelde
fb77cdf2f2
Fix default script name in ScriptCreateDialog
...
It would default either to '.gd' when created from the script editor,
or to 'res:///NodeName.gd' (three '/') when created from the scene tree dock.
2018-09-12 12:29:50 +02:00
Rémi Verschelde
c7fc3dcab3
Merge pull request #21878 from RyanStein/bugfix-14400
...
Make `_sort_list_on_update` true before opening files, fixes 14400
2018-09-12 11:18:10 +02:00
Rémi Verschelde
1db4b307f9
Merge pull request #21984 from groud/fix_2D_selection
...
Fix 2D selection
2018-09-12 11:13:36 +02:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
groud
9dc81e6ca7
Fix 2D selection
2018-09-11 20:58:01 +02:00
groud
2f316bc608
Add a scale mode to the 2D editor
2018-09-11 17:48:57 +02:00
Rémi Verschelde
45b609f46a
Replace last occurrences of PropertyEditor by EditorInspector
...
Updates the following plugins:
- ConnectionsDialog
- ScriptEditorDebugger
- ItemListEditorPlugin
Also drop now unnecessary compatibility methods.
2018-09-11 16:09:19 +02:00
Hugo Locurcio
621a5457ed
Display camera coordinates in the 3D viewport's information pane
2018-09-11 00:04:09 +02:00
Rémi Verschelde
96014b6391
Merge pull request #21911 from groud/fix_locked_nodes
...
Fixes 2D nodes lock not working
2018-09-10 23:43:25 +02:00
groud
1d83f36a26
Fixes 2D nodes lock not working
2018-09-09 22:17:54 +02:00
Ryan Stein
1cdc04c9c4
Check for double-colon on open recent script.
2018-09-08 22:26:05 -04:00
Ryan Stein
7fdb8f72c0
Make `_sort_list_on_update` true before opening new help or script files in the ScriptEditor.
2018-09-08 14:33:54 -04:00
DualMatrix
3f672307d7
Made editor automatically open scenes of built in scripts.
...
Made editor automatically open scenes of built in scripts when attempting to open that script.
2018-09-07 00:34:39 +02:00
Rémi Verschelde
8804eb8c06
Merge pull request #21707 from JFonS/fix_instanced_selection
...
Fix selection of instanced scenes in 3D
2018-09-05 18:11:56 +02:00
Rémi Verschelde
5fe01d4cfc
Move ParticlesMaterial code to its own resource file
...
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense
to have as a common resource. It also allowed to disable compilation of
Particles (3D) when using 'disable_3d'.
Also cleaned up includes in SpatialEditorGizmos and some other places,
as well as dropped dead code in material_editor_plugin.cpp.
2018-09-04 11:32:56 +02:00
paul gruenbacher
8c14cd5b69
added get_camera_method to spatial editor plugin viewport
...
amend
added get_camera_method to spatial editor plugin viewport
2018-09-03 14:00:21 -04:00
Rafael Reis
d1d1f4a776
#21500 Fixing key shortcut
2018-09-03 11:39:07 -03:00
JFonS
4a412943d4
Fix selection of instanced scenes in 3D
2018-09-02 22:31:03 +02:00
Hugo Locurcio
af139af69e
Fix some editor shortcuts' default values not being set properly
...
This also changes the uppercase/lowercase/capitalize shortcuts
to Shift+F4, Shift+F5 and Shift+F6 respectively to avoid conflicts
with the new Find Next shortcut.
This closes #21612 .
2018-09-01 16:20:47 +02:00
JFonS
07d9b7af7a
Fix regression #21262 in Path Gizmo
...
closes #21262
2018-08-30 14:24:24 +02:00
Rémi Verschelde
9eb4d4ab2d
Add missing copyright headers
2018-08-29 22:41:17 +02:00
Marcelo Fernandez
20bea1e231
Unexpose TileMap set_celld
2018-08-29 09:00:00 -03:00
Rémi Verschelde
6c8aa939e4
Merge pull request #21539 from yurchor/master
...
Fix minor typos and word puzzles
2018-08-29 12:21:33 +02:00
Yuri Chornoivan
06e73522dc
Fix vformat(), minor typos and word puzzles
2018-08-29 11:50:39 +03:00
Rémi Verschelde
b6c170165c
Merge pull request #21485 from JFonS/fix_selection
...
Saner selection code for instanced scenes in 3D, should close #21447
2018-08-29 10:08:41 +02:00
Rémi Verschelde
7e79fb80db
Fix z-fighting on origin grid lines in spatial editor
...
Fixes #21264 .
2018-08-29 09:27:50 +02:00
Tommi Komulainen
aded18104b
Scale the Item List Editor window size with the editor scale
...
Makes the dialog bigger and more usable on HiDPI screens.
Fixes #21520
2018-08-28 19:17:29 +02:00
Rémi Verschelde
ac38b7e97b
Merge pull request #21496 from tko/macos-complete
...
[macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
2018-08-28 07:40:55 +02:00
Tommi Komulainen
c2f0b4c9c6
[macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
...
The default shortcut for Spotlight search is Command+Space so try not to
use it. Instead use Ctrl+Space similar to Xcode.
2018-08-27 20:39:43 +02:00
Tommi Komulainen
464756ec0f
[macOS] fix conflicting keybindings for (Find and) Replace...
...
```
Play Scene Command+R (no change)
Replace... Command+R => Option+Command+F
Find Function... Option+Command+F => Ctrl+Command+J
```
On macOS Option+Command+F is commonly used for Find and Replace so use
it instead to avoid conflicting with "Play Scene"
And as Option+Command+F is currently used by "Find Function..." rebind
the latter to Control+Command+J which is the Xcode shortcut for
"Jump to Definition"
Fixes #19817
2018-08-27 20:28:24 +02:00
Rémi Verschelde
9df5ddae29
Merge pull request #21456 from MarianoGnu/tileset_editor
...
TileSet editor Fixes
2018-08-27 17:49:02 +02:00
Omicron
71397e0e17
Typo in text string
...
reported by Yuri Chornoivan on weblate
2018-08-27 16:12:48 +02:00
JFonS
b58bb95c86
Saner selection code for instanced scenes in 3D, should close #21447
...
Selecting instanced scenes still doesn't work properly because gizmos are not being added to instanced nodes.
I will probably work on fixing all the shenanigans around selection, but that will take some time.
This part of the code should work better for the moment.
2018-08-27 16:02:49 +02:00
Rémi Verschelde
fc1d464f1f
Merge pull request #21381 from YeldhamDev/members_help_overview_fix
...
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-27 09:43:00 +02:00
Rémi Verschelde
0f4ba4481a
Merge pull request #21432 from JFonS/fix_material_convert
...
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-27 08:55:41 +02:00
Michael Alexsander Silva Dias
df4f3aecd8
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-26 23:55:45 -03:00
Mariano Javier Suligoy
c64ab97063
TileSet editor Fixes
...
Properly draw navigation and oclusion polygons for SINGLE type tiles. Fixes #21398
Add some checks for TileID validation before accessing to it's properties. Fixes #21397
Fix 'Keep inside region' snap option for tiles with SINGLE_TILE mode. Fixes #21402
Restore hability to asign/unasign an script to a tileset. Fixes #20886
2018-08-26 17:10:01 -03:00
JFonS
ee06cfe6e5
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-26 12:25:41 +02:00
Michael Alexsander Silva Dias
7d13f6ad30
Small improvements to the Spatial Editor's multiple viewport mode
2018-08-25 17:43:27 -03:00
Mariano Suligoy
1f4a891a9c
Texture Region: Cache auto-slice information into the texture. Fixes #11503
2018-08-25 09:02:05 -03:00
Rémi Verschelde
0b67d1665d
Style: Fix previous commits from @reduz
2018-08-24 16:50:29 +02:00
Rémi Verschelde
f733c6470d
Merge pull request #21110 from natrim/particles2d_editor
...
Particles2D: fix editing Visibility Rect from new inspector
2018-08-24 15:31:31 +02:00
Rémi Verschelde
cd945e28de
Merge pull request #21272 from paulloz/tilemap-tools-enhancements
...
tilemap_editor: change move and duplicate tools
2018-08-24 15:18:06 +02:00
Rémi Verschelde
571dab7d1e
Merge pull request #21356 from akien-mga/drop-shadergraph
...
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 15:02:26 +02:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Juan Linietsky
0161e95f01
some checks for node removed, may fix #20863
2018-08-24 08:29:40 -03:00
Paul Joannon
3f1b977263
tilemap_editor: change move and duplicate tools
...
* Move now behaves like a Cut
* Duplicate now behaves like a Copy
* You can continue Pasting after Cut or Copy
2018-08-24 11:58:01 +02:00
Rémi Verschelde
e22f0515c9
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 11:49:08 +02:00
Juan Linietsky
bffaa835fc
-Fix blend tree rename, closes #20210
...
-Fixed activity lines in blend tree
2018-08-23 16:44:10 -03:00
JFonS
927f9f283f
Remove material errors after opening new project, fixes #21073
2018-08-23 10:50:30 +02:00
Michael Alexsander Silva Dias
6fa1b5eca7
Add option to move Tile/GridMap editors to another side
2018-08-22 19:18:23 -03:00
Michael Alexsander Silva Dias
5c6be1aea5
Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors
2018-08-22 16:52:38 -03:00
Mariano Javier Suligoy
810b73c01e
Display tile ID along with name
...
Fixes #20895 .
2018-08-22 14:35:50 +02:00
Rémi Verschelde
0e6551d8e2
Merge pull request #21274 from YeldhamDev/meshlib_editor_fixes
...
Fix MeshLibrary editor
2018-08-22 01:54:59 +02:00
Laurent Van Acker
4d6a6e0813
Add modulation of tiles from tileset in palette and editor draw
2018-08-22 01:36:43 +02:00
Michael Alexsander Silva Dias
d0f55ab6e4
Fix MeshLibrary editor
2018-08-21 19:06:52 -03:00
Rémi Verschelde
404ee1a56b
Style: Fix issues that went past CI
2018-08-21 21:28:06 +02:00
Hugo Locurcio
dd4fe8588b
Fix occasional crash when downloading assets from the Asset Library
...
This is caused by GitHub not publishing a Content-Length header in
all cases (it only does so if the file was requested recently),
which in turn made `String.humanize_size()` try to humanize a size of
-1 byte (as returned by HTTPRequest when no Content-Length
is contained in the response).
This crashed the editor due to a division by zero.
This closes #21200 .
2018-08-20 20:21:56 +02:00
Juan Linietsky
c1bd768ca2
Merge pull request #18822 from QbieShay/master
...
Added spring arm node
2018-08-20 14:21:04 -03:00
Juan Linietsky
c7e4527a88
Massive rewrite to AnimationTree. Many APIs changed in order to:
...
-Reuse resources
-Expose properties in AnimationTree
2018-08-20 13:39:16 -03:00
Rémi Verschelde
5d09877da8
Merge pull request #21154 from Chaosus/grid_2d_color
...
Added setting to change color of 2d editor grid
2018-08-19 14:17:55 +02:00
Chaosus
66c25d4829
Added possibility to change color of 2d editor grid
2018-08-19 10:04:16 +03:00
QbieShay
bb14ef5623
added spring arm node.
2018-08-18 14:34:42 +02:00
Hugo Locurcio
442029b1c0
Fix the 3D grid flickering when the origin is enabled
2018-08-17 23:22:03 +02:00
Natrim
6ad0f4ebe8
Particles2D: fix editing Visibility Rect from inspector
...
+ renamed generate_aabb to generate_visibility_rect to prevent future confusions
2018-08-17 12:25:48 +02:00
Markar
e46c2dbf74
Fix bucket fill behaviour when selecting multiple tiles
2018-08-17 01:55:21 +02:00
Natrim
e11e080fa2
Particles2D: set emitting if not set before generating Visibility Rect
...
and removed not needed running zeroing
in ParticlesEditor::_generate_aabb
2018-08-16 15:35:12 +02:00
Rémi Verschelde
1c17c2b9b3
Merge pull request #21023 from Paulb23/fix_reopening_text_file
...
Fix re-opening of TextFiles when its already being edited.
2018-08-15 23:16:19 +02:00
Rémi Verschelde
bec8c7770c
Merge pull request #21022 from Paulb23/create_text_files
...
Ability to create TextFiles.
2018-08-15 23:15:14 +02:00
Paulb23
6741e7a15d
Added method to create TextFiles
2018-08-15 21:09:34 +01:00
Rémi Verschelde
e92777c1ee
Merge pull request #21007 from guilhermefelipecgs/disable_camera_interpolation
...
Disable camera interpolation when switching scene tabs
2018-08-15 09:03:53 +02:00
Rémi Verschelde
eef39bcb84
Merge pull request #21010 from YeldhamDev/tile_editors_changes
...
Changes to the TileSet and TextureRegion editors
2018-08-15 01:14:53 +02:00
Rémi Verschelde
859f3bf5a9
Merge pull request #20873 from ttencate/master
...
Allow middle-click to close scripts
2018-08-15 01:10:21 +02:00
Paulb23
81bf150cdc
Fix re-opening of TextFiles when its already being edited
2018-08-14 23:44:55 +01:00
Guilherme Felipe
ae788125a0
Disable camera interpolation when switching scene tabs
...
Fix #11764
2018-08-14 19:25:27 -03:00
Rémi Verschelde
78a6cd9e09
Merge pull request #20977 from malbach/Particles3D_AABB
...
Particles3D: set emitting if not set before generating AABB
2018-08-14 20:20:28 +02:00
Michael Alexsander Silva Dias
609d97b6d4
Changes to the TileSet and TextureRegion editors
2018-08-14 14:02:47 -03:00
Thomas ten Cate
d867f11820
Allow middle-click to close scripts
...
Fixes #20871
2018-08-14 18:01:06 +02:00
Rémi Verschelde
0322081ec5
Merge pull request #20744 from Zylann/fix_viewport_lock_rotation
...
Initialize default lock rotation in constructor
2018-08-14 15:49:04 +02:00
Rémi Verschelde
22c3fcb20b
Merge pull request #20760 from Calinou/improve-assetlib-download-ux
...
Improve the asset library download UX
2018-08-14 15:48:31 +02:00
Rémi Verschelde
c8414007ad
Merge pull request #20835 from Calinou/use-standard-button-texts-2
...
Tweak some editor button texts
2018-08-14 15:45:34 +02:00
Rémi Verschelde
892667878a
Merge pull request #20848 from Calinou/improve-3d-manipulator-gizmo
...
Improve the 3D manipulator gizmo
2018-08-14 15:43:52 +02:00
Rémi Verschelde
641dd15b1d
Merge pull request #20953 from hpvb/fix-20322
...
Don't try to update the visual shader graph if it doesn't exist yet
2018-08-13 20:47:24 +02:00
malbach
334922de8f
Particles3D: set emitting if not set before generating AABB
2018-08-13 18:02:06 +02:00
Rémi Verschelde
0d96902a0c
Merge pull request #20731 from YeldhamDev/scr_editor_context_fix
...
Fix wrong context menu when right-clicking script/doc files
2018-08-13 13:35:53 +02:00
Rémi Verschelde
68ab428d4d
Merge pull request #20155 from Tunous/line-edit-clear
...
Add clear button to search fields
2018-08-13 12:54:57 +02:00
Rémi Verschelde
2062d6126d
Merge pull request #20587 from groud/fix_2deditor_scrollable_zone
...
Fixes bugs on the 2D editor scrollable area
2018-08-13 09:03:34 +02:00
Hein-Pieter van Braam
2a02f44ad9
Don't try to update the visual shader graph if it doesn't exist yet
...
When setting shader mode on a visual shader that was just created in the
editor we try to _update_graph(). However, the graph does not yet exist
in the visualshadereditor. This gets populated in
VisualShaderEditor::edit() which hasn't been called yet.
This PR simply changes the logic to not try to update the non-existent
graph.
This fixes #20322
2018-08-12 22:33:35 +02:00
Juan Linietsky
15530ce2c5
Fix gizmos submenu
2018-08-12 10:20:32 -03:00
Juan Linietsky
64595f0f6a
Merge pull request #20928 from JFonS/gizmo_enabling
...
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 19:20:08 -03:00
JFonS
ac51da2eb6
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 23:07:00 +02:00
Łukasz Rutkowski
81fb81de9d
Do not use theme to set LineEdit right_icon
2018-08-11 12:04:26 +02:00
Łukasz Rutkowski
e8a435c8cd
Add clear text button to LineEdit
...
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
George Marques
eb48119821
Added system for GDScript warnings
...
- Count and panel per script.
- Ability to disable warnings per script using special comments.
- Ability to disable warnings globally using Project Settings.
- Option to treat enabled warnings as errors.
2018-08-10 16:00:47 -03:00
MAriano Javier Suligoy
ce87a30e45
New TileSet Editor
2018-08-09 20:38:02 -03:00
Juan Linietsky
fbb5ca4d97
Merge pull request #20584 from JFonS/gizmo_enabling
...
New gizmo structure and gizmo disabling menu
2018-08-09 16:27:59 -03:00
JFonS
59fd18ab1a
New gizmo structure and new gizmo disabling menu
2018-08-09 20:58:39 +02:00
Hugo Locurcio
dcca20027c
Improve the 3D manipulator gizmo
...
Its size now takes into account the editor scale and the viewport's
half resolution setting. It is now also more detailed.
2018-08-09 16:34:18 +02:00
Hugo Locurcio
147f7fbdcf
Tweak some editor button texts
2018-08-09 11:22:11 +02:00
Hugo Locurcio
c1108a4d17
Improve the asset library download UX
...
The progress bar is now correctly set to 0% while initiating
the download and is hidden once the download is completed.
2018-08-06 21:37:59 +02:00
Marc Gilleron
65215a7829
Initialize default lock rotation in constructor
2018-08-05 19:24:11 +01:00
Hugo Locurcio
1368bcfc53
Use a standard "OK" text for confirmation buttons in error dialogs
...
[ci skip]
2018-08-05 16:49:22 +02:00
Michael Alexsander Silva Dias
9194e42175
Fix wrong context menu when right-clicking script/doc files
2018-08-05 04:53:36 -03:00
AndreaCatania
b7e66188df
Implemented IK
2018-08-04 11:25:07 +02:00
groud
eb7f4ddcce
Fixes bugs on the 2D editor scrollable area
2018-07-30 01:05:13 +02:00
Juan Linietsky
317dee95de
It is now possible to import images as a separate resource, closes #5738 and likely many others
2018-07-29 16:45:23 -03:00
Juan Linietsky
0fcc28b6f3
Merge pull request #15269 from ianb96/context_menu_improvements
...
Context Menu Improvements
2018-07-29 12:31:20 -03:00
Rémi Verschelde
b5b8f52d4f
Merge pull request #15310 from remorse107/Cinema-Mode
...
Added "Cinema Mode" so that the spatial editor can actively track the...
2018-07-27 08:12:22 +02:00
Robert Morse
75947b1b72
Add "Cinematic Preview" to the Spatial Plugin Editor.
2018-07-26 19:15:28 -05:00
Max Hilbrunner
6cf5eb8e37
Merge pull request #20022 from EIREXE/snap_to_floor
...
Add snap to floor functionality to the editor
2018-07-26 22:31:03 +02:00
Ian
1bb13e95a8
context menu improvements
2018-07-26 08:58:35 -04:00
Rémi Verschelde
eab105310b
Merge pull request #19257 from volzhs/edit-visual-script
...
Open internal visual script editor while use external editor is on
2018-07-26 10:36:01 +02:00
Alex Roman
af725094d7
Add snap to floor functionality to the editor
2018-07-26 08:34:40 +02:00
Rémi Verschelde
4c5f0844e1
Merge pull request #19758 from kyledayton/feature/spatial-viewport-lock-rotation
...
Add lock rotation feature to spatial editor viewport
2018-07-26 08:31:20 +02:00
Kyle Dayton
46ec1deba5
Add lock rotation feature to spatial editor viewport
2018-07-25 21:37:04 -05:00
Hein-Pieter van Braam
0e29f7974b
Reduce unnecessary COW on Vector by make writing explicit
...
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Paulb23
6696b16685
Fix crash on doc right click, issue 20429
2018-07-25 19:24:06 +01:00
volzhs
6bdec4ffb6
Open internal visual script editor while use external editor is on
2018-07-25 11:59:31 +09:00
Max Hilbrunner
b92c432313
Merge pull request #19225 from Paulb23/open_all_files_in_script_editor
...
Open all files in script editor
2018-07-24 21:52:11 +02:00
Marcelo Fernandez
ff95bbc6c4
Fixed Bucket Fill tool
2018-07-24 13:11:38 -03:00
Max Hilbrunner
81fd48eb1e
Tilemap editor: Fix crash introduced in #17582
2018-07-24 17:42:24 +02:00
Rémi Verschelde
a2f9ce2569
Merge pull request #20328 from ordigdug/fix-grid-missing-lines
...
Fix grid missing lines. Fixes : #20246
2018-07-24 14:49:53 +02:00
Wilson E. Alvarez
a22e746bc3
Removed unnecessary assignments
2018-07-24 09:51:03 +02:00
Juan Linietsky
dc976cac57
Merge pull request #12678 from AndreaCatania/soft
...
Soft body
2018-07-23 16:04:32 -03:00
AndreaCatania
17ebbfb56d
Implemented Soft body
...
- Soft Body Physics node
- Soft Body Rendering
- Soft body Editor
- Soft body importer
2018-07-23 20:50:23 +02:00
Juan Linietsky
ec85fd554b
Fix issues with CPUParticles and related conversion from Particles. Closes #20126
2018-07-23 12:28:50 -03:00
Paulb23
8ff747171f
Allow opening and editing of any utf_8 file in script editor
2018-07-22 11:55:56 +01:00
Paulb23
765d6752bb
Refactored text manipulation into CodeTexteditor
2018-07-22 11:48:59 +01:00
ordigdug
7ab7bda48e
Fix grid missing lines #20246
2018-07-22 05:00:51 -04:00
George Marques
03746da73f
Add editor highlight for type-safe lines
...
The line number is hightlighted to indicate that the line contains only
type-safe code.
2018-07-20 21:55:18 -03:00
Nufflee
228bd21e26
Fix #20171 .
2018-07-20 22:25:18 +02:00
Rémi Verschelde
afb554afdf
Merge pull request #20185 from volzhs/audio-preview
...
Add audio preview to Inspector dock
2018-07-18 10:38:30 +02:00
Max Hilbrunner
c5690240b4
Merge pull request #18535 from sketchyfun/new_mirror_path_handles
...
Added curve in/out (tangent) handle mirroring
2018-07-17 16:16:08 +02:00
volzhs
dd2f39da53
Add audio stream preview to Inspector dock
2018-07-17 22:11:35 +09:00
Rémi Verschelde
95d99cb2ac
Merge pull request #20176 from Chaosus/vs_namefixes
...
Several name fixes for visual shaders
2018-07-17 13:54:22 +02:00
Thomas Herzog
72430b041e
Merge pull request #20169 from Chaosus/rightclick_vs
...
Visual shaders - make "Add node" menu showed by right click
2018-07-16 15:46:18 +02:00
Thomas Herzog
a21aeec4b9
Merge pull request #20167 from Chaosus/fix_vshader_bug
...
Fix display scale bug in visual shaders
2018-07-16 15:40:41 +02:00
Juan Linietsky
a3f1ee5c57
Global class names (and GDScript support for it)
2018-07-15 19:29:00 -03:00
Chaosus
3af81427a1
Several name fixes for visual shader
2018-07-15 17:28:06 +03:00
Chaosus
f8417ac682
Visual shaders - make "Add node" menu showed by right click
2018-07-15 10:33:11 +03:00
Chaosus
c88da2fce5
Fix display scale bug in visual shaders
2018-07-15 08:55:41 +03:00
Juan Linietsky
f6ce73f724
Visual Shaders are back.
2018-07-14 18:16:18 -03:00
Juan Linietsky
ea47359408
Add option to convert Particles to CPUParticles
2018-07-07 09:04:22 -03:00
Juan Linietsky
7dcaabaf19
Support for CPU based particles, which aids compatibility with OpenGL ES 2.0
2018-07-06 20:21:42 -03:00
Max Hilbrunner
9f82368d40
Merge pull request #19475 from YeldhamDev/animplayer_cosmetic
...
Minor changes to the AnimationPlayer editor
2018-07-05 04:25:04 +02:00
Max Hilbrunner
c488a74e0c
Merge pull request #19498 from guilhermefelipecgs/fix_regression
...
Fix "find and replace" initializing with wrong size
2018-07-05 04:23:18 +02:00
Max Hilbrunner
858d0b6887
Merge pull request #19941 from guilhermefelipecgs/fix_animation_key
...
Fix animation key icon not show on inspector
2018-07-04 15:18:43 +02:00
Rémi Verschelde
db546732cf
Merge pull request #19824 from JFonS/fix_orthogonal_select
...
Fix selection in 3D orthogonal view
2018-07-04 15:06:46 +02:00
Guilherme Felipe
63d1b35c59
Fix animaiton key icon not show on inspector
2018-07-03 17:26:31 -03:00
Max Hilbrunner
27b20e7670
Merge pull request #19881 from khairul169/popupmenu_animedit
...
Fix error msg when selecting popupmenu if there is no animation selected
2018-07-03 18:44:48 +02:00
Max Hilbrunner
dce4bf96cc
Merge pull request #17582 from Ovnuniarchos/TMapEditorMultiSel
...
Tile randomizer for tilemap editor.
2018-07-03 18:30:02 +02:00
Max Hilbrunner
b21c1f64cd
Merge pull request #18634 from groud/fix_control_child_of_node2d
...
Fixes the bad calculation of margin & anchors when child of Node2D
2018-07-03 18:06:15 +02:00
Max Hilbrunner
165f3c31a5
Merge pull request #19166 from Grula/issue-18779
...
Changed "Syntax Menu" into radio Menu
2018-07-03 17:39:17 +02:00
Max Hilbrunner
deb005c966
Merge pull request #19156 from volzhs/fix-remove-split
...
Fix unable to remove split on Polygon 2D editor after restarting editor
2018-07-03 17:37:01 +02:00
Max Hilbrunner
0705eb904a
Merge pull request #19251 from YeldhamDev/script_templates_changes
...
Small changes to the comments in the script templates
2018-07-03 16:48:03 +02:00
Max Hilbrunner
74369229de
Merge pull request #19634 from guilhermefelipecgs/fix_shortcut_conflict
...
Remove shortcut conflict
2018-07-03 15:47:48 +02:00
Juan Linietsky
896e250f2b
-Fix in animationplayback, sound would be cut on loop
...
-Fix on scene importer, keeping changes to animation tracks was not working
2018-07-01 17:45:19 -03:00
Ovnuniarchos
d9d78786dc
Tile randomizer for tilemap editor.
2018-07-01 20:50:56 +02:00
khairul169
0a67aa5ce4
Fix error msg when selecting popupmenu if there is no animation
2018-07-01 15:38:42 +07:00
Michael Alexsander Silva Dias
02181292b8
Minor changes to the AnimationPlayer editor.
2018-06-30 00:12:05 -03:00
JFonS
e245efaead
Fix selection in 3D orthogonal view
2018-06-28 14:59:39 +02:00
Juan Linietsky
eeab3502d5
Changes to how node paths are selected from property, allowing setting a hint.
2018-06-27 20:50:25 -03:00
Juan Linietsky
9bab5134cf
The way multiple quaternions being slerped was not good, changed approach to one that seems to work better.
2018-06-27 16:30:48 -03:00
Juan Linietsky
c633b770cb
-Add root motion support in AnimationTree.
...
-Add RootMotionView, to debug root motion in 3D (disabled in runtime)
2018-06-26 19:06:16 -03:00
Rémi Verschelde
f036353b93
Merge pull request #19164 from marcelofg55/tilemap_undo2
...
Improve TileMap undo operations, second try
2018-06-26 20:57:39 +02:00
Juan Linietsky
8c7da84e1e
renamed AnimationGraphPlayer to AnimationTree
2018-06-25 18:40:24 -03:00
Thomas Herzog
0f7c35f955
added BlendSpace1D editor plugin
...
This commit also fixes a crash in the BlendSpace2D as well as correct
the drawing of the x-zero indicator in the BlendSpace2D editor plugin.
2018-06-25 21:46:12 +02:00
Thomas Herzog
84252f2ec4
added AnimationBlendSpace1D
2018-06-25 21:36:53 +02:00
Thomas Herzog
1ff7aa4c9b
rename BlendSpace to BlendSpace2D
2018-06-25 21:36:10 +02:00
Juan Linietsky
4f5a7ebaec
State machine animation node
2018-06-25 16:22:41 -03:00
Rémi Verschelde
4e867a1d7a
Merge pull request #19698 from Chaosus/theme_submenu
...
Move Theme options to submenu
2018-06-25 16:24:39 +02:00
Juan Linietsky
2365fe472b
Added auto triangle generation in blend space, using Delaunay.
2018-06-21 22:48:47 -03:00
Juan Linietsky
b76143bfde
Remove error messages
2018-06-21 18:46:17 -03:00
Juan Linietsky
b80946ee0d
Fix crashes, ability to add blendpsace into blendtree, ability to delete with delete key
2018-06-21 18:08:11 -03:00
Juan Linietsky
a0719533bd
Animation Blend Spaces
2018-06-21 15:46:11 -03:00
Chaosus
7a18b95906
Move Theme options to submenu
2018-06-21 12:10:43 +03:00
Juan Linietsky
0a1c1c660f
-Added AnimationGraphPlayer (still missing features)
...
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
2018-06-18 22:12:08 -03:00
Guilherme Felipe
7c52824504
Remove shortcut conflict
2018-06-18 16:24:01 -03:00
Guilherme Felipe
5bae3693bf
Fix "find and replace" initializing with wrong size
...
Fix the code editor outside the allowed limits.
2018-06-13 14:08:04 -03:00
Rémi Verschelde
8efbe9ed3d
Merge pull request #19487 from JFonS/better_3d_select
...
Improve 3D selection
2018-06-13 18:49:35 +02:00
JFonS
9cd1c20f6a
Polished 3D selection
2018-06-13 17:52:37 +02:00
Rémi Verschelde
44050cd24f
Merge pull request #19503 from akien-mga/osx-ctrl-cmd
...
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
2018-06-13 15:43:54 +02:00
groud
71cea6b515
Fixes a crash on draw_hover
2018-06-12 11:01:24 +02:00
Rémi Verschelde
3f09cac267
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
...
KEY_MASK_CMD is automatically replaced by KEY_MASK_CTRL on non-OSX
and KEY_MASK_META (Command key) on OSX, so it should be used for all
Ctrl/Cmd + key shortcuts.
Also de-hacked the macOS shortcut replacements with proper conditional
definition. Not tested on macOS, cannot judge if they are good shortcuts.
Fixes #10761 .
2018-06-11 07:53:28 +02:00
Michael Alexsander Silva Dias
fd17b960e9
Small changes to the comments in the script templates.
2018-06-11 02:04:51 -03:00
Guilherme Felipe
365bb077fe
Fix translate messages for new AnimationPlayer
2018-06-08 14:44:18 -03:00
Rémi Verschelde
3aed396a30
Merge pull request #19343 from bojidar-bg/x-fix-tilemap-shape-rotation
...
Fix bugs related to bad handling of rotated/translated shapes in tilemap
2018-06-08 18:15:51 +02:00
Juan Linietsky
a8dd5750e2
Merge pull request #19334 from guilhermefelipecgs/fix_popup
...
Fixes popup_centered_* methods, dialogs with wrong sizes and visual script editor
2018-06-08 13:00:53 -03:00
Rémi Verschelde
f35115309b
Merge pull request #19314 from Jellonator/master
...
Added autotile override
2018-06-08 09:11:49 +02:00
groud
4d78e16bc1
Fixes the bad calculation of margin & anchors when child of Node2D
2018-06-07 21:25:15 +02:00
Juan Linietsky
b659fd6d74
Entirely new (and much improved) animation editor.
2018-06-07 12:52:00 -03:00
Guilherme Felipe
048f149478
Fix theme not updating with changes
2018-06-06 17:58:12 -03:00
Guilherme Felipe
7a3882723c
Fix #16069 , #19292 , #19267 and #18940
2018-06-06 13:16:52 -03:00
Rémi Verschelde
07d4cd7f6d
Merge pull request #19388 from volzhs/show-filename
...
Show opened script or help name
2018-06-06 09:22:22 +02:00
volzhs
69ac6a1f3d
Show opened script or help name
2018-06-06 06:18:11 +09:00
Bojidar Marinov
d73cdeb248
Fix bugs related to bad handling of rotated/translated shapes in tilemap
...
Fixup #18529 and #12870
2018-06-03 16:32:23 +03:00
James Beedie
6cbafdea16
Added autotile override
2018-06-02 21:25:09 -04:00
NIkola Grulovic
bc666c42ff
Syntax Menu as sub-menu of Edit
...
Moved syntax menu to be sub-menu of edit, as-well made choices radio buttons
2018-06-01 21:32:19 +02:00
Rémi Verschelde
ff0d295d9e
Merge pull request #19250 from YeldhamDev/scene_editor_tooltips
...
Minor changes to the Scene and Canvas editors' tooltips
2018-06-01 13:31:46 +02:00
Rémi Verschelde
59c2c21b15
Move NavigationMeshEditorPlugin to Recast module as should be
...
Modules can register their own editor plugins (like GridMap does),
so no need to put module-specific classes in the `editor/` folder.
Also cleans up the previous SCons env pollution from the Recast
module, integrating its code into libmodules as other modules.
2018-05-30 22:10:11 +02:00
Marcelo Fernandez
cadd72793b
Improve TileMap undo operations, second try
2018-05-29 19:35:30 -03:00
Michael Alexsander Silva Dias
589f18a374
Minor changes to the Scene and Canvas editors' tooltips.
2018-05-29 13:21:26 -03:00
volzhs
224ca96c57
Fix index out of size error of image.cpp
2018-05-29 14:13:05 +09:00
volzhs
4ea8c6b1e1
Fix unable to remove split on Polygon 2D editor after restarting editor
2018-05-27 22:32:58 +09:00
Max Hilbrunner
23b4b7d53a
Merge pull request #18234 from flashyincceo/font-preview
...
Adding font preview to file browsers
2018-05-26 18:31:48 +02:00
Rémi Verschelde
665319de35
Revert "Improve TileMap undo operations"
2018-05-25 13:00:28 +02:00
Gilles Roudière
e19405b2b4
Merge pull request #19157 from volzhs/bone-visibility
...
Don't draw bones if it's not visible
2018-05-25 09:59:51 +02:00
volzhs
6a28bfe09c
Don't draw bones if it's not visible
2018-05-25 13:01:15 +09:00
Marcelo Fernandez
f1383f80bf
Improve TileMap undo operations
2018-05-23 14:31:51 -03:00
Karolis K
1a92906fe0
Fix AssetLib image loading
2018-05-21 21:09:09 +03:00
Michael Alexsander Silva Dias
6c058040b7
Small tooltip changes.
2018-05-18 14:54:40 -03:00
Juan Linietsky
9b5275b135
-Hid texture flags by default so they dont take so much space
...
-make curve texture preview not so large, so its easier to embed the editor
2018-05-18 12:37:18 -03:00
Mariano Javier Suligoy
7eddb80b27
Merge pull request #18960 from isaacremnant/autotile_3x3_minimal
...
Restore support for minimal 3x3 autotile sets
2018-05-17 19:57:55 -03:00
Daniel J. Ramirez
9a365a1216
Moved inspector functionality from EditorNode to InspectorDock.
2018-05-17 16:29:26 -05:00
Juan Linietsky
4b5227ff77
-Ability to open resources in the same window
...
-Plenty of fixes and improvements to new inspector
-Fixes that were needed to make inspector work better
2018-05-17 18:03:05 -03:00
isaacremnant
e4f0ac558d
Restore support for minimal 3x3 autotile sets
2018-05-17 09:49:14 -04:00
Rémi Verschelde
5e20a229eb
Merge pull request #18529 from swarnimarun/master
...
Fix StaticBody2D ignore in tileset bug
2018-05-17 09:35:51 +02:00
Rémi Verschelde
a404ceb128
Merge pull request #18930 from samdze/master
...
Changed the name displayed for built-in scripts in the Script tab with a more descriptive one
2018-05-16 23:14:34 +02:00
Rémi Verschelde
c31456b821
Merge pull request #18891 from groud/fix_bone_selection
...
Bring back 2D bone selection
2018-05-16 22:50:58 +02:00
Guilherme Felipe
35024d4e7b
Add missing copyright headers
2018-05-16 14:50:44 -03:00
Karolis K
8694f98170
AssetLib pagination modifications
2018-05-16 17:06:15 +03:00
Samuele Zolfanelli
375c94510f
Changed the name displayed in the Script tab for built-in script with a more descriptive one
2018-05-16 15:23:56 +02:00
Rémi Verschelde
98e5a3ea42
Merge pull request #18442 from StraToN/add-button-sort-methods-overview
...
Add a ToggleButton for alphabetic sorting in methods overview
2018-05-16 10:53:55 +02:00
Juan Linietsky
005b69cf6e
-New inspector.
...
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
2018-05-15 17:14:31 -03:00
Gilles Roudiere
0021df3da3
Bring back 2D bone selection
2018-05-15 15:18:46 +02:00
Gilles Roudiere
e614789882
Fixes hovered Nodes2D display in the editor (remove duplicates)
2018-05-15 09:37:23 +02:00
Rémi Verschelde
8c71cbbe3f
Merge pull request #18797 from TailyFair/assetlib-video-overlay
...
Added video thumbnail overlay in asset description
2018-05-14 08:39:27 +02:00
Rémi Verschelde
fb8f71fe54
Merge pull request #18788 from Chaosus/fixblackpreviews
...
Fix black script previews
2018-05-12 09:40:24 +02:00
Karolis K
0711d865e2
Thumbnail overlay for videos in AssetLib
2018-05-11 23:43:59 +03:00
Chaosus
a081507be7
Fix black script previews
2018-05-11 20:08:17 +03:00
Julian Murgia
68b9fd79e4
Add button hbox with alphabetic sort toggle above methods outline.
2018-05-11 13:30:43 +02:00
Karolis K
c3e921fba3
Fix icon if remote icon load fails
2018-05-10 18:45:22 +03:00
Peter Folkins
365d814361
Adding font preview to file browsers
2018-05-09 13:34:30 -05:00
Ben Hickling
31b6776f11
Added option to 2D and 3D curve editor to mirror curve tangent handles both in angle and/or length
2018-05-09 14:01:04 +01:00
Swarnim Arun
8529763a0f
Fix tileset bug #18090 to use StaticBody2D position
...
Using staticbody2d position to affect the collision shape position whenever a tileset is created.
Formatting the code
Removed the most get/set from my old code.
2018-05-09 12:12:10 +05:30
Andrea Catania
6c4916ddf5
Removed pointer deletion during editor closing
2018-05-08 00:59:22 +02:00
AndreaCatania
9e57a07fb6
Implemented ragdoll
...
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
a
Implemented implicit hierarchy.
Improved
Added some physics properties
Added bone offset to preserve COM, partially fixed scaling
work in progress
WIP
wip
Implemented Joint Gizmos
Implemented pin joint joint
Implemented all joints
2018-05-07 21:03:16 +02:00
Juan Linietsky
8c30337565
Merge pull request #18684 from muiroc/fix_dragdrop_instancing
...
Editor: Makes dragdrop instantiation behavior consistent with the instance scene button
2018-05-07 13:34:09 -03:00
Juan Linietsky
d8ea68195a
Merge pull request #18525 from Calinou/improve-3d-grid
...
Improve the 3D editor grid
2018-05-07 13:09:03 -03:00
Juan Linietsky
14e9a6ae16
Merge pull request #18633 from groud/fix_2d_editor
...
Fix 2d editor
2018-05-07 11:55:26 -03:00
Juan Linietsky
6e9517ca83
Merge pull request #18642 from flashyincceo/engine-click
...
Fix script editor CTRL+CLICK on singleton functions
2018-05-07 11:49:34 -03:00
Max Hilbrunner
c587cac304
Merge pull request #18308 from ericmccarthy7/develop
...
Fix clone down newline bug
2018-05-07 14:49:23 +02:00
muiroc
884b239ca5
SpatialEditorViewport::_create_instance: pass GEN_EDIT_STATE_INSTANCED to scene->instance()
2018-05-06 19:13:23 +02:00
Peter Folkins
0c1a71b047
Fix script editor CTRL+CLICK on singleton functions
2018-05-05 13:23:47 -05:00
groud
7331ca6f63
Fixes some 2d bones display problems
2018-05-05 15:45:26 +02:00
groud
3962862ea3
Fixes several selection problems in the 2D editor
2018-05-05 11:50:23 +02:00
Juan Linietsky
af9a6202eb
Fix bone refresh logic, closes #18564
2018-05-04 18:11:28 -03:00
Juan Linietsky
bf561c4946
Made bone handling for actual Bone2D a special case. Make custom bones appear like a custom (less important) option now.
2018-05-04 16:46:32 -03:00
Juan Linietsky
e68cbec1fa
Make bones have more contrast with outline
2018-05-04 11:54:21 -03:00
Juan Linietsky
3bd0ca2a2d
Skeletal deform working
2018-05-04 11:54:21 -03:00
Rémi Verschelde
d6ddfdf004
Merge pull request #18601 from YeldhamDev/string_changes
...
Small changes for some strings
2018-05-04 08:16:54 +02:00
Michael Alexsander Silva Dias
5b0ddb1354
Small changes for some strings.
2018-05-03 18:07:18 -03:00
Juan Linietsky
b3e4bc562c
Skeleton for 2D WIP
2018-05-03 17:29:56 -03:00
Robin Hübner
b16eaf5827
Remove unused duplicate wireframe shortcut, fixes #18067
...
It also happens to do nothing currently.
2018-05-03 16:22:30 +02:00
Juan Linietsky
4c3c510a80
WIP Polygon2D weight editing
2018-05-02 11:01:12 -03:00
groud
845a898f37
Fixes locks and groups on 2d editor
2018-05-02 10:37:37 +02:00
Rémi Verschelde
02a51c34ea
Merge pull request #18259 from Superwaitsum/MoveIcons
...
Changed Sprite Frame buttons for icons
2018-05-02 10:08:57 +02:00
Rémi Verschelde
de97339a2d
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
...
Fix Coverity reports of uninitialized scalar variable
2018-05-01 19:14:07 +02:00
Pieter-Jan Briers
20dd2204db
Adds z-index properties to TileSets.
2018-05-01 17:24:57 +02:00
Rémi Verschelde
8dd2b2e6f5
Merge pull request #18434 from YeldhamDev/animation_autoplay_fix
...
Fixed deleting an animation marked to autoplay in the editor affecting the creation of one with the same name
2018-05-01 11:47:37 +02:00
Rémi Verschelde
e1ef2f538f
Merge pull request #18380 from groud/fix_spacebar_panning
...
Fixes 2d editor panning not working
2018-05-01 08:56:13 +02:00
Rémi Verschelde
4cce6f3417
Merge pull request #18321 from Crazy-P/Fixes-logically-dead-code
...
Fixes logically dead code (Coverity)
2018-05-01 08:35:10 +02:00
Superwaitsum
7d689dff71
Changed Sprite Frame move buttons for icons
2018-04-30 16:05:21 -05:00
Max Hilbrunner
196fc8599a
Merge pull request #18373 from KidRigger/working
...
Replaces CTRL with CMD in TileMapEditor for MacOS.
2018-04-30 19:00:41 +02:00
Max Hilbrunner
f274c8b74b
Merge pull request #18381 from groud/fix_hard_to_select_node2d
...
Fixes hard to select Node2D
2018-04-30 18:58:27 +02:00
Hugo Locurcio
098f9b51b5
Improve the 3D editor grid
...
- The grid's primary and secondary colors can now be changed
- The number of grid steps (subdivisions) can now be changed
- The grid size can now be changed
- The grid is now darker by default
2018-04-30 14:24:54 +02:00
Hein-Pieter van Braam
91dfccd1ee
Merge pull request #18425 from RandomShaper/fix-theme-editor-samples
...
Fix theme editor sample widgets
2018-04-28 22:19:13 +02:00
Juan Linietsky
93c77580aa
Fix how snapping is applied to 3D polygon editing, make it more friendly.
2018-04-28 11:22:22 -03:00
Juan Linietsky
8d199a9b2c
CSG Support for Godot!
...
-Missing Icons
-Missing freezing option (for baking light and faster load)
-Missing a way to export from Godot (GLTF2?)
-Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs)
Happy testing!
2018-04-27 21:55:10 -03:00
Michael Alexsander Silva Dias
75897710b3
Made the Pin button disable when no AnimationPlayer is selected.
2018-04-27 16:06:05 -03:00
Michael Alexsander Silva Dias
e93a56ef3e
Fixed deleting an animation marked to autoplay in the editor affecting the creation of one with the same name.
2018-04-27 16:06:05 -03:00
Pedro J. Estébanez
a0626d7d9c
Fix theme editor sample widgets
2018-04-27 20:42:57 +02:00
Michael Alexsander Silva Dias
6971604033
Numerous changes to the Animation Editor.
2018-04-26 22:58:30 -03:00
Gilles Roudiere
8dcd39c3c4
Adds shortcuts for zooming in the 2D editor
2018-04-26 10:28:56 +02:00
groud
e8a4c4fa4c
Fixes hard to select Node2D
2018-04-23 19:48:15 +02:00
groud
9c5a44aeee
Fixes 2d editor panning not working
2018-04-23 19:34:03 +02:00
Anish
cca7633739
Replaces CTRL with CMD in TileMapEditor for MacOS.
...
Replacing CTRL with CMD makes sense dure to consistency
with MacOS and avoiding conflict with the accessibility
hotkey (ctrl+lmb = rmb)
Fixes : #18238
2018-04-23 19:39:01 +05:30
Hugo Locurcio
1c419531a0
Change ".." punctuation for "..." in editor strings ( #16507 )
2018-04-22 19:36:01 +02:00
Crazy-P
e6deba8d19
Fixes logically dead code (Coverity)
...
Fixes reported logically dead codes by Coverity
* image.cpp: Doesn't really need any modification. But to remove the bug
report then we have to move the MAX call away from the for loop
statement.
* rasterizer_gles3.cpp: Removes unnecessary elif condition since it is
checked earlier in the function
* collada.cpp: If stamement never reached due to macro ERR_CONTINUE does
the same.
* navigation_mesh.cpp: Variables should always be null - however, also
checked for the very same condition in their function call. Leaving this
for review (whether the function call is necessary or not)
* path_editor_plugin.cpp: If cancel is true, then it should restore the
edited value to the original provided.
http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle
* spatial_editor_gizmos.cpp: the very condition of i >= 3 is
predetermined in the if case right before it. Thus case 1 is always '1'
and case 2 is always '-1'
* grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp
* voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp
* visual_server.cpp: Same as above in spatial_editor_gizmos.cpp
* visual_script_expression.cpp: char '-' is already true in the switch
case mechanism. Thus it can never reach to default case.
* particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking
right before the switch execution.
* shader_language.cpp: Invalid index is handled in switch default case.
`type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`)
Fixes the "always false problem" in TODO comment.
2018-04-21 22:35:23 +08:00
Eric McCarthy
02b7b916b7
Fix clone down newline bug
...
Previously cloning down at the end of a script was broken if there was
not an additional empty line.
This fix ensures there is an empty line before attempting to clone
downwards.
Fixes #18206 , cheers!
2018-04-19 20:35:42 -04:00
Rémi Verschelde
bf7ca623a6
Fix Coverity reports of uninitialized scalar variable
...
Fixes most current reports on Coverity Scan of uninitialized scalar
variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html
These happen most of the time (in our code) when instanciating structs
without a constructor (or with an incomplete one), and later returning
the instance. This is sometimes intended though, as some parameters are
only used in some situations and should not be double-initialized for
performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-19 15:20:45 +02:00
Rémi Verschelde
db70538688
Merge pull request #18168 from Chaosus/fixcrash
...
Fix possible crash when clicking on Skeleton2D or Sprite editor options
2018-04-18 16:19:10 +02:00
Chaosus
026617b5fb
Fix possible crash when clicking on Skeleton2D or Sprite editor options
2018-04-18 16:45:39 +03:00
Rémi Verschelde
e7e9d9a0ea
Merge pull request #18156 from RandomShaper/fix-messed-pr
...
Revert "Unify http- and percent- encode/decode"
2018-04-13 22:20:35 +02:00
Juan Linietsky
1d15c5d726
Merge pull request #17502 from groud/2Deditor_rect
...
Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
2018-04-13 10:21:44 -03:00
Pedro J. Estébanez
00e98458ba
Revert "Unify http- and percent- encode/decode"
...
This reverts commit b76ee30917
.
2018-04-12 21:12:34 +02:00
Juan Linietsky
3a08f1748b
Merge pull request #16571 from Zylann/find_in_files
...
Added find & replace in files
2018-04-08 17:24:26 -03:00
Juan Linietsky
6eb0c74e9d
Merge pull request #17443 from Noshyaar/tilesetcrash
...
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-08 09:31:54 -03:00
Juan Linietsky
cd7e9d9642
Merge pull request #17583 from RandomShaper/enhance-uri-utils
...
Enhance uri utils
2018-04-07 17:07:29 -03:00
Juan Linietsky
187b14ae24
Merge pull request #17730 from RandomShaper/radio-buttons-in-menus
...
Radio buttons in menus
2018-04-07 16:41:39 -03:00
Juan Linietsky
7dedb22f0b
Merge pull request #17809 from RandomShaper/menu-item-on-release
...
Improve popup menus usability
2018-04-07 16:22:00 -03:00
Pedro J. Estébanez
259ed1d400
Improve popup menus usability
...
It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal.
This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item.
This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature.
This improves UX a bit by saving unnecessary clicks.
From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.
2018-04-07 01:06:02 +02:00
Alexander Alekseev
0853ac2006
Update transform buttons in tile editor while using T, A, S shortcuts ( fixes #17962 )
2018-04-04 16:02:44 +03:00
Rémi Verschelde
950d4922a5
Merge pull request #17863 from covariantlabs/add-move-selected-tiles
...
Add functionality to move selected tiles in tile map editor
2018-04-04 09:54:08 +02:00
Rémi Verschelde
5ede505f14
Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighter
...
Abstracted the syntax highlighter from text edit.
2018-04-04 09:50:51 +02:00
Martin Rieke
d538fcd92d
Add functionality to move selected tiles in tile map editor
...
This change adds a new entry "Move Selection" to the "Tile Map"
menu in the tile map editor. It allows the user to easily move
as set of selected tiles.
2018-04-04 09:23:56 +02:00
Gilles Roudiere
a724f34ef3
Displays node icon on hover
2018-04-03 23:56:37 +02:00
Rémi Verschelde
bcf5b748b5
Merge pull request #17832 from YeldhamDev/popups_size_fix
...
Fixed some popups not shrinking their size back when losing items
2018-04-03 23:53:47 +02:00
Rémi Verschelde
82c26f74ad
Merge pull request #17865 from delftswa2018/enumLookupFix
...
Ctrl+Clicking a enum now scrolls down to it in the docs.
2018-04-03 22:43:07 +02:00
Gilles Roudiere
0251b08afa
Display nodes without rect's position
2018-04-03 22:04:19 +02:00
Gilles Roudiere
72ed1e4244
Remove the selection rect for nodes that do not require it
2018-04-03 22:04:19 +02:00
Felix Yang
7d5a40c3e6
Ctrl+Clicking a enum now scrolls down to it in the docs.
2018-04-03 21:56:54 +02:00
Gilles Roudiere
6435894275
Fixes issues with selectable children and locks
2018-04-03 21:31:15 +02:00
Rémi Verschelde
36ca622466
Merge pull request #17935 from Rubonnek/remove-unneeded-sort
...
Removed unneeded sort from SpriteFramesEditor plugin
2018-04-03 12:46:48 +02:00
Wilson E. Alvarez
bb9c75c5ed
Removed unneeded sort from SpriteFramesEditor plugin
2018-04-02 19:06:13 -04:00
Paulb23
f7c727e6c3
Abstracted the syntax highlighter from text edit
2018-04-02 12:41:44 +01:00
Poommetee Ketson
a492d22952
Mesh: fix crash when creating mesh outline from QuadMesh
...
Since create_outline can only make outline for PRIMITIVE_TRIANGLES,
when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create
outline, will leave `arrays` empty, and crash when it is being indexed
for "indices" subarray.
This PR shows error when there's only one surface and it is not
TRIANGLES. Also prevent the crash if it has more than one surface
and none of them are TRIANGLES (and any other cases that could leave
`arrays` empty) by checking the size of `arrays` == 8 before indexing
it, since the method seems to expect `arrays` to be of that size.
2018-04-01 22:06:47 +07:00
Michael Alexsander Silva Dias
7cbf301f31
Fixed some popups not shrinking their size back when losing items.
2018-03-28 17:04:37 -03:00
Gilles Roudiere
4b4ed9b724
Merge pull request #17785 from Rubonnek/simplify-canvas-item-logic
...
Simplify CanvasItemEditor anchor drag logic
2018-03-28 11:56:29 +02:00
Chaosus
9a6b4a3f11
Enable snapping in 2D when control key pressed
2018-03-28 10:07:21 +03:00
Pedro J. Estébanez
a6dc160d5c
Use radio-button-like menu entries where applicable
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
bf14a6deff
Support radio-button entries in ItemListPlugin
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
ab3b1d9f3e
Add radio-button-looking entries to PopupMenu
...
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually.
`is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button.
Keeping check in the name adds an additional clue about these facts.
Closes #13055 .
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
b76ee30917
Unify http- and percent- encode/decode
...
There was a percent-prefixed version, which was exposed, and a http-prefixed version which was not (only to GDNative).
This commit keeps the percent-prefixed versions, but with the http-prefixed implementations.
2018-03-27 19:18:30 +02:00
Wilson E. Alvarez
bc9ef5461b
Simplify CanvasItemEditor anchor drag logic
2018-03-26 14:30:51 -04:00
Poommetee Ketson
ed3b080ca6
Fix converting to tileset crashes Godot if existing file is not tileset
...
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23 21:27:30 +07:00
Rémi Verschelde
699325f9a1
Merge pull request #17505 from ArkDShiggy/invert_y-axis
...
add option to invert y-axis
2018-03-23 11:28:05 +01:00
Julien CATINEAU
57e6b8781c
add option to invert y-axis
2018-03-20 08:03:38 +01:00
Gilles Roudiere
038de54b1f
Fixes scrollbars in Canvas Item Editor
2018-03-17 12:18:33 +01:00
Rémi Verschelde
c81356153e
Merge pull request #16971 from Noshyaar/tilemap
...
TileMap: add fix_invalid_tiles
2018-03-13 13:57:58 +01:00
Rémi Verschelde
65dc4abca3
Merge pull request #16978 from Noshyaar/tmsc
...
Add icon to TileMapEditor popupmenu
2018-03-13 13:57:10 +01:00
Rémi Verschelde
535205196f
Merge pull request #17013 from Noshyaar/theme
...
Update icons when theme changed
2018-03-13 13:48:37 +01:00
Rémi Verschelde
8b31b98036
Merge pull request #17104 from Faless/assetlib_more_threads
...
More threading in AssetLib
2018-03-13 13:35:28 +01:00
Rémi Verschelde
401a39f57e
Merge pull request #17116 from poke1024/fix16734
...
Fix round preview getting square on "run scene" (issue 16734)
2018-03-13 13:33:51 +01:00
Rémi Verschelde
a3915d8597
Merge pull request #17154 from Hinsbart/fix_text_editor_settings
...
ScriptEditor: Use EditorSettings instead of hardcoded values in constructor.
2018-03-13 12:54:43 +01:00
Rémi Verschelde
8b629bbcbe
Merge pull request #17166 from Noshyaar/tilemap2
...
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-13 12:53:51 +01:00
Rémi Verschelde
fcd81c9627
Merge pull request #17172 from StateOff/add_show_axis_options
...
Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport
2018-03-13 12:53:11 +01:00
Rémi Verschelde
4835488716
Merge pull request #17184 from Noshyaar/tilemap3x
...
TileSetEditorPlgn: use EditorHandle icon as handle
2018-03-13 12:51:01 +01:00
Rémi Verschelde
b49746f3cd
Merge pull request #17381 from poke1024/fix-anim-scrub
...
AnimationPlayer: fix scrubbing after play backwards
2018-03-13 11:51:30 +01:00
Poommetee Ketson
caa0d513ab
ScriptTextEditor: fix capitalize offset
2018-03-12 01:37:41 +07:00
Bernhard Liebl
b553b38e7b
AnimationPlayer: fix scrubbing after play backwards
2018-03-09 19:41:14 +01:00
Ranoller
2aae6fc2ec
FIX to broken item select list (zoom and RMB)
...
FIX to #17346 . Compiled and tested.
2018-03-07 21:39:55 +01:00
Bernhard Liebl
ced694e9cd
In CanvasItemEditor, prioritize selected items
2018-03-05 19:09:59 +01:00
Blazej Floch
934498d37a
Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport
2018-03-02 21:27:32 -05:00
Poommetee Ketson
54ecfc96ea
TileSetEditorPlgn: use EditorHandle icon as handle
2018-03-02 23:15:32 +07:00
Poommetee Ketson
86938a06aa
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-02 17:14:55 +07:00
Andreas Haas
1cfc43421e
ScriptEditor: Use EditorSettings instead of hardcoded values in constructor.
2018-03-01 21:45:24 +01:00
Hein-Pieter van Braam
d702d7b335
Fix various valgrind reported uninitialized variable uses
2018-02-28 21:55:13 +01:00
poke1024
899f7b125e
Fix round preview getting square on "run scene" (issue 16734)
2018-02-28 20:23:40 +01:00
Fabio Alessandrelli
3a25415a1c
More threading in AssetLib
...
AssetLib now uses thread as requested to download previews and items
2018-02-28 15:08:17 +01:00
Poommetee Ketson
762f241e10
TileSetEditorPlgn: Fix a leak
2018-02-27 09:58:27 +07:00
Poommetee Ketson
2de1dfa42f
Update icons when theme changed
2018-02-25 23:04:16 +07:00
Juan Linietsky
125fc8cc44
Add a split editor to polygon 2D UV editor, moving an inch closer to adding support for in the future
2018-02-25 12:07:13 -03:00
Poommetee Ketson
0f36c7aae5
Add icon to TileMapEditor popupmenu
2018-02-24 20:39:19 +07:00
Poommetee Ketson
7effe46461
TileMap: add fix_invalid_tiles
2018-02-24 19:34:41 +07:00
Rémi Verschelde
23ebae01dc
Refactor version macros and fix related bugs
...
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were
several places hardcoding their own variant of the version string, potentially
with bugs (e.g. forgetting the patch number when defined).
The new logic defines:
- VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1)
- VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch',
depending on whether the latter is defined (e.g. 3.1.4)
- VERSION_FULL_CONFIG, which contains the version status (e.g. stable)
and the module-specific suffix (e.g. mono)
- VERSION_FULL_BUILD, same as above but with build/reference name
(e.g. official, custom_build, mageia, etc.)
Note: Slight change here, as the previous format had the build name
*before* the module-specific suffix; now it's after
- VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed
with "Godot v" for readability
Bugs fixed thanks to that:
- Export templates version matching now properly takes VERSION_PATCH
into account by relying on VERSION_FULL_CONFIG.
- ClassDB hash no longer takes the build name into account, but limits
itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant
for the API hash).
- Docs XML no longer hardcode the VERSION_STATUS, this was annoying.
- Small cleanup in Windows .rc file thanks to new macros.
2018-02-23 20:15:29 +01:00
Juan Linietsky
92ece2e727
Ability to edit Polygon2D shape from within the UV editor, this will eventually make it possible to in the future.
2018-02-22 17:40:54 -03:00
Rémi Verschelde
742d01b888
Merge pull request #16888 from GodotExplorer/debugger-improvement-2
...
Fix builtin script cannot open from debug stacks
2018-02-22 08:51:24 +01:00
Juan Linietsky
7cd867c3fe
2D Skeletons WORK IN PROGRESS
2018-02-21 17:24:00 -03:00
luz.paz
612ab4bbc6
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Chaosus
24c170555d
Enable snapping when control key pressed
2018-02-21 17:36:25 +03:00
geequlim
095e2bcc26
Fix builtin script cannot open from debug stacks
2018-02-21 21:10:32 +08:00
Juan Linietsky
b2412c72a0
Was missing clearing computed UVs, sorry, realized late.
2018-02-21 09:40:01 -03:00
Juan Linietsky
9e3a1e5401
Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.
2018-02-21 09:39:09 -03:00
Rémi Verschelde
c291fc39ad
Merge pull request #16772 from damarindra/tileset_editor_improvement
...
Tileset Editor Improvement
2018-02-21 10:40:43 +01:00
Damar Indra
e69dd47501
Tileset Editor Improvement
2018-02-20 22:33:59 +07:00
Rémi Verschelde
55f00d9655
Merge pull request #16455 from volzhs/close-docs
...
Keep to show current script when closing all docs
2018-02-20 09:40:29 +01:00
volzhs
df84290a7e
Keep to show current script when closing all docs
...
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.
Fix #16403
2018-02-20 14:39:52 +09:00
Marc Gilleron
f637ad84e3
Added find & replace in files
2018-02-19 22:38:58 +01:00
Rémi Verschelde
e7fb143515
Merge pull request #14433 from PJB3005/17-12-08-3d_grid_color_setting_update
...
Makes 3D editor grid color update without restart.
2018-02-19 22:02:02 +01:00
Rémi Verschelde
5efbb08a7a
Merge pull request #16697 from ianb96/script_list_no_sort
...
Add Option to disable sort in script list
2018-02-19 20:37:15 +01:00
Rémi Verschelde
b93d6a001b
Merge pull request #16566 from groud/gui_input_rework
...
2D Editor GUI input rework
2018-02-19 20:05:35 +01:00
Rémi Verschelde
959b3e6d8c
Merge pull request #16752 from Yanpas/dellines
...
Delete all selected lines using the "delete line" shortcut in script editor
2018-02-19 19:54:24 +01:00
Poommetee Ketson
d5eba83fd5
Merge pull request #16774 from sudoio/fix-16773
...
Fix #16773 (Rename "Install" to "Download" in AssetLib)
2018-02-18 11:25:44 +07:00
Yan Pas
7368978a48
Delete all selected lines using the delete line shortcut in script editor
2018-02-17 17:56:13 +03:00
Artem Varaksa
d35e486228
Clean up some bad words from code comments
2018-02-17 16:00:39 +03:00
Artem Varaksa
69675463b0
Fix #16773 (Rename "Install" to "Download" in AssetLib)
2018-02-17 15:35:40 +03:00
Rémi Verschelde
2caf4aed61
Merge pull request #16748 from Chaosus/fixscriptpreview
...
Fix script previews
2018-02-16 16:26:55 +01:00
Chaosus
a8fbd082fe
Fix script previews
2018-02-16 18:18:12 +03:00
damarindra
cceb176be3
fix crash autotile edit mode
2018-02-16 17:48:01 +07:00
Gilles Roudiere
8dad41e395
2D editor GUI input rework. Changes are:
...
- The input handling is done into several distinct functions, and the
code is more consistent.
- The actions' history is more precise ("Edited CanvasItem"
is now "Rotated CanvasItem","Moved CanvasItem",etc...)
- Fixed a little bug about input key events not forwarded correctly to plugins
- IK is followed by default when you move a bone node, the alt-key allow
you to move it normally
2018-02-16 10:14:52 +01:00
ianb96
e1778fb921
option to disable sort in script list
2018-02-14 11:38:02 -05:00
Rémi Verschelde
79f48cde3d
Merge pull request #15193 from poke1024/script-preview
...
Rounded previews (and nicer script previews)
2018-02-14 17:11:38 +01:00
Rémi Verschelde
a8b74ea4da
Merge pull request #15713 from StraToN/fix-15556-resourcepreloader-open-res
...
Display path to preloaded res + button to open it
2018-02-14 16:27:37 +01:00
Michael Alexsander Silva Dias
4dbf6ac1b8
Added "allow_reselect" property to ItemList and enabled it for the method/help lists.
2018-02-14 03:38:07 -02:00
Rémi Verschelde
ba106ae51c
Merge pull request #16667 from vnen/remove-container-control
...
Add a function to remove controls from containers
2018-02-13 23:10:38 +01:00
George Marques
da69a06253
Add a function to remove controls from containers
...
Closes #5968
2018-02-13 19:35:10 -02:00
Rémi Verschelde
e8763ef130
Merge pull request #16518 from Paulb23/fix_members_overview_offset
...
Fixed members overview not scrolling to correct line
2018-02-13 22:12:48 +01:00
Rémi Verschelde
a8edad2128
Merge pull request #16463 from Noshyaar/pr1
...
3DEditor: fix selecting node in viewport not update inspector
2018-02-13 17:06:49 +01:00
Rémi Verschelde
8cfe798877
Merge pull request #16433 from Calinou/remove-assetlib-debugging-prints
...
Remove debugging prints related to the asset library
2018-02-13 15:47:47 +01:00
Rémi Verschelde
fd871b4d4f
Merge pull request #16383 from binbitten/issue_16335
...
Fix spaces and quotes in external editor flags
2018-02-13 15:21:37 +01:00
Rémi Verschelde
dff0c41fe8
Merge pull request #16374 from ianb96/drop_at_mouse
...
Drop path text at mouse pos
2018-02-13 11:25:55 +01:00
Poommetee Ketson
45ab9cdfb5
Merge pull request #16499 from sudoio/master
...
Deselect text when jumping to function
2018-02-12 23:09:19 +07:00
Rémi Verschelde
f961ba004b
Merge pull request #16332 from YeldhamDev/capitalize_view_menu
...
Capitalized "View" menu options
2018-02-12 09:00:36 +01:00
Rémi Verschelde
c3cfc951c7
Merge pull request #15499 from YeldhamDev/recent_scripts_fix
...
Changes for the "Recent Scripts" menu
2018-02-12 08:01:08 +01:00
Paulb23
4d92c5e1c3
Fixed members overview not scrolling to correct line
2018-02-09 17:35:28 +00:00
Artem Varaksa
3094e89782
Fix #16479 (deselect text when jumping to function)
2018-02-08 21:12:08 +03:00
Poommetee Ketson
cfac160f9f
3DEditor: fix selecting node in viewport not update inspector
2018-02-07 13:27:39 +07:00
Hugo Locurcio
5513e4e1f9
Remove debugging prints related to the asset library
2018-02-05 22:39:35 +01:00
binbitten
fb8d2420b5
Fix spaces and quotes in external editor flags
2018-02-04 11:18:54 +01:00
ianb96
06965f2770
drop path text at mouse pos
2018-02-03 22:35:44 -05:00
Chaosus
3ba43ac975
Fix gradient texture preview
2018-02-03 12:10:44 +03:00
Michael Alexsander Silva Dias
b507eeddcc
Capitalized "View" menu options.
2018-02-02 17:27:57 -02:00
Michael Alexsander Silva Dias
140340978b
Changes for the "Recent Scripts" menu.
2018-02-02 15:34:36 -02:00
Poommetee Ketson
25dd1f0681
3DEditor: fix multiple node selection crash the editor
...
I'm not sure about this fix. This seems to also fixes the weird
selection bug where when selecting node 1 to 3 it focuses on
2nd node.
2018-01-27 17:28:01 +07:00
Razah
72901936cc
Fix shortcut conflict
...
fix https://github.com/godotengine/godot/issues/16054
The clone_down shortcut that conflicts with the "editor / play" shortcut has been replaced by "SHIFT + COMMAND + C" instead of "COMMAND + B" on macOS
2018-01-25 19:24:51 +03:00
volzhs
48611afb80
Rotate Control node with respecting pivot offset
2018-01-24 15:44:28 +09:00
Poommetee Ketson
70be6848c2
Fix ObjectDB Instances still exist
...
```
WARNING: cleanup: ObjectDB Instances still exist!
At: core/object.cpp:1989.
Leaked Instance: VSeparator:13837 - Node Name:
Leaked Instance: AutotileEditorHelper:13814
Orphan StringName: VSeparator
Orphan StringName: AutotileEditorHelper
StringName: 2 unclaimed string names at exit.
```
2018-01-22 11:46:05 +07:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Mariano Suligoy
489eac3f13
TileSetEditorPlugin: take scale in accout when highlighting current selected subtile.
2018-01-17 21:07:43 -03:00
Gilles Roudiere
b06c6602c8
Changes the keep_margin parameter to true by default, so that people are not suprised that set_anchor changes the margins values
2018-01-15 10:37:13 +01:00
Rémi Verschelde
05b1843818
Merge pull request #15696 from bojidar-bg/15646-assigned-animation
...
Fix an issue with the animation editor not seeking to the target time
2018-01-15 08:54:07 +01:00
Julian Murgia
b766a849ad
Display path to preloaded res + button to open it
2018-01-15 07:49:29 +01:00
Marc Gilleron
6a4e89b6ec
Fix crash when freelook shortcuts are undefined
2018-01-15 00:32:27 +01:00
Paulb23
896a0c5ef5
Fixed member keywords colour not updating on settings change
2018-01-14 16:31:46 +00:00
Bernhard Liebl
89057dd289
Fix external editors always opening on scene change
2018-01-14 12:34:00 +01:00
Bojidar Marinov
f2355949c4
Fix an issue with the animation editor not seeking to the target time properly.
...
Fixes #15646 .
2018-01-14 12:28:57 +02:00
Juan Linietsky
419705db6e
Add special coloring to members, to make shadowing more obvious.
2018-01-12 11:01:09 -03:00
Juan Linietsky
a26e6c8215
Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification.
...
Updated doc accordingly.
2018-01-12 08:29:24 -03:00
Rémi Verschelde
e24f2c6489
Merge pull request #15611 from bojidar-bg/x-bind-more-properties
...
Bind many more properties to scripts
2018-01-12 09:00:20 +01:00
Juan Linietsky
2cde466ebd
-Remove color operator clamping, which is unnecesary. Fixes #15184 , fixes #14686 .
...
-Refresh progress bar less often, makes baking, exporting, etc. faster.
2018-01-12 00:08:32 -03:00
Bojidar Marinov
9b8e8b2220
Bind many more properties to scripts
...
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
2018-01-12 00:58:14 +02:00
Rémi Verschelde
2c17af0509
Merge pull request #15579 from damarindra/add-receptor-tileset
...
fix updating tileset list when assign texture and set autotile true
2018-01-11 11:15:42 +01:00
poke1024
b352b0b88c
Fixes snap button getting out of sync (issue 15366)
2018-01-11 06:52:10 +01:00
damarindra
bea40343ab
fix updating tileset list when assign texture and set autotile true
2018-01-11 05:50:36 +07:00
Rémi Verschelde
4a25a4e53f
Merge pull request #15516 from StateOff/fixes_crash_on_drop_scene_file
...
Fixes #15470 "Crash on drag and drop scene file on empty scene"
2018-01-10 07:57:35 +01:00
Blazej Floch
9d4afdc372
- Fixes #15470 "Crash on drag and drop scene file on empty scene"
...
- New: Allows for multiple files to be dragged over
- Added error when multiple nodes are dropped in scene **without** scene root
- Removed TTR: "This operation requires a single selected node.", "I see.."
- Introduces TTR: "Can not instaniate multiple nodes without root."
- Fixes "Can't add_child, already got a parent" error
- Reduced multiple resource loading by casting
- Make sure to not _show_resource_type_selector if only PackedScenes are being dropped
2018-01-09 23:16:47 -05:00
Ignacio Etcheverry
1c6269f2dd
External editor fixes
...
- Fix VS Code opening on the previous line to the desired one.
- Fix running MonoDevelop without the line and column parameters.
- Fix `ScriptEditor::_goto_script_line` not working with language overriden external editors.
2018-01-09 17:25:23 +01:00
Bernhard Liebl
7e1b39245f
Don't delete edit menu too early when closing script tabs
2018-01-08 19:47:47 +01:00
George Marques
37ca542d2b
Merge pull request #15433 from poke1024/fix13957
...
Fix crash due to stale refs to node selection lists
2018-01-07 14:56:43 -02:00
Rémi Verschelde
abcb87bc43
Merge pull request #15357 from damarindra/autotile-behaviour
...
Fixing unconsistent behaviour on autotile editor
2018-01-07 16:00:00 +01:00
Bernhard Liebl
6c6a0fe840
Fix crash due to stale refs to node selection lists
2018-01-07 09:57:28 +01:00
Poommetee Ketson
768fd83e61
Fix typo in new strings
2018-01-06 21:33:11 +07:00
Rémi Verschelde
2a1ce0fbc4
i18n: Sync translation templates with current source
2018-01-06 14:32:21 +01:00
damarindra
97b8be7261
Fixing weird behaviour on autotile editor
2018-01-05 17:53:30 +07:00
damarindra
0ae4ca7066
prevent autotile properties out of bounds
2018-01-05 15:28:36 +07:00
Bernhard Liebl
66b879726e
Rounded previews (and nicer script previews)
2018-01-05 07:51:38 +01:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
1b79326c0f
Merge pull request #15341 from volzhs/scene-index-error
...
Fix get_edited_scene_root error at starting editor
2018-01-04 20:42:47 +01:00
Artem Varaksa
928ca10a7b
Clean up \n from end of translation strings
2018-01-04 22:00:39 +03:00
volzhs
1876999b3a
Fix get_edited_scene_root error at starting editor
...
Fix #15300
2018-01-05 03:55:43 +09:00
Rémi Verschelde
da4edf83d3
Merge pull request #15311 from YeldhamDev/tileset_button_fix_2
...
Fixed "Tile Set" button always showing bug introduced with #15309
2018-01-04 13:54:16 +01:00
Michael Alexsander Silva Dias
ca90c737b7
Fixed "Tile Set" button always showing bug introduced with #15309 .
2018-01-04 09:26:24 -02:00
firefly2442
f066991aa7
found via cppcheck:
...
remove code that will never run
make definition and declaration names for parameters match
change floats that were being set to bool values
remove pointer that is never used
2018-01-03 21:23:48 -07:00
Rémi Verschelde
1235d422ea
Merge pull request #15309 from YeldhamDev/tileset_button_fix
...
Fixed the "Tile Set" button being able to go out of bounds
2018-01-04 01:36:24 +01:00
Rémi Verschelde
2870ffe443
Merge pull request #15301 from YeldhamDev/curve_menu_fix
...
Small fixes for the Curve Editor's context menu
2018-01-04 01:24:37 +01:00
Michael Alexsander Silva Dias
fb68ceebae
Fixed the "Tile Set" button being able to go out of bounds.
2018-01-03 21:56:57 -02:00
Rémi Verschelde
f9f6f250e6
Merge pull request #15191 from Jerome67000/z_renaming
...
renames "z" Node2D property to "z_index"
2018-01-04 00:41:45 +01:00
Michael Alexsander Silva Dias
335c1d1880
Small fixes for the Curve Editor's context menu.
2018-01-03 16:47:08 -02:00
Rémi Verschelde
2488aff93f
Merge pull request #15257 from sersoong/master-addshowscript
...
Add Show In File System to script editor tabs
2018-01-03 13:55:02 +01:00
Jerome67000
42ae3525a3
#15078 renamed "z" -> "z_index" property in Node2D
2018-01-03 13:02:26 +01:00
Rémi Verschelde
8cf9269cdb
Merge pull request #15225 from volzhs/lock-group-invisible-node
...
Fix lock or group with invisible node
2018-01-03 12:35:12 +01:00
Rémi Verschelde
361ade53aa
Merge pull request #15185 from damarindra/master
...
Improve : ease of use TileSet Editor
2018-01-03 12:06:21 +01:00
Rémi Verschelde
459ee51338
Merge pull request #15093 from poke1024/canvas-editor-select
...
More exact picking for canvas editor
2018-01-03 11:15:28 +01:00
damarindra
9b04973568
Improve : ease of use TileSet Editor
2018-01-02 16:15:33 +07:00
sersoong
77c9698785
Add Show In File System to script editor tabs
2018-01-02 10:11:54 +08:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Noshyaar
9186047767
Merge pull request #15111 from poke1024/fix15097
...
Fixes various Line2D and Polygon2D editor bugs
2018-01-01 18:46:33 +07:00
Noshyaar
6aae9affec
Merge pull request #15080 from volzhs/text-color
...
Respect text editor highlighting color changes
2018-01-01 18:46:05 +07:00
volzhs
108b4a37b0
Fix lock or group with invisible node
...
Fix #15205
2018-01-01 02:18:39 +09:00
firefly2442
9ba9e37220
prevent strings from being evaluated to just "true"
2017-12-30 21:22:16 -07:00
Bernhard Liebl
86154c4c69
Various fixes for 2d polygon editor
...
Fixes issues 15096, 15097
Fixes various other Line2D edit issues
Fixes previous outline
Fixes retina support
2017-12-30 17:51:53 +01:00
damarindra
e850360948
Autotile Enhancement
2017-12-28 23:57:23 +07:00
volzhs
4b0f075e95
Respect text editor highlighting color changes
...
Fix #14838
2017-12-28 23:49:15 +09:00
Bernhard Liebl
8505871a87
More exact picking for canvas editor
2017-12-27 20:24:58 +01:00
Gilles Roudiere
b8c849205c
Fix 2D editor checkboxes with a new project
2017-12-26 16:39:58 +01:00
Poommetee Ketson
6c897707ca
Add missing parameter names
2017-12-25 21:19:56 +07:00
Noshyaar
256a60bc6e
Merge pull request #14826 from carlosfvieira/14371-F_key_Viewport_focus_problem
...
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys)
2017-12-25 08:42:31 +07:00
Noshyaar
aecffd71d8
Merge pull request #14847 from YeldhamDev/3d_viewport_save
...
Fixes for the Spatial Editor's Perspective options and dead code cleaning
2017-12-25 08:40:43 +07:00
Noshyaar
deda8974df
Merge pull request #14853 from MattUV/context-menu
...
Adds an option to move cursor with right click in TextEdit
2017-12-25 08:40:20 +07:00
Noshyaar
5859db00d8
Merge pull request #14846 from carlosfvieira/weird_gizmo_ortho
...
Fixes gizmo huge scale immediately after change to orthogonal view
2017-12-25 08:39:08 +07:00
Noshyaar
b6c798a062
Merge pull request #14827 from RayKoopa/editor_patchwork
...
Some Editor UI patchwork
2017-12-25 08:28:53 +07:00
Noshyaar
3f193af893
Merge pull request #14808 from YeldhamDev/script_editor_fixes
...
Some fixes for the Script Editor and dead code cleaning.
2017-12-25 08:27:38 +07:00
geequlim
52ad2e5418
Add more translatable text for editor plugins.
2017-12-23 22:40:15 +08:00
Rémi Verschelde
3068ccc8e6
Merge pull request #14913 from poke1024/tooltip-shortcut-names
...
Consistent display of shortcut names in tooltips
2017-12-21 22:47:50 +01:00
poke1024
22d87f20fa
Consistent display of shortcut names in tooltips
2017-12-21 20:17:30 +01:00
carlosfvieira
49859871d9
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
...
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
2017-12-21 11:29:17 +00:00
volzhs
ec139d8522
Fix blurry after zooming
2017-12-21 00:39:02 +09:00
MattUV
a55870cd81
Adds an option to move cursor with right click in TextEdit
...
Fixes #14832
- Added an option in the editor settings/cursor to make the cursor move with right click.
- If the option is activated (true by default), a right click will move the cursor before displaying context menu.
- If there is a selection, a right click on it will keep it selected, a right click outside it will unselect it.
- The option is available in textEdit via an inspector property (or via GDScript): caret_moving_by_right_click
- The option is available in the script editor and the shader editor via the editor settings
- The documentation has been updated with the new property, and a few other entries in TextEdit.xml.
2017-12-20 09:01:09 +01:00
Michael Alexsander Silva Dias
2490c4d882
Fixes for the Spatial Editor's Perspective options and dead code cleaning.
2017-12-20 01:05:21 -02:00
Carlos Vieira
2a3f6ee8b3
#14619 - fixes issue 1 (gizmo huge scale) - also referred in #14836
2017-12-19 23:45:10 +00:00
Ray Koopa
69ef89a8bd
Limit code editor minimum width, clear Scene node subresource menu before refilling it
2017-12-19 18:29:01 +01:00
Michael Alexsander Silva Dias
36e835bbd4
Some fixes for the Script Editor and dead code cleaning.
2017-12-18 15:46:17 -02:00
Rémi Verschelde
e83c502939
Merge pull request #14754 from willnationsdev/dictionary-copy
...
Added 'duplicate' function for Dictionary in C++ and API.
2017-12-17 23:58:59 +01:00
Will Nations
f19fc83546
Dictionary::copy -> ::duplicate
2017-12-17 16:07:15 -06:00
George Marques
c8d416d152
Fix method not returning value in all paths (autotile editor)
2017-12-17 16:03:46 -02:00
volzhs
4073de88cb
Refactoring FPS & information on 3D viewport
...
- FPS label position adjusted with Preview button
- Remove unnecessary Panel control
- Remove unnecessary check condition
2017-12-17 21:49:44 +09:00
Przemysław Gołąb (n-pigeon)
b3575b5164
Moved Local Space Mode and Transform Snap settings to Top Bar ...
...
...buttons for easier access.
2017-12-16 15:42:19 +01:00
Rémi Verschelde
03fb1fd7fa
Merge pull request #14613 from voithos/fold-jump-bugfix
...
Account for folded code blocks when navigating via members list
2017-12-16 01:16:25 +01:00
Rémi Verschelde
3caa18f02a
Merge pull request #14630 from willnationsdev/script-editor-create-api
...
Add API for ScriptEditor to open ScriptCreateDialog
2017-12-16 01:15:20 +01:00
Rémi Verschelde
1a065772d6
Merge pull request #14623 from volzhs/mesh-menu-theme
...
Fix theme for Mesh menu
2017-12-16 01:14:53 +01:00
Rémi Verschelde
76af59ee5e
Merge pull request #14649 from MattUV/fix-indentation
...
Modifies text indentation behaviour
2017-12-16 00:41:59 +01:00
Juan Linietsky
e946fb8cb0
Made built-in identifiers properly constant in shaders. Fixes #14449 , closes #14629
2017-12-15 18:24:30 -03:00
MattUV
db020f3cea
Modifies indentation behaviours
...
Partially fixes #14559 (see the issue for details);
Removes some code redondancy ;
Adds the possibility to indent left and right without selecting text ;
Adds the entries to the context menu when text is not selected ;
Renames indent_selection_left() and indent_selection_right() to indent_left() and indent_right() ;
Unifies context menus of shader text editor and script text editor.
2017-12-15 10:04:56 +01:00
Daniel J. Ramirez
dcad7042dc
Updated icons
...
[ciskip]
2017-12-14 15:49:27 -06:00
Juan Linietsky
f3ad14224e
-Add lightmapper
...
-Fixes to unwrapper (remove degenerates), makes Thekla not crash
-Added optional cancel button in EditorProgress
-Added function to force processing of events (needed for cancel button)
2017-12-14 09:01:27 -03:00
Will Nations
c38cd9b963
Added open_script_create_dialog func
2017-12-13 22:14:17 -06:00
Andreas Haas
34e489f060
TileMapEditor: Fix tile placement.
...
Fixes #14625
2017-12-13 16:46:22 +01:00
volzhs
e8cc25a855
Fix theme for Mesh menu
2017-12-13 21:26:55 +09:00
Rémi Verschelde
b0aeecc02b
Merge pull request #14596 from Noshyaar/pr
...
Enhance undoredo action name, TTR, cleanup
2017-12-13 08:36:47 +01:00
Zaven Muradyan
f139d0e4e6
Account for folded code blocks when navigating via members list
...
Previously, the editor would attempt to set the scroll position to the
function's line number, but this would result in an invalid scroll
whenever functions above the target were folded.
This changes callback to use a combination of `goto_line` and
`set_edit_state` to navigate to the target line and reset the cursor to
column 0.
Using `goto_line` also has the side effect of automatically unfolding
the target function, which seems like useful behavior.
Fixes #14572 .
2017-12-12 21:40:12 -08:00
Michael Alexsander Silva Dias
a933b927ca
Fixed Tileset editor button having the wrong text and not being translatable.
2017-12-12 17:06:44 -02:00
Poommetee Ketson
24df9f3707
Enhance undoredo action name, TTR, cleanup
2017-12-12 23:04:37 +07:00
Poommetee Ketson
9888a56639
Change statable to multistate, remove extra separator
2017-12-12 09:41:17 +07:00
Dmitry Koteroff
cd43188734
Fixed #14503
2017-12-11 02:43:27 +03:00
Rémi Verschelde
bf45e569c9
Merge pull request #11510 from AndreaCatania/skel
...
Added skeleton x-ray
2017-12-10 13:03:53 +01:00
AndreaCatania
63ec5823d1
Implemented skeleton visibility
...
Removed code visibility code from popup menu
2017-12-10 03:15:52 +01:00
Rémi Verschelde
4fd26d89c1
Merge pull request #14480 from volzhs/startup-error
...
Fix get_edited_scene_root error at starting editor
2017-12-10 00:12:42 +01:00
volzhs
81a79e0c0e
Fix get_edited_scene_root error at starting editor
2017-12-10 08:01:00 +09:00
Andreas Haas
788ed93806
Project Manager: Fix Templates search signal connection.
...
Fixes #13921
2017-12-09 22:57:34 +01:00
PJB3005
04d0a0b96d
Makes 3D editor grid color update without restart.
...
Fixes #14415
2017-12-09 21:16:26 +01:00
Rémi Verschelde
59657d6823
Merge pull request #14448 from groud/fix_checkboxes_update
...
Fixes the checkboxes update in canvas item editor
2017-12-09 19:04:27 +01:00
Juan Linietsky
65fb961b8b
-Ability to and unwrap lightmap coordinates on import
...
-Added unwrap functionality to Mesh
-Ability to display and debug mesh UVs
-Added multiline draw, so it's easier and faster to draw UVs
-Many fixes to SurfaceTool
-Fixes to Thekla Unwrap, but it's a piece of ass and it keeps crashing. Will have to go away
2017-12-09 14:18:14 -03:00
Rémi Verschelde
20a566d63a
Merge pull request #13166 from Krakean/change_addrootifnone_v2
...
When drag'n'drop, automatically create dragged resource as a root node if you haven't any yet (v2)
2017-12-09 16:42:25 +01:00
Gilles Roudiere
e1de1b62ee
Fixes the checkboxes update
2017-12-09 15:25:20 +01:00
MattUV
e669ca2576
Modify shortcuts and menus to fold/unfold code
...
Fix #13180
As the same shortcut cannot be assigned to two actions, I removed the ability to fold (fold_line()) or unfold (unfold_line()) via menu (still possible by code), and there is a single fold/unfold action (toggle_fold_line()).
The new default shortcut is now Alt+F
2017-12-08 19:21:48 +01:00
Paulb23
48ad133cf9
Changed current line draw order and added code folding color
2017-12-07 19:17:43 +00:00
Rémi Verschelde
96dbf19093
Merge pull request #14332 from akien-mga/clang-format
...
Update style for clang-format 5.0.0, new min required version
2017-12-07 09:18:11 +01:00
sersoong
94adf24798
Add uppercase and lowercase to rightclickmenu in scripteditor
2017-12-07 16:09:02 +08:00
Rémi Verschelde
13c2ff9320
Style: Apply new clang-format 5.0 style to all files
2017-12-07 08:02:00 +01:00
sersoong
f0fda9fd87
Add 'copy script path' to script editor plugin
2017-12-07 11:57:41 +08:00
Rémi Verschelde
7885360f3f
Merge pull request #13956 from poke1024/fix-poly2d-mode-change
...
Fixes Polygon2D wip mode closing when editing mode is changed
2017-12-07 00:29:12 +01:00
Juan Linietsky
7b7ba58493
-Fix particles with size==0, closes #13931
...
-Fixed material previews (dont show sphere unless for spatial)
2017-12-06 19:51:13 -03:00
Gilles Roudiere
7b02f5591d
Moves the guides colors to editor settings
2017-12-05 21:44:52 +01:00
Gilles Roudiere
03c1b6be23
Fix a little mistake in a setting name (rulers->guides)
2017-12-05 10:45:27 +01:00
Rémi Verschelde
1702a19bf0
Merge pull request #13959 from groud/editable_rulers_colors
...
Makes editable the guides color
2017-12-05 09:23:52 +01:00
Andreas Haas
faaa012b84
Script Editor: Use first non-whitespace comment delimiter.
...
As suggested by @neikeq in https://github.com/godotengine/godot/pull/13489#issuecomment-348690816
2017-12-04 18:33:43 +01:00
Juan Linietsky
1a317a39ed
Merge pull request #13961 from groud/rulers_by_default
...
Make rulers on by default
2017-12-04 11:45:04 -03:00
Gilles Roudiere
c2a7d186bd
Make rulers on by default
2017-12-04 15:39:12 +01:00
Bernhard Liebl
ca7e9c0348
Fixes Polygon2D wip mode closing when editing mode is changed
2017-12-04 13:44:30 +01:00
Gilles Roudiere
6c32629758
Makes editable the rulers color
2017-12-03 18:57:49 +09:00
Mariano Suligoy
af719a90a7
TileMap Fixes
2017-12-02 20:49:01 -03:00
Guilherme Felipe
893a71b7dd
Fix alignment for button preview_camera
2017-12-02 09:45:25 -02:00
Andreas Haas
07aa9d0506
Script Editor: Make comment delimiter language dependent.
2017-12-01 20:54:36 +01:00
Matthias Hoelzl
2beadf7ac0
Fix displacement for centered tilemaps
...
- Fixes tile and collision placement for tilemaps with
`tile_origin` set to `TILE_ORIGIN_CENTER`.
- Also fixes a bug in the offset computation for collision shapes
with `flip_v` flag set to true if `tile_origin` is
`TILE_ORIGIN_BOTTOM_LEFT`.
2017-11-27 15:12:30 +01:00
Bernhard Liebl
91b8b94635
add "add point" and "select point" handles to polygon 2d editor
2017-11-27 14:01:34 +01:00
bncastle
30d409edc1
Focus on sprite animation list after adding a new one to allow renaming with f2
...
After adding a new sprite animation, focus on the sprite animation list
to allow renaming the animation with f2 instead of having to click on
the sprite name again.
2017-11-26 20:54:26 -05:00
Juan Linietsky
c6f2db393e
Ask users to explore official projects when none is loaded.
2017-11-26 15:31:48 -03:00
Juan Linietsky
22415e5a31
Merge pull request #12572 from RandomShaper/onion-skinning
...
Onion skinning
2017-11-26 15:13:35 -03:00
Hugo Locurcio
e3fc6fcaa6
Tweak the default editor camera settings
...
- The default FOV is now 70
- The default Z-near plane is now at 0.05 meters
2017-11-25 23:03:26 +01:00
Pedro J. Estébanez
d0e09d84f0
Implement onion skinning for the animation editor
2017-11-25 13:25:14 +01:00
Juan Linietsky
bc2e8d99e5
Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
...
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Pedro J. Estébanez
1964d5fddd
Improve/fix SpatialEditor state saving/restoring
2017-11-25 02:18:28 +01:00
Pedro J. Estébanez
3f31925b18
Universalize draw-over API for EditorPlugins
...
- Now it is usable from both `CanvasItem` and `Spatial` editors.
- `EditorPlugin` API changes:
- `forward_draw_over_canvas()` becomes `forward_draw_over_viewport()`.
- `update_canvas()` becomes `update_overlays()`, which now triggers the update of every overlay on top of any 2D or 3D viewports present. Also now it returns the number of such viewports, which is useful whenever you need to know the number of draw-over calls you'll get.
- New: `[set/is]_force_draw_over_forwarding_enabled()` to force overlaying regardless it handles the current object type, in a similar fashion as `[set/is]_input_event_forwarding_always_enabled`. This kind of overlay is also on top of those for regular handled node types.
- New: `forward_force_draw_over_canvas()`, which is the callback that gets called for plugins that enable forced overlaying.
2017-11-24 21:24:15 +01:00
Rémi Verschelde
e38efe22c7
Merge pull request #12301 from MarianoGnu/master
...
Implement auto-tiling
2017-11-22 15:31:46 +01:00
Dmitry Koteroff
3cca09d96a
When drag'n'drop (lets say, picture in 2D mode), automatically create dragged resource as a root node if you haven't any yet.
2017-11-22 05:28:02 +03:00
Rémi Verschelde
613d374bc5
Merge pull request #12284 from bojidar-bg/allow-subproperty-set
...
Allow for getting/setting "dotted" properties of objects
2017-11-21 22:44:14 +01:00
Bojidar Marinov
0cf9597758
Allow for getting/setting indexed properties of objects using get/set_indexed
...
Performance is around the same as using pure set() through GDScript.
2017-11-21 20:58:21 +02:00
Bernhard Liebl
80ad8afc85
Native pan and zoom for macOS
2017-11-21 09:11:39 +01:00
Ricardo Maes
77f21b63e9
Add simple spacebar panning setting for 2D editor
2017-11-20 22:53:14 +01:00
Daniel J. Ramirez
e5de5b4908
Visual fixes
...
Added some icons (Including the onion one)
Fixed text editor ellipsis style and editor tabs
2017-11-20 13:03:22 -06:00
Rémi Verschelde
d1831915bf
Merge pull request #12359 from kubecz3k/spatial-lock
...
ability to lock spatial nodes transform in editor
2017-11-20 16:02:20 +01:00
Mariano Suligoy
bcfb0a09f8
Implement auto-tiling
2017-11-20 06:27:47 -03:00
Rémi Verschelde
7f52db75c6
Merge pull request #13008 from Chaosus/assetstorefixes
...
Few fixes for asset store browser
2017-11-20 09:10:13 +01:00
sersoong
66f6a8b4b5
Add close other tabs to Script Editor
2017-11-20 15:06:52 +08:00
Chaosus
f88f8e1a4a
Few fixes for asset store browser
2017-11-20 10:01:40 +03:00
Rémi Verschelde
ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
...
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Rémi Verschelde
bc26a5bd3a
Merge pull request #12936 from n-pigeon/planar_scale_gizmo
...
Implemented planar scaling with two modes.
2017-11-20 00:16:28 +01:00
Rémi Verschelde
d826b043ad
Merge pull request #12950 from ianb96/code_folding
...
Code Folding
2017-11-20 00:15:10 +01:00
Rémi Verschelde
cc88a4cea6
Merge pull request #13030 from Krakean/master
...
Add "View FPS" in 3D->Perspective's popup.
2017-11-19 23:49:35 +01:00
Dmitry Koteroff
55f992942c
Add "View FPS" in 3D->Perspective's popup.
...
"Fixes" to make it acceptable by clang-format.
"Fixes" to make it acceptable by clang-format.
2017-11-20 00:35:46 +03:00
Rémi Verschelde
6e3f2f44af
Use new XDG folders to dehardcode paths
2017-11-19 20:54:26 +01:00
Poommetee Ketson
f5e85c6103
Merge pull request #12955 from groud/editor_canvas_item_api_rework
...
Editor canvas item api rework
2017-11-20 00:19:00 +07:00
Gilles Roudiere
8d1f2b1857
Rework the canvas_item API for further improves to the canvas item editor
2017-11-19 13:36:31 +01:00
Omar Al Halabi
cb86f6fbf6
fix set_current_tab: Indexp_current=-1 out of size
2017-11-19 13:14:00 +02:00
Ian
1e59169d2d
scrolling fixes
2017-11-18 20:07:53 -05:00
Ian
d350f506a0
TextEdit code folding
2017-11-17 21:49:43 -05:00
Rémi Verschelde
ad199c3964
EditorSettings: Rename settings_path to settings_dir
...
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
Ferenc Arn
d28763a4c1
Rename Rect3 to AABB.
...
Fixes #12973 .
2017-11-17 11:01:41 -05:00
Rémi Verschelde
bb1d1912ea
Merge pull request #12488 from djrm/pr_gridmap_fixes
...
Several improvements to GridMap.
2017-11-16 19:27:27 +01:00
Przemysław Gołąb (n-pigeon)
9cc6d21d9f
Implemented planar scaling with two modes.
...
Modes:
- Scale uniformly on two axes
- Hold SHIFT to scale non uniformly
2017-11-14 23:51:27 +01:00
Juan Linietsky
04edfc090b
Finalized ability to convert from CanvasItem/Spatial/Particles materials to ShaderMaterial, closes #10242
2017-11-14 15:45:30 -03:00
Rémi Verschelde
4685674389
Merge pull request #12842 from ianb96/shader_editor_fix
...
Shader Editor context menu and line operations and style fix
2017-11-14 07:33:04 +01:00
Ian
c478c1ded5
remove debug msg
2017-11-13 18:16:59 -05:00
Rémi Verschelde
c4f9820c2f
Merge pull request #12909 from n-pigeon/tra_gizmo_fix_2
...
Fix uninitialized bool. Breaks translation in release_debug target.
2017-11-13 23:11:04 +01:00
Przemysław Gołąb (n-pigeon)
9a4f6d6689
Fix uninitialized bool. Breaks translation in release_debug target.
2017-11-13 22:54:33 +01:00
Rémi Verschelde
4755bc9e2b
Merge pull request #12854 from poke1024/fix-poly2d-editor-handle
...
Fix minor drawing order glitch in polygon 2D editor
2017-11-13 22:18:56 +01:00
Rémi Verschelde
05a780a101
Merge pull request #12869 from ianb96/script_list_move
...
Script List Reorder
2017-11-13 21:55:09 +01:00
Bernhard Liebl
89f7032c2e
Fix drawing order of polygon 2d editor handles
2017-11-13 18:49:06 +01:00
Przemysław Gołąb (n-pigeon)
e2160afcd8
Fixed View plane local rotation.
...
Plus some cleanups.
2017-11-13 09:15:41 +01:00
Ian
9f6a06b992
add script list drag n drop
2017-11-12 15:45:42 -05:00
Ian
9126a2072c
move item up/down context menu and shortcut
2017-11-12 15:45:42 -05:00
Ian
798a14eb33
add script editor list context menu
2017-11-12 15:45:42 -05:00
Rémi Verschelde
b0f10c6643
Merge pull request #12855 from Hinsbart/remove_preview
...
Remove preview when closing "change default type" dialog.
2017-11-12 21:03:42 +01:00
Rémi Verschelde
31117588fd
Merge pull request #12823 from Web-eWorks/meshdropfix
...
Fix #12571 : Dragging OBJ mesh files no longer instances a scene
2017-11-12 20:31:51 +01:00
Andreas Haas
58fafea485
Remove preview when closing "change default type" dialog.
2017-11-12 10:50:32 +01:00
Ian
94b3e786cd
shader editor context menu and line operations and style fix
2017-11-11 14:46:59 -05:00
Daniel J. Ramirez
592ee82010
Fixed theme update and some widgets.
2017-11-11 11:58:30 -06:00
Jakub Grzesik
518d907914
ability to lock spatial nodes transform in editor
2017-11-11 12:56:37 +01:00
Poommetee Ketson
aca18b6a49
Merge pull request #12806 from letheed/unify-degrees
...
Unify degree methods and properties
2017-11-11 13:27:02 +07:00
Webster Sheets
5c88ad9457
Dropping a mesh file into the scene no longer creates an instanced scene.
2017-11-10 16:31:53 -05:00
William McKIE
fd01e7d89e
Replace Del icon by Remove icon
...
It would seem there are editors that still used the old del icon
inherited from 2.X instead of the fresh remove icon from 3.X
resulting to be replaced to an "Error" textual icon.
2017-11-10 21:57:39 +01:00
letheed
482e07af7e
Unify degree members and properties
2017-11-10 12:52:07 +01:00
Gilles Roudiere
e2785fbded
Merge pull request #12797 from viprip/12668_fix_texture_region_dock_zoom_icon_is_misaligned
...
Fix misaligned zoom icon in Texture Region Editor plugin
2017-11-10 10:07:49 +01:00
Rémi Verschelde
94a915135d
Merge pull request #12786 from n-pigeon/spatial_transform_gizmo
...
Cleanups in Spatial Transform Gizmo
2017-11-10 09:53:43 +01:00
Przemysław Gołąb (n-pigeon)
f1c2a18e57
Cleanups in Spatial Transform Gizmo
...
Fixed translation i local space - changed a bit how it was implemented.
Fixed bug with rotations when object is scaled.
Added safety check preventing scaling to 0 in local space.
All Gizmoz display numerical output message on the bottom of the viewport.
Unified code a bit, so it will be easier to maintain.
2017-11-10 08:22:11 +01:00