Apply bone billboard flags
This commit is contained in:
parent
819568b636
commit
21255d7c31
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -693,6 +693,7 @@
|
||||
this.billboardModeCB.ReadOnly = true;
|
||||
this.billboardModeCB.Size = new System.Drawing.Size(144, 21);
|
||||
this.billboardModeCB.TabIndex = 0;
|
||||
this.billboardModeCB.SelectedIndexChanged += new System.EventHandler(this.billboardModeCB_SelectedIndexChanged);
|
||||
//
|
||||
// stDropDownPanel4
|
||||
//
|
||||
|
@ -211,5 +211,19 @@ namespace FirstPlugin
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void billboardModeCB_SelectedIndexChanged(object sender, EventArgs e) {
|
||||
if (activeBone == null || !IsLoaded)
|
||||
return;
|
||||
|
||||
if (activeBone.BoneU != null)
|
||||
{
|
||||
activeBone.BoneU.FlagsBillboard = (ResU.BoneFlagsBillboard)billboardModeCB.SelectedItem;
|
||||
}
|
||||
else
|
||||
{
|
||||
activeBone.Bone.FlagsBillboard = (BoneFlagsBillboard)billboardModeCB.SelectedItem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user