From 958cfa6b2e1c1eec0e20edc50816ef18f10cbf09 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期四, 29 五月 2025 15:50:34 +0800
Subject: [PATCH] 1. 修改本地模式Port设置界面 2. 添加Transfer数据库管理类

---
 SourceCode/Bond/Servo/CGlass.cpp |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CGlass.cpp b/SourceCode/Bond/Servo/CGlass.cpp
index e2b6259..77e292f 100644
--- a/SourceCode/Bond/Servo/CGlass.cpp
+++ b/SourceCode/Bond/Servo/CGlass.cpp
@@ -12,6 +12,11 @@
 
 	CGlass::~CGlass()
 	{
+
+	}
+
+	void CGlass::reset()
+	{
 		CPath* pPath = m_pPath;
 		while (pPath != nullptr) {
 			CPath* pTemp = pPath->getNext();
@@ -20,7 +25,7 @@
 		}
 		m_pPath = nullptr;
 
-		if (m_pBuddy != nullptr	&& m_type == MaterialsType::G1) {
+		if (m_pBuddy != nullptr) {
 			m_pBuddy->release();
 		}
 	}

--
Gitblit v1.9.3