Commit graph

741 commits

Author SHA1 Message Date
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
William McKIE
1fc787e6ac Fix misaligned zoom icon in Texture Region Editor plugin
The zoom icon was aligned on top compared to the others zoom buttons
from the HBox container.

Closes #12668.
2017-11-10 07:31:36 +01:00
Juan Linietsky
192a4d7de5 Reworked how servers preallocate RIDs, should fix #10970 2017-11-09 23:35:34 -03:00
Daniel J. Ramirez
1b7f99d9e5 Several improvements to GridMap.
Fixed crash when undoing.
More ergonomic shortcuts.
Fixed freelook navigation.
2017-11-09 16:18:48 -06:00
Chaosus
423f299530 Enable asset store for godot 3.0 2017-11-09 18:32:40 +03:00
Marc Gilleron
0b7ae364ea Fix tilemap undo/redo 2017-11-08 22:26:19 +01:00
Geequlim
0781649456 Add menu to import current editor theme into theme editor 2017-11-07 13:32:04 +08:00
Bernhard Liebl
88007e91cf Use AbstractPolygon2DEditor for Line2D 2017-11-04 20:26:38 +01:00
Rémi Verschelde
c880302754
Merge pull request #12566 from bncastle/select_anim_fix
Select correct animation on creation of a new one
2017-11-02 14:21:09 +01:00
scorched
1d99f93a7a Fix compilation on Visual Studio 2013 again. 2017-11-01 23:47:05 +03:00
bncastle
95408c8670 Select correct animation on creation of a new one
-  Select the correct animation when creating a new one.
- Removed unneeded new_name variable.
2017-11-01 15:40:58 -04:00
Gilles Roudiere
025f138561
Merge pull request #10618 from poke1024/polygon2d-selection
Proposal for modified Polygon2D editor controls
2017-11-01 18:16:33 +01:00
Juan Linietsky
a4ea63737c Ability to shrink 3D viewport by half 2017-10-31 14:23:47 -03:00
Rémi Verschelde
31a487660a
Merge pull request #12499 from Zylann/freelook_toggle_mode
Add option to use freelook with a toggle shortcut
2017-10-31 09:29:54 +01:00
Marc Gilleron
b9521f862d Add option to use freelook with a toggle shortcut (like Blender) instead of holding RMB (like Unity) 2017-10-30 23:23:55 +01:00
Rémi Verschelde
a6ddc5a9a4
Merge pull request #12363 from groud/implement_guides
Implement 2D editor guides
2017-10-30 22:58:46 +01:00
Juan Linietsky
495bcd7301 Clean up GI Probe baking, proper button and progress bar. 2017-10-30 16:33:37 -03:00
Gilles Roudiere
32502a4b68 Fixes keybord directionnal keys not moving nodes in the 2D editor 2017-10-29 22:00:03 +01:00
Rémi Verschelde
5f24a0b250
Merge pull request #12389 from Chaosus/continuehotkey
Added hotkey for Continue action in Script editor

