Remove copy and use instance material override in gizmos, fixes #23783

This commit is contained in:
Juan Linietsky
2019-02-23 20:20:54 -03:00
parent 6cd4006fb3
commit bfa9be85d3
3 changed files with 12 additions and 5 deletions

View File

@@ -107,6 +107,9 @@ void PathFollow::_update_transform() {
}
float bl = c->get_baked_length();
if (bl == 0.0) {
return;
}
float bi = c->get_bake_interval();
float o = offset;
float o_next = offset + bi;