Commit 0c3eb346 authored by Claes Sjofors's avatar Claes Sjofors

Java, read pwg fix for groups and fix for GrowText

parent 983e4c88
......@@ -269,10 +269,12 @@ public class GrowNode extends GlowArrayElem implements GlowColorNode {
break;
case Glow.eSave_Node_nc:
nc_name = token.nextToken();
if ( type() != Glow.eObjectType_GrowGroup) {
nc = (GlowNodeClass)cmn.ctx.get_nodeclass_from_name( nc_name);
nc_root = nc;
if ( nc == null)
System.out.println( "GlowNode : " + line + ", node class not found: " + nc_name);
}
break;
case Glow.eSave_Node_n_name:
if ( token.hasMoreTokens())
......
......@@ -210,7 +210,7 @@ public class GrowText extends GlowArrayElem {
public void draw(GlowTransform t, int highlight, int hot, Object node, Object colornode) {
if ( cmn.nodraw != 0)
if ( cmn.nodraw != 0 || text == null)
return;
int x1, y1, rx1, ry1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment