windrobin / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

VideoStreamMaterial animated property overridden #181

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the constructor of VideoStreamMaterial the animated property is set to
true, however this is overridden by calling the constructor of the super
class, which sets animated to false.

In most cases this is not a problem. When using a video stream the animated
property will be set to true for you as soon as the video starts playing.
In my case I want to use my webcam output as a material, without the usage
of a streaming server in between. In this particular case you'll notice
that animated is set to false.

Can be solved by changing line 93 of VideoStreamMaterial.as to super (
DisplayObject(video), transparent, animated );

Original issue reported on code.google.com by p...@paultondeur.nl on 23 Mar 2009 at 7:52