<table><tr><td style="">murveit created this revision.<br />murveit added a reviewer: mutlaqja.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />murveit requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26778">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If the number of channels changes during a session (rare, but can happen now that the<br />
simulator can be changed from mono to rgb and back) then the rawImage buffer needs to be<br />
re-allocated.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Using the new Indi ccd simulator capability to switch between rgb and mono, <br />
if you do this in one session without this fix, you'll see the fitsviewer <br />
not display the image properly after the change (though it would it you saved configuration <br />
and restarted kstars). With this fix, that bug should go away--e.g. change the <br />
ccd simulator to rgb, capture an image, note the display is reasonable, switch again, should<br />
be reasonable again.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>check-channels (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26778">https://phabricator.kde.org/D26778</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/fitsviewer/fitsview.cpp</div></div></div><br /><div><strong>To: </strong>murveit, mutlaqja<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>