From 54402eac1dcc8c3f724662d231d9988aa15b947a Mon Sep 17 00:00:00 2001
From: Eric Wait <eric@waitphoto.com>
Date: Tue, 28 Mar 2017 19:57:48 -0400
Subject: [PATCH] Making empty poly structs will not return an empty struct

---
 src/matlab/+D3d/+Polygon/MakeEmptyStruct.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/matlab/+D3d/+Polygon/MakeEmptyStruct.m b/src/matlab/+D3d/+Polygon/MakeEmptyStruct.m
index f96e378..e3931f4 100644
--- a/src/matlab/+D3d/+Polygon/MakeEmptyStruct.m
+++ b/src/matlab/+D3d/+Polygon/MakeEmptyStruct.m
@@ -1,6 +1,6 @@
 function [ poly ] = MakeEmptyStruct()
 %[ poly ] = D3d.Polygon.MakeEmptyStruct()
 
-poly = struct('index',{0}, 'frame',{0}, 'label',{''}, 'color',{[0,0,0]}, 'faces',{[]}, 'verts',{[]}, 'norms',{[]}, 'CenterOfMass',{[0,0,0]});
+poly = struct('index',{}, 'frame',{}, 'label',{}, 'color',{}, 'faces',{}, 'verts',{}, 'norms',{}, 'CenterOfMass',{});
 end
 
-- 
GitLab