Jump to content

Python tag freezes Cinema


Intenditore

Recommended Posts

Hi!

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.

2019-11-30_09-50-22.thumb.png.d0b2f6fbd8fb88d73663a91e1ebf04a8.png

Where am I so wrong?

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.

 

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.

Guest
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.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • LATEST POSTS

    1. 7

      Cardioid gif

    2. 3

      3D Painting Issue with Orthographic Views

    3. 90

      C4D Cafe 3.0 || NEWS, FEEDBACK

×
×
  • Create New...