Opened 10 years ago

Closed 10 years ago

#304 closed defect (fixed)

clipping problems

Reported by: Greg Couch Owned by: Tom Goddard
Priority: blocker Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

A couple of clipping problems:

1) The clip command doesn't take visible effect until the graphics is updated another way.

2) "clip far off" gives a backtrace:

Traceback (most recent call last):
  File "/home/gregc/src/chimerax/ChimeraX.app/lib/python3.5/site-packages/chimerax/cmd_line/gui.py", line 119, in on_enter
    cmd.run(cmd_text)
  File "/home/gregc/src/chimerax/ChimeraX.app/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2152, in run
    results.append(ci.function(session, **kw_args))
  File "/home/gregc/src/chimerax/ChimeraX.app/lib/python3.5/site-packages/chimerax/core/commands/clip.py", line 58, in clip
    adjust_plane('far', -far, pos, None, planes, v, z)
TypeError: bad operand type for unary -: 'str'

Change History (1)

comment:1 by Tom Goddard, 10 years ago

Resolution: fixed
Status: newclosed

Fixed.

Clip command did not cause redraw if no clip cap was created.

Note: See TracTickets for help on using tickets.