Page MenuHome

Piotr Kowalczyk (dopiotrko)
User

Projects

User does not belong to any projects.

User Details

User Since
Feb 7 2019, 6:56 PM (10 w, 4 d)

Recent Activity

Feb 12 2019

Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

Ok. Thanks for Your help, and sorry for posting it here.

Feb 12 2019, 3:20 PM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.
Feb 12 2019, 2:57 PM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

Sorry, Your blend file was not empty, my mistake. But the error still occurs.

Feb 12 2019, 2:35 PM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

This .blend file You attached is (as far as I know) default init blend file, so I can't check what You have changed. Please attach the changed .py file.
I followed Your directions:

  • I removed enumerate (It was there for testing purposes anyway), but this did not solve the problem.
  • I assume that Your step 2 was passing 'deepcopy(branch['sub_items'])' instead of ''branch['sub_items'] into the recursive function. It did not solve the problem for me (did it for You?). Please remember that (like I wrote in the comments of my py file) calling operator again does not replicate the error: "I have to restart blender to repeat the error". And after that changes error is still there. Also, the problem from Your link is little different from mine, because my problem is with 'current_item' variable (not with ''branch['sub_items']"). I am not passing 'current_item' to the recursive call, and as far as I know my current_tems variables from every scope point to a different object, coz I create it in the scope, not passing it as a parameter.

Regards.

Feb 12 2019, 2:08 PM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

?

Feb 12 2019, 12:14 PM · Addons, Python, BF Blender

Feb 8 2019

Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

I regret to write: it is not it :(.
I changed init to sub_init and I steel get TypeError: unsubscriptable object.


Regards

Feb 8 2019, 7:27 PM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) updated the task description for T61297: Blender is losing reference to collection property item when used in a recursive function?.
Feb 8 2019, 11:03 AM · Addons, Python, BF Blender

Feb 7 2019

Piotr Kowalczyk (dopiotrko) updated the task description for T61297: Blender is losing reference to collection property item when used in a recursive function?.
Feb 7 2019, 11:13 PM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) created T61297: Blender is losing reference to collection property item when used in a recursive function?.
Feb 7 2019, 11:02 PM · Addons, Python, BF Blender