Add Data Copy Reminder
This commit is contained in:
@@ -36,6 +36,7 @@ void StreamReader::run()
|
|||||||
lWidth = lImage->GetWidth();
|
lWidth = lImage->GetWidth();
|
||||||
lHeight = lImage->GetHeight();
|
lHeight = lImage->GetHeight();
|
||||||
|
|
||||||
|
// May need to push copy of data, not pointer to buffer in case it deallocs
|
||||||
emit NewImage(lWidth, lHeight, lImage->GetDataPointer());
|
emit NewImage(lWidth, lHeight, lImage->GetDataPointer());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user