 LineEdit@ xEdit = null;
 LineEdit@ yEdit = null;
 LineEdit@ zEdit = null;
+LineEdit@ rotXEdit = null;
+LineEdit@ rotYEdit = null;
+LineEdit@ rotZEdit = null;
+LineEdit@ rotAmmount = null;
 LineEdit@ cloneCountEdit = null;
 Button@ okBtn = null;
 Button@ cancelBtn = null;

	temp = zEdit.getText();
	offset.z = parseFloat(temp);

	temp = cloneCountEdit.getText();
	cloneCount = parseInt(temp);



	dlg.accept();
	finished = true;
}

void updateClones()
{
	for(int i = 0; i < (cloneCount); i++)
	{
		BaseEditor @newObj = list[i];
		
		Quaternion q;
		q.FromAngleAxis(degrees * (i + 1), rotationAxis);
		newObj.setDerivedPosition(b.getDerivedPosition() + offset * (i + 1));
		newObj.setDerivedOrientation(q);

		EditorVector v;
		v.push_back(b);
		m.set(v);
	}
}

void onUpdateClick()
