mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-17 01:58:03 +00:00
Fix my stupid mistakes with bcres
This commit is contained in:
parent
0c5a43aab0
commit
21b0a0bda7
1 changed files with 8 additions and 2 deletions
|
@ -29,6 +29,12 @@ namespace FirstPlugin
|
|||
set { Mesh.ShapeIndex = (uint)value; }
|
||||
}
|
||||
|
||||
public int MaterialIndex
|
||||
{
|
||||
get { return (int)Mesh.MaterialIndex; }
|
||||
set { Mesh.MaterialIndex = (uint)value; }
|
||||
}
|
||||
|
||||
public Shape Shape
|
||||
{
|
||||
get { return ParentModelWrapper.Model.Shapes[ShapeIndex]; }
|
||||
|
@ -37,8 +43,8 @@ namespace FirstPlugin
|
|||
|
||||
public MTOBWrapper MaterialWrapper
|
||||
{
|
||||
get { return ParentModelWrapper.Materials[ShapeIndex]; }
|
||||
set { ParentModelWrapper.Materials[ShapeIndex] = value; }
|
||||
get { return ParentModelWrapper.Materials[MaterialIndex]; }
|
||||
set { ParentModelWrapper.Materials[MaterialIndex] = value; }
|
||||
}
|
||||
|
||||
public SOBJWrapper()
|
||||
|
|
Loading…
Reference in a new issue