Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load CAM items outside of Project Mode #268

Open
MrMalfunction-ng opened this issue Jul 27, 2024 · 0 comments
Open

Unable to load CAM items outside of Project Mode #268

MrMalfunction-ng opened this issue Jul 27, 2024 · 0 comments

Comments

@MrMalfunction-ng
Copy link

  • [X ] I am using the latest version of SA Tools. My Build Date is 7/22/2024 17:39:49.

  • [ X] The problem is consistently reproducible.

  • [X ] I have looked through the list of open issues and confirmed that the problem hasn't been reported before.

Describe the bug/request
Every time I want to add a cam item with my custom landtable in SALVL, I, without fail, get an error report (pasted further down this report) every time. In case this problem is somehow specific to my landtable, which is unlikely, I have it attached to this report.

To Reproduce (if applicable)
Load up an isolated landtable into SALVL, click "Add", and try to add a CAM Item. If it somehow works still, load up the salvl file included in this report.

Expected behavior
Expected to be able to load a fixed cam file into my custom landtable in SALVL.

Log
Program: SALVL
Build Date: 07/22/2024 17:37:50
OS Version: Microsoft Windows NT 10.0.22631.0
Log:
SALVL: New log entry on 7/27/2024 5:20:45 PM

Build Date:
07/22/2024 17:37:50
OS Version:
Microsoft Windows NT 10.0.22631.0

System.NullReferenceException: Object reference not set to an instance of an object.
at SAModel.SAEditorCommon.DataTypes.CAMItem.selectionManager_SelectionChanged(EditorItemSelection sender) in C:\Programs\sa_tools\Libraries\SAEditorCommon\DataTypes\CAMItem.cs:line 479
at SAModel.SAEditorCommon.UI.EditorItemSelection.Clear() in C:\Programs\sa_tools\Libraries\SAEditorCommon\UI\EditorItemSelection.cs:line 45
at SAModel.SALVL.MainForm.cameraToolStripMenuItem_Click(Object sender, EventArgs e) in C:\Programs\sa_tools\SALVL\MainForm.cs:line 792
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
SaturnSH1_Landtable.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant