Changeset 72972


Ignore:
Timestamp:
Jul 10, 2018, 11:26:21 AM (6 years ago)
Author:
annakrat
Message:

wxGUI: fix m.nviz.image command building

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/gui/wxpython/nviz/mapwindow.py

    r70145 r72972  
    26242624
    26252625        # output
     2626        width, height = self.GetClientSize()
    26262627        subcmd = 'output=nviz_output '
    26272628        subcmd += 'format=ppm '
    2628         subcmd += 'size=%d,%d ' % self.GetClientSize()
     2629        subcmd += 'size=%d,%d ' % (width, height)
    26292630        cmd += subcmd
    26302631
Note: See TracChangeset for help on using the changeset viewer.