LightBuzz / Vitruvius

A set of easy-to-use Kinect utilities that will speed-up the development of your projects.
http://vitruviuskinect.com
Apache License 2.0
229 stars 82 forks source link

GreenScreen sample on WPF is not working #15

Closed elbruno closed 8 years ago

elbruno commented 8 years ago

Hi In the sample project, raises an "null" error on [GreenScreenBitmapGenerator.cs]

line 196 Marshal.Copy(Pixels, 0, Bitmap.BackBuffer, _displayPixels.Length);

for Pixels

regards

birbilis commented 8 years ago

maybe they're not yet ready at that point in time?

if you add a null check somewhere near there does it work?

Vangos commented 8 years ago

This was a typo from a previous commit. Thanks for noting. The issue has been fixed.