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
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
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
Przemysław Gołąb (n-pigeon)
a6ff281966
Fixed rotating in local space using 3D Gizmo.
2017-10-04 23:18:31 +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
AndreaCatania
4537977d6d
Renamed fixed_process to physics_process
2017-09-30 16:19:07 +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
Daniel J. Ramirez
e2861a3b7c
Removed transparency from spatial editor grid.
2017-09-25 21:45:53 -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
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
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
2f82da7f72
Merge pull request #11222 from toger5/spatial_scrolling
...
Spatial scrolling update + better default inertia values
2017-09-21 10:35:25 +02: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
01e4d2672c
Merge pull request #11327 from SaracenOne/drag_meshes
...
Drag and drop for meshes directly.
2017-09-19 23:38:10 +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
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
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
toger5
1d6f19f3a2
swapped up down shortcut for freelook (to fit unreal)
2017-09-14 01:36:42 +02: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
91a85d8805
Merge pull request #11047 from toger5/interpolation_chnage
...
Modify inertia implementation for freelook and orbit
2017-09-12 14:06:04 +02:00
toger5
226f2ae2f2
fix always updating +removed print +use EDITOR_DEF
2017-09-11 22:54:49 +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
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
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
SaracenOne
d3cb8d12ff
Added support for drag and drop in spatial editor.
2017-09-03 05:00:23 +01: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
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
Rémi Verschelde
f00760b22c
Merge pull request #10382 from toger5/dark_icons
...
Light Theme
2017-08-31 11:47:18 +02:00
toger5
7793bfc544
added icon updating to most ui elements
2017-08-30 21:47:09 +02: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
7e8a7dea2e
Merge pull request #10667 from Zylann/freelook_inertia
...
Added freelook inertia
2017-08-28 00:06:25 +02:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02: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
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
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
Hein-Pieter van Braam
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