Commit graph

1442 commits

Author SHA1 Message Date
Paulb23
ca24310a13 Fixed help overview visibility, issue 12011 and 10407 2017-10-14 18:51:35 +01:00
Rémi Verschelde
688deaa1d0 Merge pull request #12059 from AntiSC2/master
Added error dialog when failing to export project
2017-10-14 11:08:55 +02:00
Daniel J. Ramirez
9001ba26aa Added and improved some missing icons, plus some other visual fixes. 2017-10-13 16:39:17 -05:00
Poommetee Ketson
98322a8876
EditorHelp: use '<' to show inheritance
...making it consistent with official docs
2017-10-13 20:02:48 +07:00
Cong
524ffc9712 Use "Command" for OSX in translation strings (#1619) 2017-10-13 20:12:58 +11:00
Jakob Sinclair
a5cabaeb8d Added error dialog when failing to export project
Fixes #11836

Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-13 00:40:19 +02:00
Daniel J. Ramirez
dbc37afcd9 Added and improved some icons, plus some other minor visual fixes. 2017-10-12 14:43:11 -05:00
vonzimr
b7b13d010b Add an option to clear recent scenes in the 'Open Recent' submenu 2017-10-12 10:59:57 -07:00
Hiroshi Ogawa
d777681882 Create ParticlesMaterialConversionPlugin and format generated shader code 2017-10-12 21:30:19 +09:00
Rémi Verschelde
064f2f4763 Merge pull request #12038 from Hinsbart/argument_names
Fix argument names in method bindings.

[ci skip]
2017-10-11 23:01:17 +02:00
Rémi Verschelde
0e8f0da2fd Merge pull request #12017 from jagt/fix_clear_recent_scripts_crash
fix script editor clear recent scripts crash
2017-10-11 22:42:16 +02:00
Rémi Verschelde
8ed5e64656 Merge pull request #11998 from DmitryKrutskikh/filter-input-events-in-project-manager-3-0
Skip unhandled input events on asset library tab. (3.0)

[ci skip]
2017-10-11 22:31:46 +02:00
Rémi Verschelde
490722c34f Merge pull request #11875 from endragor/fix-export-loop
Fix command-line export looping infinitely
2017-10-11 22:21:52 +02:00
Nathan Warden
cedd95ba85 Changed the export/dependencies dialog button names from "Cancel" to "Close" 2017-10-11 13:21:05 -05:00
Andreas Haas
d7b9847864
Fix argument names in method bindings.
Adds a couple of missing argument names.
2017-10-11 20:00:25 +02:00
jagt
21c2bf84e6 fix script editor clear recent scripts crash 2017-10-11 16:24:57 +08:00
DmitryKrutskikh
3df42cdefb Skip unhandled input events on asset library tab. 2017-10-10 18:23:11 +03:00
Suchaaver Chahal
e29931b22a change step to .01 for float 2017-10-09 22:34:29 -07: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
MillionOstrich
0939c0a9ce Add right click option to create folders. 2017-10-09 15:11:44 +01:00
MillionOstrich
40d1866b05 Rework DependencyRemoveDialog for deleting folders
DependencyRemoveDialog now takes two lists (files and folders) to delete.
Sort the folders above files in DependencyRemoveDialog & use some more icons.
Stop files which will be deleted from also being listed as having broken dependencies.
Add right-click option for removing folder to filesystem folder tree.
2017-10-09 15:10:40 +01:00
MillionOstrich
716e5b2943 Reworked rename & move for files & folders.
Move/rename don't depend on the path variable anymore.
Fixed dependencies not updating correctly when dragging folders in the folder tree.
Dependencies will only update for files which sucessfully moved.
Reduced code duplication between move & rename.
Added rename & move options to folders tree.
2017-10-09 15:07:36 +01:00
MillionOstrich
e1fb38e891 Can now right click folders in filesystem dock.
Disallow selecting ".." in the file-system dock.
Show In Explorer just uses this->path rather than trying to work it out from the item.
Add support for copy to path to folders .
Removed old commented out code.
2017-10-09 14:59:48 +01: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
Rémi Verschelde
11202b8e89 Merge pull request #11922 from Toizi/editor_double_escape
Fixed double escape for quotes in generated about files

[ci skip]
2017-10-09 15:05:30 +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
cb4830ef5e Merge pull request #11887 from Hinsbart/vs_crash_get_node
VisualScript: Fix crash with get_node().

[ci skip]
2017-10-09 12:47:23 +02: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
Rémi Verschelde
2e0c7bb22a Merge pull request #11718 from poke1024/retina
Fixes some retina problems on multi monitor setups
2017-10-09 11:04:46 +02:00
Paulb23
b07dfd75ea Consistant scroll when using members overview, issue 11648 2017-10-08 14:29:27 +01:00
Marius Guggenmos
1d380bf03d fixed double escape for quotes in editor/SCsub 2017-10-07 21:15:35 +02:00
Rémi Verschelde
84e7bbafb7 Merge pull request #11843 from hoelzl/pr-python3-build
Fix Python 3 build
2017-10-07 10:54:58 +02:00
Andreas Haas
dfb6602da0
VisualScript: Fix crash with get_node(). 2017-10-06 21:24:21 +02:00
Poommetee Ketson
59def13b74 EditorSettings: remove duplicate set_favorite_dirs 2017-10-06 20:22:05 +07:00
Andreas Haas
3926c9e893 Merge pull request #11814 from groud/fix_draw_pre_drag_rect
Fixes the Control pre-drag rect not drawn correctly
2017-10-06 13:20:37 +02:00
Ruslan Mustakov
0cd9993ed5 Fix command-line export looping infinitely
EditorProgress calls Main::iteration which calls MessageQueue::flush
which may result in _fs_changed being called again. This fixes the loop
Godot enters in such case.

Fixes #11189
2017-10-06 12:30:54 +07:00
Gilles Roudiere
a25d70ab31 Extends the anchors menu to a presets 2017-10-05 21:53:36 +02:00
Juan Linietsky
3d87b70f7a Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844 2017-10-05 15:34:34 -03:00
Bernhard Liebl
a7f18798aa fixes several scaling problems on multi monitor retina/non-retina setups on OS X 2017-10-05 08:12:17 +02:00
Gabriel
f931093812 Fix IK Bone Drag on Viewport 2017-10-04 21:58:13 -03:00
Matthias Hoelzl
727a381fc9 Fix Python 3 build
- Take care of the differences in handling unicode characters in
  `escape_string` (formerly in `editor/SCsub`, now in `compat.py)`.
- Conditionally include `_winreg` or `winreg` in the Mono editor
  module.
2017-10-04 23:21:32 +02: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
Juan Linietsky
3cadecf17b fixed the OS.has_feature() API, and added support for 32 and 64. 2017-10-03 17:36:14 -03: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
bb69855f1a VS now supports white themes. 2017-10-02 21:31:32 -05: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
toger5
975e18895a added spacing to tabs 2017-10-03 00:34:47 +02: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
de9cc6ed96 Merge pull request #11592 from SaracenOne/header_generator_fix
Python header generator now generates strings with escape characters.
2017-10-02 23:31:40 +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
Andreas Haas
359704bccf Merge pull request #11706 from toger5/create_node_preferred_logic
added smart searching with preferrence to root node
2017-10-02 22:49:28 +02:00
Poommetee Ketson
0ce4d82bbf
CurveEditor: fix can't edit right tangent 2017-10-03 03:48:11 +07:00
Andreas Haas
7cfbef91b3 Merge pull request #11747 from Noshyaar/pr-๑
EditorAudioBus: restore delete option on master bus
2017-10-02 22:36:10 +02:00
Andreas Haas
15dd5c2c60 Merge pull request #11767 from Noshyaar/pr-๒
3DEditorGizmo: fix spotlight and camera gizmo & handle
2017-10-02 22:23:09 +02:00
Poommetee Ketson
478fd21e07 Merge pull request #11575 from marcelofg55/move_path_to_trash
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
2017-10-02 23:52:09 +07:00
Poommetee Ketson
34ea271380 Merge pull request #11646 from djrm/pr_visual_improvements
Several visual improvements.
2017-10-02 23:49:44 +07:00
Poommetee Ketson
ef643690c3 Merge pull request #11661 from mhilbrunner/issue-11616-always-validate
Editor: Run validation on every text change, not only inserts
2017-10-02 23:48:02 +07:00
Poommetee Ketson
4b57e078ae Merge pull request #11674 from marcelofg55/master
Prevent a possible crash when exporting to MeshLibrary
2017-10-02 23:47:23 +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
Poommetee Ketson
520467376b 3DEditorGizmo: fix spotlight and camera gizmo & handle 2017-10-02 10:59:39 +07:00
Gilles Roudiere
6c25c42c77 Merge pull request #11755 from gabrielformiga/fix-draw-bones
Fix bone draw on viewport
2017-10-01 21:32:42 +02:00
Gilles Roudiere
6af38d119e Merge pull request #11399 from toger5/bottom_panel_debugger
Bottom panel debugger
2017-10-01 21:30:43 +02:00
Gabriel
24249a2c4d Fix bones draw on viewport 2017-10-01 16:00:44 -03:00
Poommetee Ketson
872dd67876 EditorAudioBus: restore delete option on master bus 2017-10-01 21:26:17 +07: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
Gilles Roudiere
854afba672 Merge pull request #11668 from scayze/open_empty_script_fix
fixed not beeing able to open empty scripts
2017-09-30 12:52:36 +02:00
Gilles Roudiere
e6dfce6b52 Merge pull request #11704 from Hinsbart/move_interface_properties
EditorSettings: Move interface/ properties to interface/editor
2017-09-30 12:38:59 +02:00
Juan Linietsky
f494470005 Restored ability to import OBJ files as meshes directly. Finally closes #9445. 2017-09-29 20:38:27 -03:00
mhilbrunner
cfd75f7a4e Editor: Run validation on every text change, not only inserts 2017-09-30 00:48:16 +02:00
toger5
3f423342f4 create dialog search preferrence fixes: #11697 2017-09-29 21:00:10 +02:00
Andreas Haas
20eb17a685
EditorSettings: Move interface/ properties to interface/editor
Fixes inconsistent behaviour where clicking on the "Interface"
in the Editor Settings wouldn't collapse the category as is the
case for all the other categories.
2017-09-29 18:52:56 +02:00
Marcelo Fernandez
da970c5c5f Prevent a possible crash when exporting to MeshLibrary 2017-09-28 22:08:13 -03:00
Scayze
296941f745 fix not beeing able to open empty scripts 2017-09-28 23:58:45 +02:00
toger5
541b0d0238 fixed help bg 2017-09-28 23:21:44 +02:00
Daniel J. Ramirez
15986ea343 Several visual improvements.
Added proper label sizing
Improved text editor status bar
Fixed some issues with ItemList and also some style fixes
Added background to color picker samples (the mrcdk fix)
Fixed slider ticks.
Added VS breakpoint and error styleboxes.
2017-09-28 15:00:43 -05:00
toger5
e8c620abac fixed bottom panel debugger exception
- make it work in combination with the border for tabs
 - fixed updating when changing theme
2017-09-28 16:52:34 +02:00
toger5
e49ac08c24 do not overlap current line with selection color 2017-09-28 16:12:12 +02:00
toger5
d9272bfdbf always use the adaptive code theme selection color in help since it wont changed based on the code theme anyways. 2017-09-28 14:17:35 +02:00
toger5
d58a159e38 keep font color on selection as default 2017-09-28 14:17:14 +02:00
Rémi Verschelde
da144fed4c Merge pull request #11617 from groud/fix_bad_display
Fixes bad display
2017-09-27 22:15:00 +02:00
Guilherme Felipe
bdd5361548 Fix remove icon in autoload panel 2017-09-27 10:08:28 -03:00
Gilles Roudiere
6f185cc9f7 Remove unecessary anchors&margins set causing bad display (sons of containers) 2017-09-27 00:38:28 +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
volzhs
3e0d18b9c0 Update theme property respectively 2017-09-26 20:08:25 +09:00
Rémi Verschelde
da03791e45 Merge pull request #11598 from djrm/pr_fix_code_editor_close
Fix missing code editor find and replace missing hover icon.

[ci skip]
2017-09-26 08:03: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
541c4bfd6e Fix missing code editor find and replace missing hover icon. 2017-09-25 23:40:22 -05: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
Marcelo Fernandez
20918587d3 FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash 2017-09-25 21:49:01 -03:00
Saracen
07ccfa6a07 Python header generator now generates strings with escape characters. 2017-09-26 00:48:17 +01: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
Rémi Verschelde
2526456807 Merge pull request #11564 from djrm/pr_editor_settings_undo
Added the ability to revert to initial value in editor settings.
2017-09-25 23:02:50 +02:00
Rémi Verschelde
78aa7b382a Merge pull request #11567 from QuLogic/scons-var-types
Add types to scons command-line options
2017-09-25 22:44:05 +02:00
Rémi Verschelde
5195935156 Merge pull request #11569 from djrm/pr_audio_buses_fixes
Improved audio buses editor
2017-09-25 22:33:56 +02:00
Rémi Verschelde
8fe8e730a0 Merge pull request #11576 from volzhs/output-console
Add font size setting for output panel
2017-09-25 22:26:25 +02:00
Rémi Verschelde
dae02a9041 Merge pull request #11580 from endragor/ios-export
Enhance iOS export
2017-09-25 22:23:49 +02:00
Elliott Sales de Andrade
ffab67b8da Use BoolVariable in target/component/advanced options. 2017-09-25 14:36:02 -04:00
Ruslan Mustakov
f5b3b24c22 Enhance iOS export
- The export process now builds complete .ipa on macOS, instead of just
   creating XCode project.

 - The project includes Capabilities games usually require: Game Center,
   Push Notifications, In-App Purchase.

 - Icons and launch screens can be specified in export preset.
2017-09-26 00:18:08 +07:00
Poommetee Ketson
dcc759fbbc 2DEditor: fix duplicated 'id_pressed' connection 2017-09-25 23:15:54 +07:00
volzhs
79e506ff52 Add font size setting for output panel 2017-09-25 23:43:35 +09:00
Rémi Verschelde
af053ecf4d Merge pull request #11570 from djrm/pr_fix_tooltip
Fixed tooltip font color
2017-09-25 09:47:20 +02:00
Daniel J. Ramirez
ee9f8ec1d6 Fixed tooltip font color 2017-09-25 02:23:41 -05:00
Daniel J. Ramirez
0f5f916bf0 Improved audio buses editor 2017-09-25 01:48:57 -05:00
Rémi Verschelde
14b4ad931f Merge pull request #10796 from djrm/pr_better_project_creation
Improved New Project and Import project experience
2017-09-25 07:36:32 +02:00
Daniel J. Ramirez
5676c42ae0 Added the ability to revert to initial value in editor settings. 2017-09-24 22:29:59 -05:00
Marcelo Fernandez
6f1ac101b8 Bucket fill will now incrementally process the queue on preview mode 2017-09-24 10:35:55 -03:00
Daniel J. Ramirez
de3018703f Improved New Project and Import project experience 2017-09-23 22:50:37 -05: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
Marc Gilleron
b7bc339011 Allow to set a custom DynamicFont in editor settings 2017-09-23 16:17:44 +02:00
Daniel J. Ramirez
f0f9ebf43c Updated key icons
[ciskip]
2017-09-22 23:35:24 -05:00
Daniel J. Ramirez
56edf1f9c6 Use an arrow instead of 3 dots in trees 2017-09-22 18:16:58 -05: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
Rémi Verschelde
b8d7dd22e8 Merge pull request #11487 from groud/viewport_base_clip
Fixes the rulers text drawn outside the viewport_base

[ci skip]
2017-09-22 09:20:52 +02:00
Rémi Verschelde
a0d843910f Merge pull request #11486 from kubecz3k/freelook-calibration
freelook_base_speed calibration

[ci skip]
2017-09-22 09:20:26 +02:00
Gilles Roudiere
56a80625e5 Fixes the rulers text drawn outside the viewport_base 2017-09-22 09:18:04 +02:00
Unknown
9b50155009 freelook_base_speed calibration
freelook_base_speed changed from 0.5 to 0.1
Also precision changed from 0.1 to 0.01 so it's possible to set values lower than 0.1
2017-09-22 09:09:23 +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
Unknown
267c942121 rotation orbit modifier defaults to none 2017-09-21 17:45:42 +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
34c4c8046c Merge pull request #11221 from toger5/editor_spacing
added editor spacing
2017-09-21 10:25:40 +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
Rémi Verschelde
601564e9a9 Merge pull request #11446 from marcelofg55/ciep_null_checks
Add missing NULL checks on CanvasItemEditor

[ci skip]
2017-09-21 10:02:20 +02:00
Leon Krause
0899b5029c Correct spelling SEPERATE -> SEPARATE to fix build 2017-09-21 03:29:26 +02:00
Daniel J. Ramirez
00755ff2c0 Visual tweaks.
Updated icons
Updated some color
2017-09-20 19:29:52 -05:00
Juan Linietsky
423ca9bcaf Fix import order, so scenes are imported after textures.
Also fix bugs when meshes are always generated.
2017-09-20 21:04:20 -03: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
Rémi Verschelde
ecd226c6a7 Merge pull request #11422 from poke1024/fixsourcefontsize2
Better script code font size rescaling on retina displays
2017-09-20 09:32:49 +02:00
volzhs
cd81ef4d38 Show button name always in main toolbar 2017-09-20 16:03:52 +09:00
SaracenOne
2e22c07f42 Added snapping to spatial drag and drop. 2017-09-20 01:54:01 +01:00
Rémi Verschelde
cd2ffdc672 Merge pull request #11309 from djrm/pr_hack_font
Changed Mononoki font to Hack font
2017-09-20 01:30:16 +02:00
Rémi Verschelde
752a116847 Merge pull request #11256 from djrm/pr_visual_improvements
Visual improvements and new look for VS
2017-09-19 23:44:09 +02:00
Rémi Verschelde
dc7b3c309a Merge pull request #11310 from djrm/pr_mono_font_in_log
Use code font in editor log
2017-09-19 23:38:37 +02: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
865be2768b Merge pull request #11378 from Faless/ipv6_no_linklocal
Do not allow link-local addresses to be used by editor debugger
2017-09-19 23:37:21 +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
Rémi Verschelde
2785444f89 Merge pull request #10437 from groud/2d_editor_enhancements
Some 2d editor enhancements
2017-09-19 23:24:17 +02:00
poke1024
d2536a0cf1 better script code font size rescaling on retina displays 2017-09-19 19:51:38 +02:00
Indah Sylvia
13b630eb0c Fixed Typo: 'Seperate' to 'Separate' 2017-09-19 15:51:00 +07: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
toger5
8f460bb73d added editor spacing 2017-09-19 00:37:54 +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
Rémi Verschelde
cc161dcd6f Merge pull request #11021 from tuga3d/autocomplete-logic-attempt2
autocomplete logic attempt 2, fixes #10695
2017-09-18 08:58:18 +02:00
Daniel J. Ramirez
4d14097439 Fixed metrics. 2017-09-17 18:58:36 -05:00
Fabio Alessandrelli
72b4a09a14 Do not allow link-local addresses to be used by editor debugger
Default editor debugger address is now 127.0.0.1
2017-09-18 00:48:16 +02: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
Rémi Verschelde
bc005a57d3 Merge pull request #11220 from toger5/bottom_panel_debugger_tabs_fix
made tabs visible in debugger fixes: #11212
2017-09-17 23:06:38 +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
73b8e5acab Merge pull request #11362 from marcelofg55/fix_x11_export
Fix x11 exported executables not getting the +x flag
2017-09-17 22:40:54 +02:00
Rémi Verschelde
65ef19abe3 Merge pull request #11360 from volzhs/fix-animation-editor-error
Fix set_item_icon error when starting editor
2017-09-17 22:40:31 +02:00
Daniel J. Ramirez
52c0550dd7 Changed Mononoki font to Hack font 2017-09-17 13:55:48 -05:00
Marcelo Fernandez
3528b1e571 Fix x11 exported executables not getting the +x flag 2017-09-17 14:40:58 -03: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
volzhs
357b9602b4 Fix set_item_icon error when starting editor 2017-09-18 00:41:08 +09: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
Rémi Verschelde
a29559bc0e Merge pull request #11075 from ISylvox/fix-main-scene-state
Fixes Tab Switching of Main Scene State. Closes #11045
2017-09-17 12:43:01 +02:00
Rémi Verschelde
3e66cd9b68 Merge pull request #10998 from MillionOstrich/custom-types-fix-icons
Fix icons for custom types in the recent & favorites lists in the create dialog
2017-09-17 12:42:08 +02:00
Rémi Verschelde
c24ca2c7a8 Merge pull request #10900 from toger5/theme_tab_border
Added border for tabs + container.
2017-09-17 12:41:36 +02:00
Rémi Verschelde
c47538d5bb Merge pull request #11323 from Paulb23/quick_open_not_showing_issue_11277
Fixed quick open not showing entries with no search text, issue 11277
2017-09-17 11:30:11 +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
cbcf255764 Merge pull request #11287 from sersoong/master
fix editor/property_editor.cpp missing TTR
2017-09-17 08:46:14 +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
Rémi Verschelde
1679baf833 Merge pull request #11265 from hoelzl/fix-python3-build
Fix errors in Python 3 build

[ci skip]
2017-09-16 20:12:06 +02:00
Rémi Verschelde
2d4f6ef0bf Apply clang-format again to recent changes
Also add missing copyright headers.

[ci skip]
2017-09-16 19:48:45 +02:00
Rémi Verschelde
27cd90f2b0 Merge pull request #11283 from volzhs/fix-icon_map-error
Fix !icon_map.has(p_type) error
2017-09-16 19:19:51 +02: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
Paulb23
afb1dd1e4c Fixed quick open not showing enties with no search text, issue 11277 2017-09-16 13:14:22 +00:00
Ignacio Etcheverry
61e9623ced Merge pull request #11319 from neikeq/docdata-enum-proxy
DocData: Fix enums for proxy classes
2017-09-16 12:54:53 +02:00
Ignacio Etcheverry
7e2c337162 DocData: Fix enums for proxy classes 2017-09-16 12:50:07 +02:00
Matthias Hoelzl
f3745a23be Fix errors in Python 3 build 2017-09-16 04:18:14 +02:00
Daniel J. Ramirez
059d007423 Use code font in editor log 2017-09-15 20:07:04 -05:00
Daniel J. Ramirez
ba11dc3f48 Added adaptive text editor theme, this includes the shader editor 2017-09-15 16:08:22 -05:00
Juan Linietsky
25f742cc3d Added type on export file callback, and initial export function. 2017-09-15 13:45:03 -03:00
Thomas Herzog
7dffed485b Merge pull request #11230 from maxim-sheronov/fix_enum_bindings
Fix enums bindings
2017-09-15 08:43:35 +02:00
sersoong
433da3ef23 fix editor/property_editor.cpp missing TTR 2017-09-15 10:36:48 +08:00
volzhs
f1176e2a93 Fix !icon_map.has(p_type) error
"ResizedFolder" "ResizedFile" icons are removed from 15904d6
2017-09-15 10:53:49 +09:00
toger5
10c400c456 Added border for tabs + container.
- moved tabConetent position to be more reasonable.
 - fixed drawing order to allow those kind of styles.
2017-09-15 00:50:34 +02:00
Juan Linietsky
d3c1f2a7f6 Re-Added export plugins with a more interesting API, as well as the ability to do path remapping.
Also added ability to tell the exporter that a shared object needs to be bundled in the build.
2017-09-14 19:41:14 -03:00
toger5
b37e869c89 fixed double border for debugger tab panel 2017-09-15 00:29:31 +02:00
Wilson E. Alvarez
072e379ffe Renamed function arguments to keep them consistent between declaration and implementation 2017-09-14 13:49:15 -04:00
Daniel J. Ramirez
74d028729f Improved VisualScriptEditor 2017-09-14 12:45:42 -05:00
Daniel J. Ramirez
4cc4f5cc5d Fix non flat favorite icons 2017-09-14 11:21:56 -05:00
Daniel J. Ramirez
d31215e4cd Match status icons colors with the theme status colors. 2017-09-14 11:21:56 -05:00
Daniel J. Ramirez
04291c1e77 Updated icons 2017-09-14 11:21:56 -05:00
poke1024
d9b68c5f5d adds display of old bounding box as suggested by Zephilinox in issue #10936 2017-09-14 17:46:24 +02:00
Indah Sylvia
3aa7ea3bfc Fixed typo in editor_node.cpp: 'my' to 'may' 2017-09-14 21:30:16 +07:00
Juan Linietsky
7e3c5043c1 Warn the user that changes to resources will be lost when editing imported or instanced resources from scenes. 2017-09-14 10:39:47 -03: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
Hein-Pieter van Braam
bdb07fcf4d Merge pull request #11031 from nabor/rename-dialog
Added support to rename projects on manager
2017-09-14 09:01:29 +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
Daniel J. Ramirez
b17c801ee8 Changed source font to Mononoki. 2017-09-14 01:13:30 -05:00
Indah Sylvia
9e204658ff Fixed Tab Switching of Main Scene State. Closes #11045 2017-09-14 12:53:57 +07: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
Nabor Erices
b79ec86b64 Deleted unnecessary print 2017-09-13 18:43:37 -03:00
Daniel J. Ramirez
7a362afb88 More consistent script color temperatures. 2017-09-13 14:07:05 -05:00
Rémi Verschelde
8a6b023cb3 Merge pull request #11200 from SaracenOne/filesystem_tooltip_fix
Added missing file system display toggle button.
2017-09-13 20:20:48 +02:00
Rémi Verschelde
22d9e56c71 Merge pull request #11199 from SaracenOne/filesystem_dirs
Add option to always show directories in filesystem dock
2017-09-13 20:20:35 +02:00
Rémi Verschelde
57a5548965 Merge pull request #11191 from toger5/slider_highlight_area
added highlight area to slider
2017-09-13 20:09:28 +02:00
Maxim Sheronov
0fffa45158 Fix enums bindings
Add missed bindings for enums
Move some enums to class to have correct output of api.json
2017-09-13 20:57:07 +03: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
095ff6dda8 Merge pull request #11063 from toger5/svg_generation_optimization
optimized color conversion for svg generation
2017-09-13 19:27:21 +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
Hein-Pieter van Braam
d6b392825f Merge pull request #11061 from marcelofg55/dump_backtrace
Add a segfault handler to dump the backtrace on Windows, Linux and OS X
2017-09-13 18:05:31 +02:00
Hein-Pieter van Braam
4140e5261c Merge pull request #11207 from toger5/fixed_margin_for_theme
fixed margin beeing squared
2017-09-13 17:32:34 +02:00
Gilles Roudiere
b8ad46d383 Merge pull request #11210 from toger5/fix_little_border_for_vieport
fixed border on the right of viewport
2017-09-13 17:00:12 +02:00
toger5
c40fb45e59 fixed border on the right of viewport 2017-09-13 15:36:05 +02:00
Marcelo Fernandez
83fe937362 Added a crash handler to dump the backtrace on Windows, Linux and OS X 2017-09-13 10:07:23 -03:00
Rémi Verschelde
e73e00d369 Style: Apply clang-format to @reduz's changes
[ci skip]
2017-09-13 09:13:34 +02:00
toger5
4ccf3bb2ed made tabs visible in debugger fixes: #11212
- the stylebox is changed so the top part is transparent when the
   debugger is selected
2017-09-13 02:37:33 +02:00
Juan Linietsky
5cb90ad67e When method or property has no description, a link asks you to create it 2017-09-12 19:16:59 -03:00
toger5
3ee0086f2d fixed margin beeing squared 2017-09-12 23:46:23 +02:00
toger5
ee5dc05a09 optimized color conversion for svg generation 2017-09-12 23:33:51 +02:00
Rémi Verschelde
4e392517da DocData: Drop unused brief description for properties 2017-09-12 23:31:27 +02:00
toger5
c2c8aac9a3 added highlight area to slider 2017-09-12 22:55:23 +02:00
Juan Linietsky
4f929a0fdf Changed the doc class generation to individual files per class. It is also possible to save module files in module directories and the build system will
recognize them.
2017-09-12 17:45:41 -03:00
Rémi Verschelde
175777596e Merge pull request #11204 from djrm/pr_fix_fs_icons
Fixed file system dialog icons

[ci skip]
2017-09-12 22:24:57 +02:00
Daniel J. Ramirez
15904d66b4 Fixed file system dialog icons 2017-09-12 14:32:04 -05:00
Hein-Pieter van Braam
7f40734a1c Merge pull request #10568 from marcelofg55/surround_fixes
Fixed issues with surround sound on audio server
2017-09-12 20:59:35 +02:00
Daniel J. Ramirez
57fff67580 Fixed some inconsistent styles, plus some cleanup 2017-09-12 13:16:47 -05:00
Daniel J. Ramirez
60f054d3ac Improved VS node coloring 2017-09-12 13:16:47 -05:00
Daniel J. Ramirez
3a05bdbaab Improved alternative size thumbnail generation 2017-09-12 13:16:47 -05:00
Daniel J. Ramirez
1e8048dd45 Improved theme generation, and other fixes 2017-09-12 13:16:38 -05:00
Marcelo Fernandez
730d36f350 Fixed issues with surround sound on audio server 2017-09-12 15:13:28 -03:00
SaracenOne
cc6dce375f Added missing file system display toggle button. 2017-09-12 18:30:16 +01:00
SaracenOne
7b5a1f6481 Add option to always show directories in filesystem dock 2017-09-12 18:23:16 +01:00
Hein-Pieter van Braam
2648e50779 Merge pull request #11066 from SaracenOne/animation_external_resources
Allow animations to be saved to external files during scene import.
2017-09-12 14:28:48 +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
98a36c67f4 Merge pull request #11000 from Kibouo/iss10842
Fixes the deletion of an export preset's name when deleting the preset above it.
2017-09-12 13:10:00 +02:00
Juan Linietsky
1c5376ae59 Many fixes to visual script, changed virtuals override for a proper selector. 2017-09-12 07:58:54 -03: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
0f006994d8 Merge pull request #11007 from saltares/issue-9988
Renames _add_child_below_node() to add_child_below_node(). Fixes #9988.
2017-09-12 12:04:03 +02:00
Rémi Verschelde
ee581e1fed Merge pull request #11052 from djrm/pr_missing_icons
Added some missing icons
2017-09-12 11:59:39 +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
Rémi Verschelde
84ccda4e1d Merge pull request #11058 from hpvb/fix-11043
Don't set editor_hint true for project manager
2017-09-12 11:41:44 +02:00
Rémi Verschelde
2b50dc5d4f Merge pull request #11057 from hpvb/fix-various-warnings
Fix various assorted warnings
2017-09-12 11:39:47 +02:00
Rémi Verschelde
c5b4f3085f Merge pull request #11032 from marcelofg55/master
Added an option to reset the bus volume to 0db
2017-09-12 11:19:11 +02:00
Rémi Verschelde
3941e01a57 Merge pull request #11041 from hpvb/fix-clang-format-error
Fix serveral recent new clang-format errors

[ci skip]
2017-09-12 11:16:36 +02:00
Mihaly Csonka
1a7c43e1a1 Fixed clearing of an export preset's name when deleting the one above it.
Deleting an export preset cleared the name of the item below it. This was
caused by ProjectExportDialog::_edit_preset(-1) which sets the deleted preset's
data to empty values. This on its turn called
ProjectExportDialog::_name_changed() which operates on the new current preset
(the one under the deleted item).

Fixes issue #10842
2017-09-12 04:30:47 +02:00
Poommetee Ketson
d0a6ac0c1d Merge pull request #11138 from NathanWarden/change_cancel_to_done
Changed the text from "Cancel" to "Done" in the "Fix Dependencies" dialog.
2017-09-12 05:27:25 +07:00
Poommetee Ketson
8e82bf42a8 Merge pull request #11163 from marcelofg55/project_grayed
Not found projects are grayed instead of removed at the Project Manager
2017-09-12 04:23:33 +07:00
toger5
226f2ae2f2 fix always updating +removed print +use EDITOR_DEF 2017-09-11 22:54:49 +02:00
Bojidar Marinov
ebee9898ca
Fix duplication of nodes resulting in shared metadata
Fixes #9547
2017-09-11 12:34:36 +03:00
SaracenOne
f95edd3be9 Allow animations to be saved to external files during scene import. 2017-09-11 06:59:03 +01:00
Marcelo Fernandez
dcdcf358db Not found projects are grayed instead of removed at the Project Manager 2017-09-11 02:01:20 -03:00
Hein-Pieter van Braam
390a2025fe Don't set editor_hint true for project manager
Due to this setting several callbacks get initialized but never used.
For instance void discoverer_callback(). This callback only initializes
the GDNativeSingletonDiscover *discoverer when called. This doesn't
happen in project manager and this in turn causes a call to
memdelete(NULL) which is invalid. This also seems to speed up startup a
little.

This fixes #11043 and fixes #10992
2017-09-10 23:59:22 +02:00
Nathan Warden
db3776e1fd Changed the text from "Cancel" to "Done" in the "Fix Dependencies" dialog. 2017-09-09 22:00:57 -05:00
toger5
e835d80a3f update icons for animation_player_plugin (top bar) 2017-09-09 04:19:43 +02:00
toger5
a6e03b4aed update for icons on theme change animation editor 2017-09-09 03:47:58 +02:00
toger5
f604cff8a7 removed hardcoded colors in animation editor 2017-09-09 03:32:06 +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
Hein-Pieter van Braam
5e18967d77 Fix serveral recent new clang-format errors 2017-09-08 00:20:16 +02:00
Daniel J. Ramirez
c0a971468e Added some missing icons 2017-09-07 13:22:41 -05: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
Marcelo Fernandez
ff285bcee2 Added an option to reset the bus volume to 0db 2017-09-06 21:11:31 -03:00
Nabor Erices
1c8cc1ab50 Added support to rename projects on manager 2017-09-06 21:10:30 -03:00
volzhs
41cc85fb20 Fit script editor grid with others 2017-09-07 06:25:57 +09:00
Juan Linietsky
c771e03ee2 -Fixed changes to default input actions not working, closes #10502
-Added Array.duplicate() method, needed to fix above
2017-09-06 18:14:04 -03:00
Paulo Gomes
9b72f08042 second take at autocomplete logic, using a TextOperation check. 2017-09-06 19:23:09 +01:00
Rémi Verschelde
0b8fa1e010 Remove dead ButtonGroup code 2017-09-06 14:41:34 +02:00
Juan Linietsky
f5c5d07f9c Added a warning for when a PC compression is not found for the project, closes #10626 2017-09-05 20:17:26 -03:00
David Saltares
0549484c77 Renames _add_child_below_node() to add_child_below_node(). Closes #9988. 2017-09-05 22:43:28 +01:00
MillionOstrich
672a6c9680 Fix icons for custom types in the recent & favorites lists in the create dialog. 2017-09-05 14:39:44 +01:00
toger5
18917ad1d6 fixed log colors 2017-09-05 01:10:04 +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
4405de570d Merge pull request #10874 from Noshyaar/pr-action
ProjectSettings: enhance add action error, fix confirm dialog
2017-09-04 23:30:45 +02:00
Rémi Verschelde
431de234e4 Merge pull request #10899 from toger5/theme_fixes_from_light
Theme fixes from light
2017-09-04 23:14:18 +02:00
Rémi Verschelde
c9593a285b Merge pull request #10902 from toger5/rtl_copy_and_selection_color
fixed copy on osx + help selection color
2017-09-04 23:11:12 +02: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
Juan Linietsky
334a81844e Improve guessing of what editor to switch to, fixes #10405 2017-09-04 18:00:52 -03: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
toger5
07d5911c40 fixed copy on osx + help selection color 2017-09-04 18:57:52 +02:00
toger5
2083263e4f changed tree font color to be more saturated 2017-09-04 18:06:41 +02:00
toger5
45d57ccf28 fixed hover line for menu button 2017-09-04 18:06:13 +02:00
toger5
e85f025771 Fixed theme (chagnes introduced in light theme)
- adapted contrast color intensity (to make buttons less bright)
 - added missing border for lineEdit
 - removed unnecassary code for option button
2017-09-04 18:06:13 +02:00
Poommetee Ketson
391399dcd0 EditorAbout: fix names being selectable 2017-09-04 20:07:33 +07: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
Poommetee Ketson
3d13b9ff5f ProjectSettings: enhance add action error, fix confirm dialog
- Disable add action button if name is invalid
- Fix dialog being ConfirmationDialog instead of AcceptDialog
2017-09-04 14:00:53 +07: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
0f5e575d60 Merge pull request #10933 from Noshyaar/pr-donor
EditorAbout: add donors tab
2017-09-04 08:11:26 +02:00
Rémi Verschelde
df11de72c9 Merge pull request #10932 from djrm/pr_fix_metrics
Fixed some metrics (some issues caused by the new Noto Sans font).
2017-09-04 08:10:04 +02:00
Rémi Verschelde
8ebe6d8370 Merge pull request #10925 from scayze/search_binding
Searchable Key-Bindings in editor
2017-09-04 08:08:32 +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
Rémi Verschelde
7149be5b89 Merge pull request #10892 from kubecz3k/quick_open
Improve 'quick open' search time
2017-09-04 07:59:28 +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
Poommetee Ketson
345dfd4504 EditorAbout: add donors tab 2017-09-04 00:39:57 +07:00
Scayze
45b6121f6a Searchable Key-Bindings in editor 2017-09-03 17:08:36 +02:00
Juan Linietsky
281fb4e4fb Added transmission shader parameter. 2017-09-03 10:30:37 -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
Daniel J. Ramirez
e298f931a6 Fixed some metrics (some issues caused by the new Noto Sans font).
plus other minor fixes
2017-09-03 01:49:31 -05:00