patch get-location problem
Hello,
When I call the get-location method of Patch.tz, I get the following error message:
Quote:Warning: internal function "getPatchLocation" does not correctly set an output value. If this is a plugin function, see the updated documentation on plugins for more details.
(NULL expression)
It looks like the patchPointer that is passed to the internal function has not been set correctly...
Is this a bug, or did I miss something?
@use Control.
@use PatchToroid.
@use Patch.
Controller myControl.
Control : myControl {
+ to init :
g,p (object).
g = new PatchToroid init-with x-count 10 y-count 10 z-count 1.
p = g get-patch-at x 5 y 5 z 0.
print (p get-location).
}
cheers,
--pyg.
»
Submitted by pygmalion on Thu, 2006-07-20 13:50.
- Login to post comments

patch get-location problem
This thread might be of interest to you:
http://www.spiderland.org/forums/viewtopic.php?t=257
patch get-location problem
Hi there,
this is a bug in the breve engine which is related to, but is not exactly the same as the one HO refers to in the other thread.
I've fixed this problem in the source code. If you tell me what platform you're working on, I can make a build with the problem fixed.
- jon
Thank you
Thanks a lot!
Now that I use the latest subversion sources, the patches have regained their self-awareness :D
by the way:
I am using linux, but it would be damn cool if you could provide binaries of the latest fixes for all three operating systems, if that is not too much work...
The reason is, that there will be a workshop from 7. to 11. of August ( http://www.decoi2006.nl/ ) where about 35 people will try to run breve on their laptops with all kinds of operating systems...
cheers
--pyg
patch get-location problem
There are new development builds up for all platforms at http://www.spiderland.org/breve_2.5d. Note that as development builds, they are untested, but they do include the patch fix and other fixes since 2.4.
- jon
thanks!
that is neat -- thanks!
greetings from amsterdam :D
--pyg