[Bf-blender-cvs] [a7ff4bb] decklink: Decklink: Fix bug: Decklink.right attribute was not unitialized.

Benoit Bolsee noreply at git.blender.org
Wed Jun 1 22:04:13 CEST 2016


Commit: a7ff4bb5e51df9f638e173253ac9e33d2637e7db
Author: Benoit Bolsee
Date:   Wed Jun 1 22:01:11 2016 +0200
Branches: decklink
https://developer.blender.org/rBa7ff4bb5e51df9f638e173253ac9e33d2637e7db

Decklink: Fix bug: Decklink.right attribute was not unitialized.

===================================================================

M	source/gameengine/VideoTexture/DeckLink.cpp

===================================================================

diff --git a/source/gameengine/VideoTexture/DeckLink.cpp b/source/gameengine/VideoTexture/DeckLink.cpp
index 53678cc..e72ea53 100644
--- a/source/gameengine/VideoTexture/DeckLink.cpp
+++ b/source/gameengine/VideoTexture/DeckLink.cpp
@@ -337,6 +337,7 @@ static PyObject *DeckLink_new(PyTypeObject *type, PyObject *args, PyObject *kwds
 	decklink_Reset(self);
 	// m_leftEye is a python object, it's handled by python
 	self->m_leftEye = NULL;
+	self->m_rightEye = NULL;
 	// return allocated object
 	return reinterpret_cast<PyObject*>(self);
 }




More information about the Bf-blender-cvs mailing list