Commit Graph

94 Commits

Author SHA1 Message Date
5cd68abf88 Merge pull request #11478 from n-pigeon/scale_gizmo
Scale editing Gizmo for Spatial Editor
2017-10-03 00:03:01 +02:00
4537977d6d Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
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
e2861a3b7c Removed transparency from spatial editor grid. 2017-09-25 21:45:53 -05:00
f577efd47e Merge pull request #11424 from groud/control_node_presets
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
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
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
2f82da7f72 Merge pull request #11222 from toger5/spatial_scrolling
Spatial scrolling update + better default inertia values
2017-09-21 10:35:25 +02:00
3cecd0c6dc Box selection for MeshInstances and subscene nodes. 2017-09-20 14:04:18 +01:00
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
01e4d2672c Merge pull request #11327 from SaracenOne/drag_meshes
Drag and drop for meshes directly.
2017-09-19 23:38:10 +02:00
f328a356ae settings 'editors/3d' organized, sorted, new_defaults 2017-09-19 02:44:26 +02:00
117eb16adb update inertia/freelook settings values + renamed free_orbit... to
oribit...
2017-09-19 02:34:44 +02:00
1a8a80368e added precision scrolling to spatial editor zoom 2017-09-19 02:34:04 +02:00
81245a634b zoom inertia uses its own setting (not the same then translation) 2017-09-19 01:30:14 +02:00
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
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
ac9c400adc Compile fix for clang error on spatial_editor_plugin.cpp 2017-09-16 19:16:40 -03:00
82f9836a1c forgot to set proper default values for new camera interpolation 2017-09-16 12:14:12 -03:00
844c5e12e6 Fixed to InputDefault, button mask was wrong. Fixes to editor camera interpolation. 2017-09-16 12:12:41 -03:00
1d6f19f3a2 swapped up down shortcut for freelook (to fit unreal) 2017-09-14 01:36:42 +02:00
97a2ed6fa6 Merge pull request #11081 from djrm/pr_better_3d_grid
Better looking spatial editor grid
2017-09-13 19:30:47 +02:00
91a85d8805 Merge pull request #11047 from toger5/interpolation_chnage
Modify inertia implementation for freelook and orbit
2017-09-12 14:06:04 +02:00
226f2ae2f2 fix always updating +removed print +use EDITOR_DEF 2017-09-11 22:54:49 +02:00
f8dad1e61b Better looking spatial editor grid 2017-09-08 18:49:30 -05:00
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
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
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
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
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
d3cb8d12ff Added support for drag and drop in spatial editor. 2017-09-03 05:00:23 +01:00
dac150108a Merge pull request #10846 from hpvb/fix-sign-compare
Fix signed and unsigned comparisons
2017-09-01 21:52:55 +02:00
8f30c52a37 Removed ontop property, added a material rendering priority system. Fixes #9935, closes #10135 2017-09-01 13:01:08 -03:00
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
f00760b22c Merge pull request #10382 from toger5/dark_icons
Light Theme
2017-08-31 11:47:18 +02:00
7793bfc544 added icon updating to most ui elements 2017-08-30 21:47:09 +02:00
78c3cf6e68 Better spatial gizmo.
Now it is posible to move spatial nodes along a plane.
2017-08-28 20:39:45 -05:00
7e8a7dea2e Merge pull request #10667 from Zylann/freelook_inertia
Added freelook inertia
2017-08-28 00:06:25 +02:00
7ad14e7a3e Dead code tells no tales 2017-08-27 22:13:45 +02:00
bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
28e1c88f6e Added freelook inertia 2017-08-27 02:21:26 +02:00
fbfed97a1b Changed camera interpolation to work when LMB is pressed and no modifiers are pressed 2017-08-26 09:10:57 -03:00
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
6134d8741d Editor: Add some more translatable strings. 2017-08-25 18:49:45 +02:00
cacced7e50 Convert Object::cast_to() to the static version
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.

This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.

It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
d9d9571c8c Fix the order of transformations for selection bounding box in spatial editor.
This was broken in #7438 where the ordering of scaling in Basis::scale() was fixed, but this line of code (which relied on the incorrect behavior) wasn't updated correctly.

Fixes #9894.
2017-08-22 20:05:41 -04:00
541fdffc0a Merge pull request #10319 from neikeq/pr-engine-editor-hint
Adds Engine::is_editor_hint() method
2017-08-20 12:55:46 -03:00
a88c759ff1 Added option for mouse orbit sensitivity 2017-08-19 21:57:43 +02:00
90b8a5b71e Removes editor_hint from SceneTree 2017-08-19 01:29:45 +02:00
b1ecaaa22b Merge pull request #10307 from Rubonnek/update-argument-names
Updated function argument names
2017-08-16 17:17:56 +02:00