rm cmt
This commit is contained in:
parent
ac788ef432
commit
6536d34eca
1 changed files with 0 additions and 4 deletions
|
|
@ -413,13 +413,9 @@ def _cached_capture_mesh_edges(
|
||||||
f_attr_name: str = "f_rate",
|
f_attr_name: str = "f_rate",
|
||||||
extra_attrs: dict[str, str] | None = None
|
extra_attrs: dict[str, str] | None = None
|
||||||
) -> tuple[list[NDArray[float64]], list[NDArray[float64]], list[NDArray[float64]], dict[str, list[NDArray[float64]]]]:
|
) -> tuple[list[NDArray[float64]], list[NDArray[float64]], list[NDArray[float64]], dict[str, list[NDArray[float64]]]]:
|
||||||
# This helper expects that the object and mesh exist and are accessible via bpy.data
|
|
||||||
obj = bpy.data.objects.get(obj_name)
|
obj = bpy.data.objects.get(obj_name)
|
||||||
if not obj: return [], [], [], {}
|
if not obj: return [], [], [], {}
|
||||||
|
|
||||||
# We don't use obj_eval here directly as it's not hashable,
|
|
||||||
# but we assume this is called when we know we need to re-capture.
|
|
||||||
# The actual capture logic stays the same but is now inside this cached function.
|
|
||||||
try:
|
try:
|
||||||
depsgraph = bpy.context.evaluated_depsgraph_get()
|
depsgraph = bpy.context.evaluated_depsgraph_get()
|
||||||
obj_eval = obj.evaluated_get(depsgraph)
|
obj_eval = obj.evaluated_get(depsgraph)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue