Merge pull request #636 from openscad/issue634

Fix positional arguments for polyhedron (fixes #634).
export-menu
Marius Kintel 2014-02-03 07:27:22 -08:00
commit 042f8c4d65
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ AbstractNode *PrimitiveModule::instantiate(const Context *ctx, const ModuleInsta
args += Assignment("h", NULL), Assignment("r1", NULL), Assignment("r2", NULL), Assignment("center", NULL);
break;
case POLYHEDRON:
args += Assignment("points", NULL), Assignment("triangles", NULL), Assignment("convexity", NULL), Assignment("faces", NULL);
args += Assignment("points", NULL), Assignment("faces", NULL), Assignment("convexity", NULL);
break;
case SQUARE:
args += Assignment("size", NULL), Assignment("center", NULL);