Skip to content

Commit

Permalink
Fixed - When not using pixel buffers, after rendering an offscreen ic…
Browse files Browse the repository at this point in the history
…on/image the drawing target was not correctly reset to the screen.
  • Loading branch information
trisyoungs committed Jul 25, 2012
1 parent 15138ed commit 8b1225c
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(Aten)
set(DESCRIPTION "Aten - Atomic configuration builder and editor")
set(AUTHOR "Tristan Youngs")
set(VERSION_MAJOR "1")
set(VERSION_MINOR "829")
set(VERSION_MINOR "830")
set(VERSION_PATCH "1")

set(CMAKE_BUILD_TYPE "Release")
Expand Down
2 changes: 2 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<h1>Known Bugs</h1>

<ul>
<li>Creating expression for trajectory frame causes crash?</li>
<li>Normals for plotCube() are wrong.</li>
<li>When manipulating an atom selection, undoing afterwards does not undo Fold</li>
<li>UnitCell:mim(Atom*,Vec3) returns incorrect position - where is it used?</li>
<li>Glyph list not updated on model load.</li>
Expand Down
4 changes: 2 additions & 2 deletions aten.kdev4
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[Project]
Manager=KDevCMakeManager
Name=aten-pixmap
Manager=KDevCustomMakeManager
Name=aten
2 changes: 1 addition & 1 deletion aten.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Name, brief description, and version
Summary: Aten - Atomic configuration builder and editor
Name: %{shortname}
Version: 1.829
Version: 1.830
Release: 1
License: GPL
%define fullname %{name}-%{version}
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
AC_PREREQ(2.60)

# Set program name, version, bug-address and source directory
m4_define([ATEN_VERSION],[1.829])
m4_define([ATEN_VERSION],[1.830])
AC_INIT(aten,ATEN_VERSION,[email protected])
AC_CONFIG_SRCDIR([src/main.cpp])

Expand Down
4 changes: 2 additions & 2 deletions extra/aten.dsc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Format: 1.0
Source: aten
Version: 1.829
Version: 1.830
Binary: aten
Maintainer: Tristan Youngs <[email protected]>
Architecture: any
Build-Depends: debhelper (>= 4.1.16), libqt4-dev | libqt4-core, libqt4-opengl-dev, libreadline5-dev | libreadline-dev, libgl1-mesa-dev, pkgconfig | pkg-config, libncurses5
Files:
4aec60597e330aeae02c1af550c6deab 4293031 aten-1.829.tar.gz
4aec60597e330aeae02c1af550c6deab 4293031 aten-1.830.tar.gz
4 changes: 2 additions & 2 deletions src/main/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#ifndef ATEN_VERSION_H
#define ATEN_VERSION_H

#define ATENVERSION "1.829"
#define ATENREVISION "1829"
#define ATENVERSION "1.830"
#define ATENREVISION "1830"
#define ATENDATE "Thu 28 Jun - 13:36"
#define ATENURL "http://aten.googlecode.com/svn/trunk"

Expand Down
2 changes: 1 addition & 1 deletion src/render/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ QPixmap RenderEngine::renderModelIcon(Model *source)
// Generate offscreen bitmap (a temporary context will be created)
gui.mainCanvas()->setRenderType(OffscreenModel, source);
QPixmap pixmap = gui.mainCanvas()->renderPixmap(100,100);
gui.mainCanvas()->setRenderType(OffscreenModel);
gui.mainCanvas()->setRenderType(OnscreenModel);

// Flag for rendering list regeneration again
clearListsFlag_ = TRUE;
Expand Down

0 comments on commit 8b1225c

Please sign in to comment.