Fix image editor orientation setting
This commit is contained in:
parent
9d307b08a2
commit
c367e345a3
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -774,6 +774,10 @@ namespace FirstPlugin
|
||||
var animFolder = new BFRESAnimFolder();
|
||||
var externalFilesFolder = new BFRESGroupNode(BRESGroupType.Embedded);
|
||||
|
||||
//Reload context menus to load specific context menus
|
||||
modelFolder.LoadContextMenus();
|
||||
texturesFolder.LoadContextMenus();
|
||||
|
||||
texturesFolder.ShowNewContextMenu = false;
|
||||
|
||||
Nodes.Add(modelFolder);
|
||||
@ -896,6 +900,9 @@ namespace FirstPlugin
|
||||
var animFolder = new BFRESAnimFolder();
|
||||
var externalFilesFolder = new BFRESGroupNode(BRESGroupType.Embedded);
|
||||
|
||||
//Reload context menus for models to load specific context menus
|
||||
modelFolder.LoadContextMenus();
|
||||
|
||||
//Texture folder acts like a bntx for saving back
|
||||
//This will only save if the user adds textures to it or the file has a bntx already
|
||||
texturesFolder.IFileInfo = new IFileInfo();
|
||||
|
@ -14,6 +14,7 @@ namespace Bfres.Structs
|
||||
{
|
||||
public enum BRESGroupType
|
||||
{
|
||||
None,
|
||||
Models,
|
||||
Textures,
|
||||
SkeletalAnim,
|
||||
|
Binary file not shown.
BIN
Switch_Toolbox.zip
Normal file
BIN
Switch_Toolbox.zip
Normal file
Binary file not shown.
@ -182,9 +182,8 @@ namespace Switch_Toolbox.Library.Forms
|
||||
|
||||
SetEditorOrientation(Runtime.ImageEditor.DisplayVertical);
|
||||
|
||||
//If it's horizontal we need to update it manually
|
||||
if (!Runtime.ImageEditor.DisplayVertical)
|
||||
SetOrientation();
|
||||
DisplayHorizontal();
|
||||
|
||||
propertyGridToolStripMenuItem.Checked = Runtime.ImageEditor.ShowPropertiesPanel;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user