Skip to content

Commit

Permalink
bugfix rawDepth missing in multisourceframe
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterverweirder committed Aug 1, 2021
1 parent 251cd94 commit ffd4e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kinect2",
"version": "0.2.4",
"version": "0.2.5",
"description": "Nodejs library to access the kinect 2 data from the official MS SDK",
"repository": "https://github.com/wouterverweirder/kinect2",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/kinect2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ Napi::Value MethodOpenMultiSourceReader(const Napi::CallbackInfo& info) {
if(NodeKinect2FrameTypes::FrameTypes_RawDepth & m_enabledFrameTypes)
{
Napi::Object v8RawDepthResult = Napi::Object::New(env);
v8RawDepthResult.Set(Napi::String::New(env, "buffer"), m_v8ObjectReference.Get("rawDepthBuffer"));
v8RawDepthResult.Set(Napi::String::New(env, "buffer"), m_v8ObjectReference.Get("rawDepthValuesBuffer"));

//field of view
v8RawDepthResult.Set(Napi::String::New(env, "horizontalFieldOfView"), Napi::Number::New(env, m_fDepthHorizontalFieldOfViewV8));
Expand Down

0 comments on commit ffd4e88

Please sign in to comment.