[ci skip]
2017-10-28 17:52:02 +02:00
sersoong
831d601a83 Add copy button to sprite_frames_editor_plugin 2017-10-28 08:03:49 +08:00
Chaosus
70566c0935 Added hotkey for Continue action 2017-10-25 00:01:18 +03:00
Gilles Roudiere
06a4e2e3ad Implement guides 2017-10-24 22:32:00 +02:00
Indah Sylvia
79dda1350d Finished transition of Patch9Rect to NinePatchRect 2017-10-24 13:01:45 +07:00
Rémi Verschelde
ad5613ec40 Merge pull request #12310 from Paulb23/toggle_highlight_current_line
Added setting to toggle current line highlighting
2017-10-23 23:25:11 +02:00
Bernhard Liebl
7c245e9f6d adds alternative editing of nodes: you can select nodes, use del to delete nodes, and split edges by simply clicking into edge 2017-10-23 19:01:14 +02:00
Marc Gilleron
e9f6ff5bd1 Use bresenham line in freehand tilemap painting to fill discontinuities 2017-10-23 01:26:51 +02:00
Paulb23
45670df354 Added setting to toggle current line highlighting 2017-10-22 13:42:08 +01:00
Rémi Verschelde
99c8a8c7b1 Merge pull request #11401 from SaracenOne/snapped_drag
Added snapping to spatial drag and drop.
2017-10-22 12:06:00 +02:00
Alexander Holland
a9876869de Change theme button name to edit theme
[ci skip]
2017-10-22 11:54:37 +02:00
Pedro J. Estébanez
27be483a74 Fix TileMap editor not getting input
Fixes #12265.
2017-10-22 03:58:29 +02:00
Felipe Seixas
651246cbff Fix drop-down size when resizing font #12207
Fixes Scene > Open Recent
Fixes ScriptEditor > File > Open Recent
2017-10-21 11:53:53 -04:00
Poommetee Ketson
9b634180aa Refactor Fixed to Physics 2017-10-21 21:28:08 +07:00
Rémi Verschelde
8cb76888ae Merge pull request #12228 from hi-ogawa/fix-spatial-shader-conversion-with-texture
Fix spatial shader conversion with texture
2017-10-20 23:55:58 +02:00
Rémi Verschelde
7969565de7 Merge pull request #12052 from hi-ogawa/particle-material-conversion-plugin
Create ParticlesMaterialConversionPlugin
2017-10-20 23:54:56 +02:00
scorched
3ba5ee42c3 Fix compilation on Visual Studio 2013 (#10219). 2017-10-20 12:55:22 +02:00
Rémi Verschelde
eacdcd7239 Merge pull request #12206 from SaracenOne/drag_and_drop_fix
Fix drag and drop collision with non-centred origin points.

[ci skip]
2017-10-20 12:43:02 +02:00
Hiroshi Ogawa
3bd2a4c421 Fix spatial shader conversion with texture 2017-10-19 16:10:24 +09:00
Saracen
c566899dcf Fix drag and drop collision with non-centred origin points. 2017-10-18 05:16:05 +01:00
Gilles Roudiere
907970aab6 Restored files mode 2017-10-18 00:05:08 +02:00
Gilles Roudiere
fc02605b49 Fixes snapping and replaces the _draw_canvas by forward_canvas_draw 2017-10-18 00:01:59 +02:00
Marc Gilleron
59e6a27da1 Added icon under zoom/speed indicator bar 2017-10-15 21:20:51 +02:00
Rémi Verschelde
61a26dc23e Merge pull request #11927 from Zylann/freelook_interpolation_fix
Freelook interpolation fixes
2017-10-15 20:40:16 +02:00
Rémi Verschelde
eeb9257a95 Merge pull request #12110 from djrm/pr_spatial_editor_fixes
Return camera to origin when creating a new scene and going to 3d edi…
2017-10-15 10:04:33 +02:00
Daniel J. Ramirez
c04f8721f3 Return camera to origin when creating a new scene and going to 3d editor. 2017-10-14 19:05:09 -05:00
Paulb23
ca24310a13 Fixed help overview visibility, issue 12011 and 10407 2017-10-14 18:51:35 +01:00
Daniel J. Ramirez
9001ba26aa Added and improved some missing icons, plus some other visual fixes. 2017-10-13 16:39:17 -05:00
Daniel J. Ramirez
dbc37afcd9 Added and improved some icons, plus some other minor visual fixes. 2017-10-12 14:43:11 -05:00
Hiroshi Ogawa
d777681882 Create ParticlesMaterialConversionPlugin and format generated shader code 2017-10-12 21:30:19 +09:00
jagt
21c2bf84e6 fix script editor clear recent scripts crash 2017-10-11 16:24:57 +08:00
Marc Gilleron
de42e53671 Freelook interpolation fixes
- Smooth freelook position more explicitely
- Don't let orbit zoom produce translation when it shouldn't
- Make base speed framerate-independent (and tweaked setting for that)
- Don't rely on camera for calculations because it no longer reflect immediate state
- Avoid potential divide-by-zero with zoom inertia
- Make speed/zoom relation optional (if enabled, speed is adjusted from zoom)
- Never change zoom distance when freelook is active
- Orbit inertia also applies on freelook
2017-10-10 02:38:17 +02:00
Gilles Roudiere
ae94758374 Merge pull request #11019 from poke1024/refactor-polygon-v2
Refactoring of polygon editors to a common code base (v2)
2017-10-09 19:47:54 +02:00
Rémi Verschelde
bf12b45986 Merge pull request #11965 from SaracenOne/navgen_fix
Navmesh Generation Fix

[ci skip]
2017-10-09 15:23:40 +02:00
Rémi Verschelde
438e32d652 Merge pull request #11941 from Paulb23/members_selected_scroll_issue_11648
Consistant scroll when using members overview, issue 11648
2017-10-09 15:19:15 +02:00
Saracen
70e47996b8 Fix bug in navmesh generation when using meshes with multiple
surfaces.
2017-10-09 13:14:27 +01:00
Rémi Verschelde
1cb4fc1510 Merge pull request #11846 from gabrielformiga/fix-ik-bone-drag
Fix IK Bone Drag on Viewport
2017-10-09 12:30:56 +02:00
Rémi Verschelde
3091cfcebd Merge pull request #11842 from n-pigeon/rotate_gizmo_fix
Fixed rotating in local space using 3D Gizmo.
2017-10-09 12:29:35 +02:00
Rémi Verschelde
3151b08c48 Merge pull request #11821 from groud/margins_preset_menu
Replaces (and extends) the anchor menu to a Layout one
2017-10-09 12:21:57 +02:00
Paulb23
b07dfd75ea Consistant scroll when using members overview, issue 11648 2017-10-08 14:29:27 +01:00
Gilles Roudiere
a25d70ab31 Extends the anchors menu to a presets 2017-10-05 21:53:36 +02:00
Gabriel
f931093812 Fix IK Bone Drag on Viewport 2017-10-04 21:58:13 -03:00
Przemysław Gołąb (n-pigeon)
a6ff281966 Fixed rotating in local space using 3D Gizmo. 2017-10-04 23:18:31 +02:00
Gilles Roudiere
3f279d2a3e Fixes the pre drag rect not drawn correctly 2017-10-03 22:44:34 +02:00
Bernhard Liebl
f815a3df7e Refactoring of polygon editors to a common code base
includes rebase and manual application 67a706fc1b and 4537977d6d
2017-10-03 13:10:45 +02:00
Daniel J. Ramirez
6d874ea685 Added correct initialization for script editor theme.
Some style fixes for VS interface.
2017-10-02 18:33:42 -05:00
Andreas Haas
3c1dab7be7 Merge pull request #11770 from Noshyaar/pr-๓
CurveEditor: fix can't edit right tangent
2017-10-03 00:26:12 +02:00
Andreas Haas
5cd68abf88 Merge pull request #11478 from n-pigeon/scale_gizmo
Scale editing Gizmo for Spatial Editor
2017-10-03 00:03:01 +02:00
Andreas Haas
5303efb2fa Merge pull request #11659 from AndreaCatania/prephysics
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
Poommetee Ketson
0ce4d82bbf
CurveEditor: fix can't edit right tangent 2017-10-03 03:48:11 +07:00
Poommetee Ketson
980e78749b Merge pull request #11743 from groud/zoom_button_fix
Fix zoom button not zooming on the screen center
2017-10-02 23:42:43 +07:00
Gabriel
24249a2c4d Fix bones draw on viewport 2017-10-01 16:00:44 -03:00
Gilles Roudiere
a0fb178b58 Fix zoom button not zooming on the screen center 2017-10-01 11:30:38 +02:00
Poommetee Ketson
f058fa660d Merge pull request #11720 from ISylvox/EnhanceExperience-onUsing-DragNDropAssetTo2DViewport
Rename Patch9Rect into NinePatchRect on "Drag & Drop Asset to 2D Viewport" Feature
2017-09-30 22:28:25 +07:00
AndreaCatania
4537977d6d Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
Gilles Roudiere
c9e1bff93f Fixes node2D not lockable/groupable 2017-09-30 15:30:51 +02:00
Indah Sylvia
1f30bcb264 Renamed Patch9Rect (which was expected to be renamed to NinePacthRect) into NinePatchRect on "drag & drop asset to 2D viewport" feature. 2017-09-30 20:18:58 +07:00
Scayze
296941f745 fix not beeing able to open empty scripts 2017-09-28 23:58:45 +02:00
Przemysław Gołąb (n-pigeon)
aad234d5ac Scale editing Gizmo for Spatial Editor
Added support for axis locked scaling with handles, supports both world and local space. Local space recommended for most editing tasks.
Also fixed some small bugs, polished Gizmo looks and cleaned up some dead code.
Happy scaling! :)
2017-09-26 20:39:41 +02:00
Rémi Verschelde
777f26fe29 Merge pull request #11597 from djrm/pr_interface_colors
Removed most of the custom colors from the interface.
2017-09-26 08:03:00 +02:00
Daniel J. Ramirez
e2861a3b7c Removed transparency from spatial editor grid. 2017-09-25 21:45:53 -05:00
Daniel J. Ramirez
b622c92fad Removed most of the custom colors from the interface. 2017-09-25 21:43:20 -05:00
Rémi Verschelde
f577efd47e Merge pull request #11424 from groud/control_node_presets
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Rémi Verschelde
1aabf4c166 Merge pull request #11542 from marcelofg55/bucket_limit
Bucket fill will now incrementally process the queue on preview mode
2017-09-25 23:12:12 +02:00
Poommetee Ketson
dcc759fbbc 2DEditor: fix duplicated 'id_pressed' connection 2017-09-25 23:15:54 +07:00
Marcelo Fernandez
6f1ac101b8 Bucket fill will now incrementally process the queue on preview mode 2017-09-24 10:35:55 -03:00
Marcelo Fernandez
3571087843 Fix possible infinite loop with bucket fill tool 2017-09-23 23:30:00 -03:00
Juan Linietsky
d3ea92257d -Fixed redraw always on 3D viewprot bug
-Changed manipulation inertia default values. Do not touch them again or I'll cut your fingers and eat them.
2017-09-23 17:28:28 -03:00
Juan Linietsky
3237e05c36 Ability to convert from SpatialMaterial to ShaderMaterial 2017-09-22 09:20:52 -03:00
Gilles Roudiere
05bb8e0c10 Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE) 2017-09-22 11:39:44 +02:00
Rémi Verschelde
779426d2df Merge pull request #11477 from djrm/pr_visuals
Improved a lot of icons, and some style fixes
2017-09-22 09:28:10 +02:00
Gilles Roudiere
56a80625e5 Fixes the rulers text drawn outside the viewport_base 2017-09-22 09:18:04 +02:00
Daniel J. Ramirez
29d3ecf29a Improved a lot of icons, and some style fixes 2017-09-21 15:55:07 -05:00
Gilles Roudiere
e2145bc960 Fix godot spraying errors about a null check 2017-09-21 21:59:38 +02:00
Rémi Verschelde
82f13288dd Merge pull request #11453 from djrm/pr_visuals
Visual tweaks.
2017-09-21 10:51:06 +02:00
Rémi Verschelde
2f82da7f72 Merge pull request #11222 from toger5/spatial_scrolling
Spatial scrolling update + better default inertia values
2017-09-21 10:35:25 +02:00
Rémi Verschelde
5c76e638ab Merge pull request #11187 from SaracenOne/subscene_box_selection
Box selection for MeshInstances and subscene nodes.
2017-09-21 10:24:40 +02:00
Daniel J. Ramirez
00755ff2c0 Visual tweaks.
Updated icons
Updated some color
2017-09-20 19:29:52 -05:00
Marcelo Fernandez
1a8b324545 Add missing NULL checks on CanvasItemEditor 2017-09-20 16:28:16 -03:00
SaracenOne
3cecd0c6dc Box selection for MeshInstances and subscene nodes. 2017-09-20 14:04:18 +01:00
letheed
5ad9be4c24 Rename pos to position in user facing methods and variables
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:

