scripting fix
This commit is contained in:
@@ -148,6 +148,9 @@ namespace wi::lua
|
||||
component->ActivatePath(comp->component, fadeSeconds, fadeColor);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// If first param is neither, it can be nil to unset path:
|
||||
component->ActivatePath(nullptr);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -28,6 +28,7 @@ namespace wi::lua
|
||||
renderpath.camera = wi::lua::scene::GetGlobalCamera();
|
||||
this->component = &renderpath;
|
||||
}
|
||||
virtual ~RenderPath3D_BindLua() = default;
|
||||
|
||||
int SetResolutionScale(lua_State* L);
|
||||
int SetAO(lua_State* L);
|
||||
|
||||
Reference in New Issue
Block a user