Commit Graph

692 Commits

Author SHA1 Message Date
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
Rémi Verschelde ec8f44ed5f Merge pull request #10895 from Paulb23/fix_delete_animation_frames
Fixed delete animation frames in AnimatedSprite, issue 10788
2017-09-04 08:00:21 +02:00
Poommetee Ketson fd68c3b68f 2DEditor: enhance viewport cursor shape 2017-09-04 11:36:12 +07:00
Ignacio Etcheverry 52a7be4eef Fixes language overridden external editors 2017-09-03 21:23:36 +02:00
Juan Linietsky adde89e8b1 -Added an optimization so physics shapes are configured later, speeds up grid map loading and editing 2017-09-03 14:54:15 -03:00
Paulb23 a3c5e84f59 Enabled smooth scrolling for shader editor 2017-09-03 13:32:52 +01:00
Daniel J. Ramirez 215b110cd3 Improved color temperature in script editor 2017-09-03 02:44:59 -05:00
SaracenOne d3cb8d12ff Added support for drag and drop in spatial editor. 2017-09-03 05:00:23 +01:00
Paulb23 00ccaa5559 Fixed delete animation frames in AnimatedSprite, issue 10788 2017-09-02 17:35:42 +01:00
toger5 b606285219 Unified script panel backgrounds.
- simplefied it with using the new rtl.
 - removed ("ScriptPanel", "EditorStyles") for since rtl now can be used
 - unified backgrounds when script editor color is set to transparent => option to set background color adapt to theme is deprecated.