* pos -> position
* rot -> rotation
* loc -> location

C++ variables are left as is.
2017-09-20 13:11:10 +02:00
SaracenOne
2e22c07f42 Added snapping to spatial drag and drop. 2017-09-20 01:54:01 +01:00
Rémi Verschelde
01e4d2672c Merge pull request #11327 from SaracenOne/drag_meshes
Drag and drop for meshes directly.
2017-09-19 23:38:10 +02:00
Rémi Verschelde
b03a6e55e0 Merge pull request #11396 from djrm/pr_fix_metrics
Fixed a lot of HiDPI metrics.
2017-09-19 23:36:33 +02:00
toger5
f328a356ae settings 'editors/3d' organized, sorted, new_defaults 2017-09-19 02:44:26 +02:00
toger5
117eb16adb update inertia/freelook settings values + renamed free_orbit... to
oribit...
2017-09-19 02:34:44 +02:00
toger5
1a8a80368e added precision scrolling to spatial editor zoom 2017-09-19 02:34:04 +02:00
toger5
81245a634b zoom inertia uses its own setting (not the same then translation) 2017-09-19 01:30:14 +02:00
SaracenOne
a3b3886029 Drag and drop for meshes directly and fix drop restriction for non-Texture objects in canvas editor. 2017-09-18 22:50:05 +01:00
Gilles Roudiere
b5f29fe073 Add some options and reorganize the 2D editor menus. Makes available forced snapping. 2017-09-18 23:20:18 +02:00
Daniel J. Ramirez
957e85dcac Fixed a lot of HiDPI metrics. 2017-09-18 14:48:15 -05:00
Gilles Roudiere
ee61d5d04b Implement smart snapping. Fixes a bug with anchors single-axis move (when they were rotated). 2017-09-17 23:22:13 +02:00
Gilles Roudiere
a6f577a9f2 Avoid grid step to go below zero 2017-09-17 23:19:05 +02:00
Gilles Roudiere
7c24a26bc2 Use shift to move anchors on a single axis 2017-09-17 23:19:05 +02:00
Gilles Roudiere
bf6d7add01 Implement shortcuts to multiply/divide the grid step 2017-09-17 23:19:05 +02:00
Gilles Roudiere
fc52a74ffc Fusion the lock/unlock and the group/ungroup buttons 2017-09-17 23:19:05 +02:00
Gilles Roudiere
975f7eeec3 Adds keyboards shortcuts 2017-09-17 23:19:05 +02:00
Gilles Roudiere
335688ce78 Implements rulers 2017-09-17 23:19:05 +02:00
Gilles Roudiere
72e0a68a81 Fixes axis badly displayed with high zooming values 2017-09-17 23:04:30 +02:00
Gilles Roudiere
71b45614fd Split some functions to make the code more readable (maybe at the price of a neglibile performance loss) 2017-09-17 23:04:30 +02:00
Gilles Roudiere
f48b76fd8d Make the shortcuts for setting the pivot editable 2017-09-17 23:04:30 +02:00
Gilles Roudiere
69091d4035 Display draggable anchors only if the parent is not a container 2017-09-17 23:04:30 +02:00
Gilles Roudiere
100c788884 Display width and height when dragging a node side 2017-09-17 23:04:30 +02:00
Gilles Roudiere
ad1028471c Draw a ghost rect when dragging nodes if it's rotated/scaled 2017-09-17 23:04:30 +02:00
Gilles Roudiere
dbc4dbdec1 Displays margins values when moving the node 2017-09-17 23:04:30 +02:00
Rémi Verschelde
7655587efb Merge pull request #11251 from toger5/q_e_fix_freelook
swapped up down shortcut for freelook (to fit unreal)
2017-09-17 22:49:13 +02:00
Rémi Verschelde
4208518c4d Merge pull request #11356 from Paulb23/text_editor_theme_crash
Fixed segfault on loading text editor theme

