Add default Deformable material for splines

This commit is contained in:
Wojtek Figat
2021-02-10 11:37:34 +01:00
parent 81e41d51c8
commit 5cb2322270
7 changed files with 23 additions and 4 deletions

View File

@@ -311,9 +311,10 @@ public:
/// Sets the object.
/// </summary>
/// <param name="id">The object ID. Uses Scripting to find the registered object of the given ID.</param>
FORCE_INLINE void Set(const Guid& id)
void Set(const Guid& id)
{
Set(static_cast<T*>(FindObject(id, T::GetStaticClass())));
_id = id;
_object = nullptr;
}
/// <summary>