Skip to content

Commit

Permalink
Make erroir
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Jul 16, 2023
1 parent 8245d73 commit e2bee4a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/fake_bpy_module/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1449,6 +1449,8 @@ def _get_refined_data_type_fast(
]
return MixinDataType(dtypes)

exit(1)

# Ex: int array of 2 items in [-32768, 32767], default (0, 0)
m = re.match(
r"^(int|float) array of ([0-9]+) items in \[([-einf+0-9,. ]+)\](, .+)*$", # noqa # pylint: disable=C0301
Expand Down Expand Up @@ -1680,9 +1682,6 @@ def _get_refined_data_type_fast(
]
return MixinDataType(dtypes)
# Ex: tuple of mathutils.Vector's
print(dtype_str)
if dtype_str.startswith("tuple of `Object`"):
print(f"@@@ {dtype_str}")
m = re.match(r"^tuple of `([a-zA-Z0-9.]+)`('s)*$", dtype_str)
if m:
s = self._parse_custom_data_type(
Expand Down

0 comments on commit e2bee4a

Please sign in to comment.