Juan Linietsky
dd3682e5fe
Modernized default 3D material, fixes material bugs.
2020-02-11 12:01:24 +01:00
Juan Linietsky
6deffa62fb
Several fixes to 3D rendering, and multimesh implementation.
2020-02-11 12:01:22 +01:00
Juan Linietsky
2d6a916835
Environment sky more or less working.
2020-02-11 12:01:05 +01:00
Juan Linietsky
449df8f688
Base 3D engine done, still untested, though.
2020-02-11 11:59:25 +01:00
Juan Linietsky
50e9befb88
Changes to material required to add custom shaders in RD renderer
2020-02-11 11:53:28 +01:00
Juan Linietsky
e1b3444415
Bugfixes and ability to better specify filter and repeat modes everywhere.
...
Removes antialiased flag for draw_* methods.
2020-02-11 11:53:28 +01:00
Juan Linietsky
3f335ce3d4
Texture refactor
...
-Texture renamed to Texture2D
-TextureLayered as base now inherits 2Darray, cubemap and cubemap array
-Removed all references to flags in textures (they will go in the shader)
-Texture3D gone for now (will come back later done properly)
-Create base rasterizer for RenderDevice, RasterizerRD
2020-02-11 11:53:26 +01:00
Rémi Verschelde
12244c46ae
Merge pull request #36086 from KoBeWi/TOOL_MOVE_move
...
Allow to use arrow keys with TOOL_MOVE
2020-02-11 09:21:10 +01:00
Tomasz Chabora
cfa9060f8b
Fix selectable locked items
2020-02-11 00:01:10 +01:00
Tomasz Chabora
18918b4efa
Allow to use arrow keys with TOOL_MOVE
2020-02-10 21:39:05 +01:00
Rémi Verschelde
78074fed8d
Merge pull request #36085 from YeldhamDev/rip_animationtreeplayer_press_f
...
Remove AnimationTreePlayer node
2020-02-10 21:12:10 +01:00
Michael Alexsander
021fdb1b58
Remove AnimationTreePlayer node
2020-02-10 16:25:50 -03:00
Gilles Roudière
b66d45d986
Fixes a crash in the 2D editor
2020-02-10 18:27:13 +01:00
Andrea Catania
e6be3f68da
- Integrated NavigationServer and Navigation2DServer.
...
- Added Navigation Agents and Obstacles.
- Integrated Collision Avoidance.
This work has been kindly sponsored by IMVU.
2020-02-10 14:38:52 +01:00
Rémi Verschelde
8cd5102c65
Merge pull request #35704 from KoBeWi/free_the_nodes
...
Include locked nodes on selection list
2020-02-10 14:29:21 +01:00
Tomasz Chabora
de77bda605
Include locked nodes on selection list
2020-02-10 13:59:24 +01:00
Rémi Verschelde
50e940129a
Merge pull request #33815 from Calinou/assetlib-focus-search-shortcut
...
Make Ctrl+F focus the editor asset library's search field
2020-02-10 11:34:47 +01:00
Rémi Verschelde
37432587f9
Merge pull request #35787 from Calinou/editor-expose-create-single-convex-shape
...
Re-add a way to generate a single convex shape from the editor
2020-02-10 10:49:05 +01:00
Rémi Verschelde
0b9f0cd412
Merge pull request #36054 from Calinou/rebind-tilemap-editor-select-pick-tile
...
Change the Pick Tile and Select default shortcuts in the TileMap editor
2020-02-10 10:36:43 +01:00
Aaron Franke
ef9b4ee2e2
Fix 2D CollisionShape controls pointing the wrong way
...
They now point down, matching Godot's 2D coordinate system.
2020-02-09 17:37:30 -05:00
Rémi Verschelde
8cb2de5243
Merge pull request #33451 from MCrafterzz/movementHandle
...
Added movement handles to 2D
2020-02-09 22:19:32 +01:00
Rémi Verschelde
9f9d6c6cc1
Merge pull request #35656 from ericrybick/35460-fix2
...
Use a new approach to fix bone pose override not being reset when IK animation is stopped.
2020-02-09 22:14:31 +01:00
Eric Rybicki
bb0358dd8d
Use a new approach to fix bone pose override not being reset when IK animation is stopped.
...
This reverts PR #35460 & commit 551c37167b
.
2020-02-09 19:50:13 +01:00
Hugo Locurcio
88213b54ba
Change the Pick Tile and Select default shortcuts in the TileMap editor
...
The new default keys were chosen to match common graphics editing
software. A modifier is no longer required to use the Select tool,
making it faster to use.
This closes #34170 .
2020-02-09 17:46:01 +01:00
Rémi Verschelde
23531207a5
Merge pull request #36008 from AndreaCatania/physical_bone_impr
...
Skeleton animates physical bones
2020-02-09 11:15:43 +01:00
Andrea Catania
557d38cad3
Fixed Skeleton Physical Bone generation
2020-02-09 09:41:18 +01:00
Hugo Locurcio
3e95b79b65
Update the zoom percentage when using Frame Selection in the 2D editor
...
This closes #36019 .
2020-02-08 18:29:28 +01:00
Rémi Verschelde
6b42d83ff1
Merge pull request #35950 from Chaosus/vs_scalar_uniform_range
...
Implemented hint_range for VisualShaderNodeScalarUniform
2020-02-07 20:45:40 +01:00
Yuri Roubinsky
22ad83edae
Implemented hint_range for VisualShaderNodeScalarUniform
2020-02-07 17:04:24 +03:00
MCrafterzz
812fea7ccd
Changed transformation handles y arrow to match positive y
2020-02-07 09:07:46 +01:00
Yuri Roubinsky
0812f991f0
Merge pull request #35952 from Chaosus/shader_editor_enchance
...
Few enchancements for shader editor
2020-02-06 19:52:01 +03:00
Yuri Roubinsky
24368206ca
Few enchancements for shader editor
2020-02-06 17:50:12 +03:00
Rémi Verschelde
f003b3efaa
Merge pull request #35068 from akien-mga/containers-mouse-filter-pass
...
Use MOUSE_FILTER_PASS for all containers
2020-02-06 12:23:39 +01:00
Rémi Verschelde
6aaff5dc68
Merge pull request #35731 from timothyqiu/texture-region-gestures
...
Adds pan and zoom gestures to TextureRegion editor
2020-02-06 11:12:34 +01:00
Rémi Verschelde
bdaca7f44b
Merge pull request #35918 from timothyqiu/script-views-min-height
...
Shortens minimum height of script editor
2020-02-05 16:27:45 +01:00
Marcel Admiraal
6d69cd40bd
Add do..while(0) wrappers to macros without one.
...
- Add do..while(0) wrapper to ERR_FAIL_NULL macros.
- Add do..while(0) wrapper to ERR_FAIL_COND macros.
- Add do..while(0) wrapper to ERR_CONTINUE macros.
- Add do..while(0) wrapper to ERR_BREAK macros.
- Add do..while(0) wrapper to CRASH_COND macros.
- Add do..while(0) wrapper to ERR_FAIL macros.
- Add do..while(0) wrapper to ERR_PRINT macros.
- Add do..while(0) wrapper to WARN_PRINT macros.
- Add do..while(0) wrapper to WARN_DEPRECATED macros.
- Add do..while(0) wrapper to CRASH_NOW macros.
2020-02-05 11:19:12 +01:00
Marcel Admiraal
f0db13502a
Remove duplicate WARN_PRINT macro.
2020-02-05 11:13:24 +01:00
Haoyu Qiu
6785e199bb
Shortens minimum height of script editor windows
2020-02-05 13:16:54 +08:00
Hugo Locurcio
90af009f2e
Re-add a way to generate a single convex shape from the editor
...
It was removed after the implementation of VHACD. Generating a single
shape can lead to better performance, so it may still be desired.
This also adds tooltips for several options in the Mesh menu.
This closes #35692 .
2020-01-31 16:42:02 +01:00
Haoyu Qiu
d1b1edba84
Adds pan and zoom gestures to TextureRegion editor
2020-01-30 11:39:13 +08:00
Haoyu Qiu
ca537dea76
Fixes invalid read when using fill tool in empty tilemap
2020-01-27 20:39:49 +08:00
Tan Wang Leng
ee2f406c73
Fix wrong guideline values shown during dragging
...
Suppose that the user wants to use some guidelines in 2D mode. The
user has enabled "Use Pixel Snap", and configured the "Grid Step" to
1px.
On some zoom levels, when dragging the guidelines step by step, some
offsets shows the wrong value. The offsets that are wrong vary - it is
affected by the zoom level, so some zoom levels do not display this
problem.
For example, a user may see this while dragging the guideline:
0px 1px 1px 3px 4px 5px 5px 7px 8px
whereby 2px and 6px are missing.
This is due to a floating-point error. The values are printed as
(truncated) integers, but they are actually decimals, so they were
actually 1.9999 and 5.9999 for the missing cases.
Let's fix that by rounding up the values before printing them to get rid
of the errors.
This fixes #35010 .
2020-01-24 23:52:43 +08:00
Haoyu Qiu
b420618c46
Fixes scrollbar positions on HiDPI display
...
* TextureRegion editor
* Ploygon2D UV editor
2020-01-23 08:55:52 +08:00
Rémi Verschelde
37897dba80
Merge pull request #35406 from lawnjelly/ortho-shadow
...
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
2020-01-22 22:02:09 +01:00
Rémi Verschelde
91b0be18dc
Merge pull request #35421 from williamd1k0/improve-top-animation-menu
...
Use an icon in the top Animation Key menu
2020-01-22 21:21:15 +01:00
William Tumeo
cb3fcba99f
Use an icon in the top Animation Key menu
2020-01-22 17:06:40 -03:00
lawnjelly
eaf8e5ce52
Change CameraMatrix::get_viewport_size to get_viewport_half_extents
...
Fixes #26637 .
Fixes #19900 .
The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2.
Code which called this function has also been modified accordingly.
This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width.
It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
2020-01-22 18:22:00 +00:00
Rémi Verschelde
4faaf6089a
Remove unused #if 0'ed code
2020-01-21 21:41:54 +01:00
Eric Rybicki
99346e9654
Fix asset library video play overlay not being centered on the thumbnail
2020-01-21 08:04:32 +01:00
Rémi Verschelde
709665b15d
Merge pull request #35379 from dankan1890/quick_fix
...
TextureRegionEditor: Corrected typo
2020-01-20 21:34:02 +01:00