daily update on 20240828 by nitload youmu, autotexture added
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
//-----------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------
|
||||
using StgSharp.Graphics;
|
||||
using StgSharp.Logic;
|
||||
using StgSharp.Timing;
|
||||
using StgSharp.Math;
|
||||
using StgSharp.MVVM.ViewModel;
|
||||
|
||||
@@ -155,7 +155,7 @@ namespace StgSharp.MVVM.View
|
||||
return InternalIO.glfwGetKey(context.ViewPortID, (int)key);
|
||||
}
|
||||
|
||||
public void InternalInitialize(string name,(int,int,int) cubeSize, ViewModelBase viewModelBinding)
|
||||
public void InternalInitialize(string name, (int, int, int) cubeSize, ViewModelBase viewModelBinding)
|
||||
{
|
||||
SelfName = name;
|
||||
unitCubeSize = cubeSize;
|
||||
@@ -175,7 +175,7 @@ namespace StgSharp.MVVM.View
|
||||
if (!ValidateInitialization())
|
||||
{
|
||||
throw new InvalidOperationException("This view is not correctly initialized before rendering.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Show();
|
||||
}
|
||||
@@ -183,7 +183,7 @@ namespace StgSharp.MVVM.View
|
||||
public bool ValidateInitialization()
|
||||
{
|
||||
return (_design != null) && (_render != null) && (getDataBindingEntry != null) && (_responder != null)
|
||||
&& (_design.ValidateInitializing()) && (_responder.ValidateInitializing()) && (_render.ValidateInitializing())
|
||||
&& _design.ValidateInitializing() && _responder.ValidateInitializing() && _render.ValidateInitializing()
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user