mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Modernized default 3D material, fixes material bugs.
This commit is contained in:
parent
6deffa62fb
commit
dd3682e5fe
42 changed files with 1298 additions and 891 deletions
|
|
@ -221,9 +221,9 @@ void PathSpatialGizmo::redraw() {
|
|||
|
||||
clear();
|
||||
|
||||
Ref<SpatialMaterial> path_material = gizmo_plugin->get_material("path_material", this);
|
||||
Ref<SpatialMaterial> path_thin_material = gizmo_plugin->get_material("path_thin_material", this);
|
||||
Ref<SpatialMaterial> handles_material = gizmo_plugin->get_material("handles");
|
||||
Ref<StandardMaterial3D> path_material = gizmo_plugin->get_material("path_material", this);
|
||||
Ref<StandardMaterial3D> path_thin_material = gizmo_plugin->get_material("path_thin_material", this);
|
||||
Ref<StandardMaterial3D> handles_material = gizmo_plugin->get_material("handles");
|
||||
|
||||
Ref<Curve3D> c = path->get_curve();
|
||||
if (c.is_null())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue