daily update on 20240828 by nitload youmu, autotexture added
This commit is contained in:
@@ -41,6 +41,7 @@ namespace StgSharp.MVVM.ViewModel
|
||||
{
|
||||
public partial class ViewModelBase
|
||||
{
|
||||
|
||||
private Dictionary<string, ViewBase> allView;
|
||||
|
||||
public T CreateAndBindView<T>(string name, (int x, int y, int z) unitCubeSize)
|
||||
@@ -48,7 +49,7 @@ namespace StgSharp.MVVM.ViewModel
|
||||
{
|
||||
T ret = new T();
|
||||
ret.SelfName = name;
|
||||
ret.InternalInitialize(name,unitCubeSize,this);
|
||||
ret.InternalInitialize(name, unitCubeSize, this);
|
||||
allView.Add(name, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user