Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Jul 9, 2023
1 parent 3ebb466 commit cbc8702
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/fake_bpy_module/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2113,6 +2113,9 @@ def _get_refined_data_type_internal(
module_name, variable_kind)
if d:
dtypes.append(d.to_string())
from pprint import pprint
print("@@@")
pprint(dtypes)
if len(dtypes) >= 1:
elms = [CustomDataType(d) for d in dtypes]
dd = CustomDataType(
Expand Down
9 changes: 5 additions & 4 deletions src/fake_bpy_module/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -992,10 +992,11 @@ def rewrite_for_tuple_elms(data_type: 'CustomDataType'):
elms_old = add_info["tuple_elms"]
elms_new = []
for elm_old in elms_old:
refiner.get_generation_data_type(
elm_old.data_type(), gen_info.name)
elm_new = rewrite_for_custom(elm_old)
elms_new.append(elm_new)
if elm_old.type() == 'CUSTOM':
elm_new = rewrite_for_custom(elm_old)
elms_new.append(elm_new)
else:
elms_new.append(elm_old)
add_info["tuple_elms"] = elms_new
from pprint import pprint
pprint([elm.to_string() for elm in elms_old])
Expand Down

0 comments on commit cbc8702

Please sign in to comment.