From 02055f855e97712834162d92c64afa3ae1bf985a Mon Sep 17 00:00:00 2001 From: Kevin harrington Date: Sun, 3 Nov 2024 09:44:38 -0500 Subject: [PATCH] Adding a method to re-load the db from file --- .../java/eu/mihosoft/vrl/v3d/parametrics/CSGDatabase.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/mihosoft/vrl/v3d/parametrics/CSGDatabase.java b/src/main/java/eu/mihosoft/vrl/v3d/parametrics/CSGDatabase.java index b842dd82..2d9caacf 100644 --- a/src/main/java/eu/mihosoft/vrl/v3d/parametrics/CSGDatabase.java +++ b/src/main/java/eu/mihosoft/vrl/v3d/parametrics/CSGDatabase.java @@ -219,5 +219,7 @@ public static void setDbFile(File dbFile) { CSGDatabase.dbFile = dbFile; loadDatabaseFromFile(dbFile); } - + public static void reLoadDbFile() { + setDbFile(dbFile); + } }