|
@@ -756,6 +756,8 @@ export class EditScence extends SGraphScene {
|
|
|
let arr = item.data.AttachObjectIds;
|
|
|
if (arr && arr.length && arr[arr.length - 1].name && flag) {
|
|
|
let name = item.name;
|
|
|
+ let nameArr = name.split("\n");
|
|
|
+ if (nameArr[nameArr.length - 1] != arr[arr.length - 1].name)
|
|
|
if (name) {
|
|
|
item.name = name + `\n${arr[arr.length - 1].name}`;
|
|
|
item.text = name + `\n${arr[arr.length - 1].name}`;
|