Cleanup: resolve various pylint warnings from recent changes
This commit is contained in:
@@ -14,12 +14,6 @@ __all__ = (
|
||||
"BakeOptions",
|
||||
)
|
||||
|
||||
import bpy
|
||||
from bpy.types import (
|
||||
Context, Action, ActionSlot, ActionChannelbag,
|
||||
Object, PoseBone, KeyingSet,
|
||||
)
|
||||
|
||||
import contextlib
|
||||
from dataclasses import dataclass
|
||||
from typing import Iterable, Optional, Union, Iterator
|
||||
@@ -28,6 +22,12 @@ from collections.abc import (
|
||||
Sequence,
|
||||
)
|
||||
|
||||
import bpy
|
||||
from bpy.types import (
|
||||
Context, Action, ActionSlot, ActionChannelbag,
|
||||
Object, PoseBone, KeyingSet,
|
||||
)
|
||||
|
||||
from rna_prop_ui import (
|
||||
rna_idprop_value_to_python,
|
||||
)
|
||||
@@ -886,8 +886,7 @@ class AutoKeying:
|
||||
"Retrieve the lock status for 4D rotation."
|
||||
if bone.lock_rotations_4d:
|
||||
return [bone.lock_rotation_w, *bone.lock_rotation]
|
||||
else:
|
||||
return [all(bone.lock_rotation)] * 4
|
||||
return [all(bone.lock_rotation)] * 4
|
||||
|
||||
@classmethod
|
||||
def keyframe_channels(
|
||||
|
||||
Reference in New Issue
Block a user