Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: rc3 objParticles.destroy bug or misunderstanding.  (Read 2282 times)
shadow4444
Community Member
*
Posts: 21


« on: December 27, 2002, 07:12:45 PM »

If I create a particle system, in my case for the trails left by a speeding projectile, and then at the end of the lifespan of the projectile destroy the particle system, then no other particle systems render.

This prevents following particle systems from rendering
Code:

objParticles.destroy
set objParticles = nothing


Removing .destroy, makes everything work properly again
Code:

set objParticles = nothing


Is this proper?  .destroy did not cause this to happen in rc2.  Without the .destroy am I opening myself up to a memory leak?

Let me know if you need more detailed info... otherwise conversion was a piece of cake... very nice.  Gonna play with the tools now!

Thanks,
Michael
Logged
SylvainTV
Administrator
Community Member
*****
Posts: 4946


WWW
« Reply #1 on: December 27, 2002, 07:21:18 PM »

I see what you mean.
It's indeed a bug because now the particle buffer is shared between all.
It doesn't create any memory leak.

Fixing Smiley
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
uglan
Community Member
*
Posts: 79


« Reply #2 on: December 04, 2005, 03:26:56 AM »

aaand?
When fixing is finished? :roll:
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks