cxbrooks / test

Second test for bugzilla to git
0 stars 0 forks source link

Revision 53669 breaks codegen. #173

Closed cxbrooks closed 15 years ago

cxbrooks commented 15 years ago

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#273 From: Ben Lickly <blickly@eecs.berkeley.edu> Reported version: 7.1.devel CC: pt-dev@chess.eecs.berkeley.edu

cxbrooks commented 15 years ago

The revision 53669 breaks codegen in Vergil, in that double-clicking on a CCodeGenerator of a saved model now gives "No effigy: Please save the model to a file before generating code." rather than the codegen dialog.

Running codegen without Vergil still works fine.

Since this change was a fix for http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4053, I'm hesitant to just roll it back.

cxbrooks commented 15 years ago

Fixed by updating PtolemyFrame.java. Interestingly the CodeGeneratorGUI extends PtolemyFrame, which is why this issue came up.