POV-Ray : Newsgroups : povray.unofficial.patches : Fix for a bug in the SuperPatch and UVPov : Re: Fix for a bug in the SuperPatch and UVPov Server Time
2 Nov 2024 11:24:38 EDT (-0400)
  Re: Fix for a bug in the SuperPatch and UVPov  
From: Mark Wagner
Date: 2 Dec 1999 01:10:13
Message: <38460d45@news.povray.org>
Nathan Kopp wrote in message <38449cd7@news.povray.org>...
>
>Mark Wagner <mar### [at] gtenet> wrote...
>> In both the SuperPatch and UVPov there is a memory leakage that occurs
>> whenever Copy_Object is called.  The bug is that the UV transform for the
>> object is copied twice -- once by COPY_OBJECT_FIELDS and once by
>> Copy_Object.  As a result, the memory used by the first copy is lost.
The
>> fix for this is to remove one of the instances of copying the UV
>transform.
>
>COPY_OBJECT_FIELDS doesn't exist in UVPov (or at least it shouldn't).  (So
>UVPov shouldn't have this problem.)


Sorry for the mistake.  I didn't actually check UVPov, I just assumed that
since the bug was with UV mapping and was present in the SuperPatch, it
would be present in UVPov.

Mark


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.