Changeset 8559:2fd6a77e3fb4 in orange


Ignore:
Timestamp:
08/01/11 19:25:12 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
f067d116d7c3182c1bc3f9e3aae2ee35840f011c
Message:

Fixed zoom-out-scale bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/plot/owplot3d.py

    r8558 r8559  
    12131213            new_scale, new_translation = self.zoom_stack.pop() 
    12141214        self._animate_new_scale_translation(new_scale, new_translation) 
     1215        self.zoomed_size = self.view_cube_edge / new_scale 
    12151216 
    12161217    def save_to_file(self): 
     
    14731474        self.legend.clear() 
    14741475        self.zoom_stack = [] 
     1476        self.zoomed_size = [self.view_cube_edge, 
     1477                            self.view_cube_edge, 
     1478                            self.view_cube_edge] 
    14751479        self.translation = numpy.array([0., 0., 0.]) 
    14761480        self.scale = numpy.array([1., 1., 1.]) 
Note: See TracChangeset for help on using the changeset viewer.