From 2a803976ed12e59f3e082e7c08941ef5004e6ea1 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期二, 20 五月 2025 11:40:10 +0800
Subject: [PATCH] 1. 添加机器臂命令配置界面
---
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