Jump to content

Sign in to follow this  

Python tag freezes Cinema

Recommended Posts


I wonder, how this code could do it to Cinema, but the fact is - it immediately freezes program, memory consumption jumps to 3.5, than bounces to 4.9 back and forth consuming 100% of one core.

What am I doing wrong? The only thing I try to do is to store the influence data for each clone 2019-11-30_09-34-25.thumb.png.ec87e6d9c9d022d4f45ee85b20f037b9.png

I changed it slightly but the same thing happens.


Where am I so wrong?

Share this post

Link to post

Your while loop never exits. The condition does not change; neither i nor cloneCount are progressing.


Also, check what your types are. For val you divide an integer by another integer. That is employing a floor division resulting in 0 for all clone counts > 1.


Also, you may want to check cloneCount for 0 before dividing.


Share this post

Link to post
  • Topic Author
  • Oh... I'm filing so stupid! 😕

    Just a hilariously dumb question. You shouldn't really go to forum with your problems if you haven't sleep for 20 hours 😐

    Thank you!

    Share this post

    Link to post

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    Sign in to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    Latest Topics

    Latest Comments

    • Create New...