3.4.1,捕捉原点出错
Python: Traceback (most recent call last):
File "D:\Program Files\Blender\blender-3.4.1-windows-x64\3.4\scripts\addons\n_points_align\__init__.py", line 633, in modal
v = self.snap.loop_step(context, event)
File "D:\Program Files\Blender\blender-3.4.1-windows-x64\3.4\scripts\addons\n_points_align\just_snap\__init__.py", line 151, in loop_step
self.update(context, region)
File "D:\Program Files\Blender\blender-3.4.1-windows-x64\3.4\scripts\addons\n_points_align\just_snap\__init__.py", line 363, in update
closest = self.snapdata_source.find_closest(mouse_coord_screen_flat,
File "D:\Program Files\Blender\blender-3.4.1-windows-x64\3.4\scripts\addons\n_points_align\just_snap\just_snapdata.py", line 625, in find_closest
if self.settings.x_ray or vert_idx not in self.backface_points_data[obj_name]:
KeyError: '平面.015'
3.5,错误Python: Traceback (most recent call last):
File "C:\Users\GrandWalker\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\n_points_align\core\op_apply.py", line 205, in invoke
self.sals.invoke(context, event, region, selected_objects)
File "C:\Users\GrandWalker\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\n_points_align\core\set_align_lines.py", line 141, in invoke
self.snap = Snap(context, event, self.selected_objects, self.pref.max_verts)
File "C:\Users\GrandWalker\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\n_points_align\just_snap\__init__.py", line 102, in __init__
if not self.initialize(context):
File "C:\Users\GrandWalker\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\n_points_align\just_snap\__init__.py", line 294, in initialize
self.ignored_large_obj_names = set([obj.name for obj in all_scene_objects if len(obj.data.vertices) > self.max_verts])
File "C:\Users\GrandWalker\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\n_points_align\just_snap\__init__.py", line 294, in
self.ignored_large_obj_names = set([obj.name for obj in all_scene_objects if len(obj.data.vertices) > self.max_verts])
AttributeError: 'Image' object has no attribute 'vertices'
Python: Traceback (most recent call last):
File "C:\Users\Albsm\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\n_points_align\core\op_apply.py", line 214, in modal
ret = self.sals.modal(context, event)
File "C:\Users\Albsm\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\n_points_align\core\set_align_lines.py", line 243, in modal
v, _ = self.snap.loop_step(context, event)
File "C:\Users\Albsm\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\n_points_align\just_snap\__init__.py", line 175, in loop_step
snapdata_updated = self.snapdata_source.process_iteration(context)
File "C:\Users\Albsm\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\n_points_align\just_snap\just_snapdata.py", line 513, in process_iteration
self.update_backface_points(context, object_name)
File "C:\Users\Albsm\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\n_points_align\just_snap\just_snapdata.py", line 483, in update_backface_points
bkp_idx = just_utils.get_index_in_back(context, obj_name, self.snap_type)
File "C:\Users\Albsm\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\n_points_align\just_snap\just_utils.py", line 287, in get_index_in_back
return get_point_in_back(context, region, region_3d, matrix, depsgraph, data)
File "C:\Users\Albsm\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\n_points_align\just_snap\just_utils.py", line 245, in get_point_in_back
if position_2d.x <= 0 or position_2d.y <= 0 or \
AttributeError: 'NoneType' object has no attribute 'x'
能修一下4.0版本吗?
错误如下:
Traceback (most recent call last):
File "D:\Desktop\blender-4.0.0-alpha+main.92c4756d0291-windows.amd64-release\4.0\scripts\modules\addon_utils.py", line 364, in enable
mod = importlib.import_module(module_name)
File "D:\Desktop\blender-4.0.0-alpha+main.92c4756d0291-windows.amd64-release\4.0\python\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\n_points_align\__init__.py", line 14, in
from . import preferences, core, ui
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\n_points_align\core\__init__.py", line 3, in
from .op_core import NPA_OT_Main, NPA_OT_Apply_Transform, NPA_OT_Clear_Shader
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\n_points_align\core\op_core.py", line 8, in
from .. import render
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\n_points_align\render\__init__.py", line 13, in
from .shader.status_tips import draw_status_tips
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\n_points_align\render\shader\status_tips.py", line 6, in
shader_2d = gpu.shader.from_builtin('2D_UNIFORM_COLOR')
ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR'
请先
!