With mged in GUI mode, switch to multiplane view, then
select Settings -> Apply To -> All Panes.
All commands will now apply to all four panes, which is
exactly what you want when turning grids and axes etc.
However, editing commands will also be applied to each
pane in turn. For instance, the command "r foo u bar"
will add the solid or combination "bar" to the region
"foo" four times; translation and rotation commands
will translate or rotate four times as much as
expected; "in" will tell you the solid you just created
already exists when it tries to create it again; "kill"
will tell you the solid you want to kill does not exist
when it tries to kill it a second time; etc.
In addition, passing the command to mged_apply turns
off user interaction, so incomplete commands result in
an error message instead of a prompt for the missing
I do not know enough Tcl to submit a patch, but I would
like to suggest the following fix:
- keep a list of all valid commands, marking each with
a flag to indicate whether it operates on the model or
on the view
- in ia_invoke() in src/tclscripts/mged/mged.tcl, look
up the first word of $hcmd in that list. If it is
flagged as a model command, or unlisted, ignore
apply_to and set $cmd directly to $hcmd.
Log in to post a comment.