[ci skip]
2017-09-17 17:57:00 +02:00
Paulb23
a48dc9aa17 Fixed segfault on loading text editor theme 2017-09-17 13:19:38 +00:00
Jakob Schwab
f98f65fd7f Adds missing shortcuts to TileEditor. Keeps fill-tool selected after use
The following keyboard shortcuts are now available:
-Bucket fill (G)
-Paint Tile (P)
-Transpose Tile (T)
Fixes #10918
2017-09-17 13:09:04 +02:00
Rémi Verschelde
c74bab66aa Merge pull request #11274 from Rubonnek/keep-argument-names-consistent
Renamed function arguments to keep them consistent between declaration and implementation
2017-09-17 12:53:48 +02:00
Rémi Verschelde
53990c7bb9 Merge pull request #11196 from poke1024/canvas-old-rect
Adds display of old bounding box as suggested by Zephilinox in issue …
2017-09-17 12:44:36 +02:00
Poommetee Ketson
d8ca7d4405 Merge pull request #11282 from djrm/pr_script_editor_auto_theme
Added adaptive text editor theme
2017-09-17 08:55:13 +07:00
Poommetee Ketson
5ccaf36c6b Merge pull request #11338 from marcelofg55/clang_compilefix
Compile fix for clang error on spatial_editor_plugin.cpp
2017-09-17 08:25:36 +07:00
Guilherme Felipe
6d13e11373 Add missing icons in animation tree editor 2017-09-16 22:10:01 -03:00
Marcelo Fernandez
ac9c400adc Compile fix for clang error on spatial_editor_plugin.cpp 2017-09-16 19:16:40 -03:00
Juan Linietsky
82f9836a1c forgot to set proper default values for new camera interpolation 2017-09-16 12:14:12 -03:00
Juan Linietsky
844c5e12e6 Fixed to InputDefault, button mask was wrong. Fixes to editor camera interpolation. 2017-09-16 12:12:41 -03:00
Daniel J. Ramirez
ba11dc3f48 Added adaptive text editor theme, this includes the shader editor 2017-09-15 16:08:22 -05:00
Wilson E. Alvarez
072e379ffe Renamed function arguments to keep them consistent between declaration and implementation 2017-09-14 13:49:15 -04:00
poke1024
d9b68c5f5d adds display of old bounding box as suggested by Zephilinox in issue #10936 2017-09-14 17:46:24 +02:00
Rémi Verschelde
8c08f2380d Merge pull request #11253 from djrm/pr_better_docs
Improved editor docs
2017-09-14 12:06:36 +02:00
Hein-Pieter van Braam
3f4062c708 Merge pull request #11246 from djrm/pr_better_script_temperature
More consistent script color temperatures.
2017-09-14 09:05:31 +02:00
Rémi Verschelde
8e8724126c Merge pull request #11195 from poke1024/fix10936
Sprite selection rectangle updates again (fixes #10936)
2017-09-14 08:58:36 +02:00
Daniel J. Ramirez
d21f20eb5f Several fixed to editor doc.
Improved style
Fixed editor help issues
Added editor help index
2017-09-14 01:13:37 -05:00
poke1024
9ba92f5baa sprite selection rectangle updates again (fixes issue 10936)
sprite selection rectangle was not updating in real time when dragging or rotating sprites; undoing translation/rotation changes did not update sprite rectangles either.
2017-09-14 07:12:50 +02:00
toger5
1d6f19f3a2 swapped up down shortcut for freelook (to fit unreal) 2017-09-14 01:36:42 +02:00
Daniel J. Ramirez
7a362afb88 More consistent script color temperatures. 2017-09-13 14:07:05 -05:00
Rémi Verschelde
97a2ed6fa6 Merge pull request #11081 from djrm/pr_better_3d_grid
Better looking spatial editor grid
2017-09-13 19:30:47 +02:00
Rémi Verschelde
27ae3c839d Merge pull request #7908 from SaracenOne/recast
In-editor navmesh generation.
2017-09-13 19:22:29 +02:00
Rémi Verschelde
d85472bef0 Merge pull request #10826 from tuga3d/toggle-comment-behavior
Smarter toggle comment block. fixes #10720
2017-09-13 19:21:25 +02:00
Rémi Verschelde
91a85d8805 Merge pull request #11047 from toger5/interpolation_chnage
Modify inertia implementation for freelook and orbit
2017-09-12 14:06:04 +02:00
Rémi Verschelde
5f8f8e4922 Merge pull request #11025 from volzhs/script-editor
Fit script editor grid with others
2017-09-12 13:39:51 +02:00
Rémi Verschelde
0e8f44016e Merge pull request #11020 from toger5/theme_animation_editor_colors
removed hardcoded color and added theme update for animation editor
2017-09-12 13:29:28 +02:00
Rémi Verschelde
aabbd00284 Merge pull request #10908 from hpvb/fix-unused-variables
Fix unused variable warnings
2017-09-12 12:55:53 +02:00
Rémi Verschelde
cf941fdc35 Merge pull request #11026 from hpvb/fix-assign-in-if
Remove assignment and declarations in if statements
2017-09-12 11:57:49 +02:00
toger5
226f2ae2f2 fix always updating +removed print +use EDITOR_DEF 2017-09-11 22:54:49 +02:00
toger5
e835d80a3f update icons for animation_player_plugin (top bar) 2017-09-09 04:19:43 +02:00
Daniel J. Ramirez
f8dad1e61b Better looking spatial editor grid 2017-09-08 18:49:30 -05:00
Hein-Pieter van Braam
b2a38854fd Fix unused variable warnings
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Hein-Pieter van Braam
8230bf0a2f Remove assignment and declarations in if statements
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
2017-09-08 14:59:15 +02:00
Hein-Pieter van Braam
67a706fc1b Fix various assorted warnings
Fix various warnings that don't have enough instances to merit
individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-08 14:57:48 +02:00
Juan Linietsky
1eeda0f32f Restored auto snapping of controls to pixels, fixes #10847 and probably several more issues. Made it optional in the project settings but defaults to true. 2017-09-07 11:22:07 -03:00
toger5
b1f804094d Modify inertia implementation for freelook and orbit
- freelook now uses position based inertia (holding a key for a
   specific time always rults in the same distance traveled independent
of inertia setting)
 - orbit inertia now is angle bases. (not transformation based) ->
   camera always takes the same path.
 - added setting for orbit inertia
 - added setting hints for freelook settings.
2017-09-07 15:55:58 +02:00
toger5
44f12be3f4 Revert "Removed camera interpolation in orthogonal mode (I have no idea how to fix this due to how orthogonal works), closes #10718"
This reverts commit 895140389a.
2017-09-07 15:55:58 +02:00
Juan Linietsky
895140389a Removed camera interpolation in orthogonal mode (I have no idea how to fix this due to how orthogonal works), closes #10718 2017-09-07 09:58:38 -03:00
volzhs
41cc85fb20 Fit script editor grid with others 2017-09-07 06:25:57 +09:00
Rémi Verschelde
0b8fa1e010 Remove dead ButtonGroup code 2017-09-06 14:41:34 +02:00
Paulo Gomes
af40c8698b Smarter toggle comment block. issue #10720
Added check to see if all lines in selection are commented (is_commented)
If so remove the comment from each line else add a comment.
If the line is empty, with trailing spaces or tabs, remove those.
This will add an extra comment character to the lines that are already commented,
so when you uncomment a block it retains the previous commented lines.

Following Zylann logic, if the selected lines are all commented out,
it removes one # from each. Otherwise, it adds one.
It works how it is, but i would like some feedback on how to implement this.
2017-09-05 00:04:08 +01:00
Rémi Verschelde
7f262e484a Merge pull request #10907 from SaracenOne/spatial_edit_drag
Added support for drag and drop in spatial editor.
2017-09-04 23:05:31 +02:00
Rémi Verschelde
bba365fab7 Merge pull request #10931 from djrm/pr_style_fixes
Improved color temperature in script editor
2017-09-04 22:50:54 +02:00
Rémi Verschelde
729cfa39e2 Merge pull request #10941 from Noshyaar/pr-cursor
2DEditor: enhance viewport cursor shape
2017-09-04 22:46:20 +02:00
Saracen
92e77d5ff2 Recast integration. 2017-09-04 21:41:57 +01:00
Juan Linietsky
6d233c651b -Changed KinematicBody API yet again to make it friendlier
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
2017-09-04 07:49:42 -03:00
Rémi Verschelde
b5d2d0a9a5 Merge pull request #10939 from neikeq/fix-overridden-external-editors
Fixes language overridden external editors
2017-09-04 08:12:29 +02:00
Rémi Verschelde
08dde55e4f Merge pull request #10920 from Paulb23/smooth_scrolling_shader_editor
Enabled smooth scrolling for shader editor
2017-09-04 08:07:41 +02:00
Rémi Verschelde
fb263b73aa Merge pull request #10901 from toger5/script_background_cleanup
StyleBoxSupport for RichTextLabel and cleanup for script+docs backgrounds fixes #10685
2017-09-04 08:05:17 +02:00