Fixed ccusom model loading form the fix path to the current project directory

This commit is contained in:
Ankitkumar Satapara
2026-04-19 00:07:00 +05:30
parent 2d8da30eac
commit ec620bf30d
4 changed files with 7 additions and 7 deletions

View File

@@ -427,7 +427,7 @@ namespace Nodify.Calculator
else if (info.Title == "SET")
{
info.Input.Add("");
var customModelDir = "CustomModels";
var customModelDir = System.IO.Path.Combine(ProjectManager.ProjectDirectory, "CustomModels");
Directory.CreateDirectory(customModelDir);
var flpath = System.IO.Path.Combine(customModelDir, info.ClassName + ".cs");
if (File.Exists(flpath))