def _get_bg_image_comparison_data(self): """ """ data = ( self.graphicsMode, # often too conservative, but not always # bug: some graphicsModes use prefs or PM settings to decide # how much of the model to display; this ignores those # bug: some GMs do extra drawing in .Draw; this ignores prefs etc that affect that self._fog_test_enable, self.displayMode, # display style self.part, self.part.assy.all_change_indicators( ), # TODO: fix view change indicator for this to work fully # note: that's too conservative, since it notices changes in other parts (e.g. from Copy Selection) # KLUGE until view change indicator is fixed -- include view data # directly; should be ok indefinitely +self. quat, # this hit a bug in same_vals (C version), fixed by Eric M 080922 in samevalshelp.c rev 14311 ## + self.quat.vec, # workaround for that bug (works) +self.pov, self.scale, self.zoomFactor, self.width, self.height, QGLWidget.width(self), # in case it disagrees with self.width QGLWidget.height(self), self. _resize_counter, # redundant way to force new grab after resize # (tho it might be safer to completely disable the feature # for a frame, after resize ### TRYIT) self.ortho, ) return data
def _get_bg_image_comparison_data(self): """ """ data = ( self.graphicsMode, # often too conservative, but not always # bug: some graphicsModes use prefs or PM settings to decide # how much of the model to display; this ignores those # bug: some GMs do extra drawing in .Draw; this ignores prefs etc that affect that self._fog_test_enable, self.displayMode, # display style self.part, self.part.assy.all_change_indicators(), # TODO: fix view change indicator for this to work fully # note: that's too conservative, since it notices changes in other parts (e.g. from Copy Selection) # KLUGE until view change indicator is fixed -- include view data # directly; should be ok indefinitely + self.quat, # this hit a bug in same_vals (C version), fixed by Eric M 080922 in samevalshelp.c rev 14311 ## + self.quat.vec, # workaround for that bug (works) + self.pov, self.scale, self.zoomFactor, self.width, self.height, QGLWidget.width(self), # in case it disagrees with self.width QGLWidget.height(self), self._resize_counter, # redundant way to force new grab after resize # (tho it might be safer to completely disable the feature # for a frame, after resize ### TRYIT) self.ortho, ) return data