2017-09-02 18:28:35 +02:00
toger5 7cb76cd628 Revert "added setting to override the theme background with editor theme color"
This reverts commit ce4eb30778.
2017-09-02 03:55:23 +02:00
Hein-Pieter van Braam 9c63ab99f0 Fix use of unitialized variables
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Rémi Verschelde dac150108a Merge pull request #10846 from hpvb/fix-sign-compare
Fix signed and unsigned comparisons
2017-09-01 21:52:55 +02:00
Juan Linietsky 8f30c52a37 Removed ontop property, added a material rendering priority system. Fixes #9935, closes #10135 2017-09-01 13:01:08 -03:00
Poommetee Ketson ed606ded52 Fix files header 2017-09-01 21:07:55 +07:00
Rémi Verschelde bf5b02cb71 Merge pull request #10832 from Paulb23/auto_indent_setting
Added setting to toggle auto indent.
2017-09-01 08:14:47 +02:00
Hein-Pieter van Braam f9467ec1ea Fix signed and unsigned comparisons
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01 08:13:12 +02:00
Daniel J. Ramirez f1214041c6 Updated Editor Built-In types. 2017-08-31 21:15:30 -05:00
Paulb23 d586b98a20 Added setting to toggle auto indent 2017-08-31 19:42:47 +01:00
Rémi Verschelde f00760b22c Merge pull request #10382 from toger5/dark_icons
Light Theme
2017-08-31 11:47:18 +02:00
Rémi Verschelde b3496ee7ab Merge pull request #10763 from poke1024/realtime-polygon-2d-fix
Fixes two glitches in polygon2d wip mode introduced with #10614
2017-08-31 10:57:46 +02:00
toger5 7793bfc544 added icon updating to most ui elements 2017-08-30 21:47:09 +02:00
Scayze fbda0cc45c AutoUse Pencil on Polygon creation 2017-08-30 12:52:06 +02:00
Rémi Verschelde 98ad0e5a02 Merge pull request #10743 from djrm/pr_improved_spatial_gizmo
Better spatial gizmo.
2017-08-30 12:46:53 +02:00
Rémi Verschelde fd7ad7d80a Merge pull request #10750 from Rubonnek/fix-duplicate-script-changed-signal
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
2017-08-30 12:46:00 +02:00
Juan Linietsky 9c3bddfac2 Merge pull request #10745 from neikeq/fix-docdata-and-stuff
DocData and virtual method type hints fixes
2017-08-29 20:11:07 -03:00
poke1024 d8fcc7d1c2 Fixes two glitches in polygon2d wip mode introduced with #10614 2017-08-29 20:29:03 +02:00
Ignacio Etcheverry c16d00591b DocData and type hints fixes
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types
- Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string.
- PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void.
- Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29 19:40:21 +02:00
Wilson E. Alvarez a400a65c8a Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed' 2017-08-29 10:24:10 -04:00
Juan Linietsky 089cf8176e removed DISCARD built in variable, replaced by actual discard GLSL instruction, fixes #9677 2017-08-29 10:15:49 -03:00
Daniel J. Ramirez 78c3cf6e68 Better spatial gizmo.
Now it is posible to move spatial nodes along a plane.
2017-08-28 20:39:45 -05:00
Rémi Verschelde 0f7376921f Merge pull request #10614 from poke1024/realtime-polygon-2d
Adds realtime updates to polygon 2d editing
2017-08-28 23:58:34 +02:00
Juan Linietsky 8fce79aaee -Some fixes to code completion.
-Fix getter in code completion being displayed when it shouldn't
-Clean up preview generation for editors and exposed it as editor plugin
2017-08-28 00:04:24 -03:00
Rémi Verschelde 7e8a7dea2e Merge pull request #10667 from Zylann/freelook_inertia
Added freelook inertia
2017-08-28 00:06:25 +02:00
Juan Linietsky d23f323cde -Moved script run to editor, removed from project
-fixed to code completion
-fix shader crash bug reported by tagcup
2017-08-27 19:04:19 -03:00
Rémi Verschelde 7ad14e7a3e Dead code tells no tales 2017-08-27 22:13:45 +02:00
Juan Linietsky 37da8155a4 -Largely rewrote gridmap to simplify it
-Got editor working again
-Added a current-floor marker on selection
2017-08-27 16:02:00 -03:00
Rémi Verschelde bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Marc Gilleron 28e1c88f6e Added freelook inertia 2017-08-27 02:21:26 +02:00
Rémi Verschelde 612099e377 Merge pull request #10591 from Rubonnek/possible-null-ptr-dereference
Added/Fixed null pointer checks
2017-08-27 02:10:56 +02:00
Rémi Verschelde 5976e8d7de Merge pull request #10625 from Rubonnek/fixed-leaks
Fixed several memory leaks
2017-08-27 02:10:32 +02:00
Wilson E. Alvarez 7a07895920 Added/Fixed null pointer checks 2017-08-26 16:58:47 -04:00
Hein-Pieter van Braam 9a1d9a41eb Add several missing Null checks in _notification
This fixes #6118
2017-08-26 22:50:15 +02:00
Rémi Verschelde 565600e844 Cleanup tons of obsolete commented out code
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
Juan Linietsky dd7145b778 -Split EditorPlugin into EditorPlugin and EditorInterface
-Added EditorInterface to EditorScript
-Added functions to save the scene to EditorInterface
2017-08-26 10:33:07 -03:00
Juan Linietsky fbfed97a1b Changed camera interpolation to work when LMB is pressed and no modifiers are pressed 2017-08-26 09:10:57 -03:00
Bernhard Liebl 1ea2b9be72 polygon2d realtime editing
editing nodes in the polygon2d editor now updates the polygon in realtime; the previous outline is shown, but this can be disabled via a new editor setting
2017-08-26 11:57:54 +02:00
Juan Linietsky 1894157c9f -Massive clean up to gizmos
-Make sure handles are always visible (on top)
-Fixed instanced scene selection (should work properly now)
-Added interpolated camera
-Customizable gizmo colors in editor settings
2017-08-26 00:47:28 -03:00
Andreas Haas 6134d8741d Editor: Add some more translatable strings. 2017-08-25 18:49:45 +02:00
Wilson E. Alvarez 1577f41653 Fixed several memory leaks 2017-08-25 08:47:05 -04:00