[BUG] Select Linked Faces by Angle crash when you put a node after
- Ngôn ngữ chính
- Python
- Star
- 1.2k
- Fork
- 112
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hello,
**Describe the bug**
Message error when I use the node 'Select Linked Faces by Angle'
**To Reproduce**
Steps to reproduce the behavior:
1. Add : Create Ico Sphere [Value : 2 ; 1.00]
2. Add : Inset [Value : 0.10 ; 0.03 ; Individual ON]
3. Add : Subdivision Surface Modifier [Value : Type Catmull-Clark ; 2]
4. Add : Select Linked Faces by Angle [Value : 1.00]
5. Add : Inset
6. Click on Set preview of the Inset node
**Expected behavior**
A working connection between ' Select Linked Faces by Angle ' and other node ( the output of ' Select Linked Faces by Angle ' was good ).
**Screenshots**

**Desktop (please complete the following information):**
- OS: [e.g. Windows]
- Blender Version [e.g. 2.83.5]
- Sorcar Version [e.g. 3.2.0]
**Additional context**
`
Traceback (most recent call last):
File "C:\Users\sbaykal\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\Sorcar-master\operators\ScExecuteNode.py", line 19, in execute
curr_tree.execute_node()
File "C:\Users\sbaykal\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\Sorcar-master\tree\ScNodeTree.py", line 74, in execute_node
self.unregister_all_objects()
File "C:\Users\sbaykal\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\Sorcar-master\tree\ScNodeTree.py", line 35, in unregister_all_objects
remove_object(object)
File "C:\Users\sbaykal\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\Sorcar-master\helper.py", line 42, in remove_object
if hasattr(data, "users"):
ReferenceError: StructRNA of type Mesh has been removed
location: :-1
`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
The crash occurs in ScNodeTree.py line 74 and helper.py line 42 when unregistering objects after executing the 'Select Linked Faces by Angle' node. Start by examining the node's implementation in the Sorcar addon, likely under nodes or operators. Reproduce the error in Blender with the given steps, then trace why the Mesh struct is being removed prematurely. Check the object lifecycle and data handling between nodes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- blender
- Lĩnh vực
- computer-graphics, desktop
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 45/100