Skip to content
This repository
Browse code

Fixed a bug where shapes that were exported more than once came out b…

…lack
  • Loading branch information...
commit d89b4edbabdc2fc2302a8ba7d351225d65bb3a1d 1 parent 5ca0141
authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  src/com/codeazur/as3swf/data/SWFShape.as
3  src/com/codeazur/as3swf/data/SWFShape.as
@@ -192,6 +192,9 @@
192 192
 		}
193 193
 		
194 194
 		public function export(handler:IShapeExporter = null):void {
  195
+			// Reset the flag so that shapes can be exported multiple times
  196
+			edgeMapsCreated = false;
  197
+			
195 198
 			// Create edge maps
196 199
 			createEdgeMaps();
197 200
 			// If no handler is passed, default to DefaultShapeExporter (does nothing)

0 notes on commit d89b4ed

Please sign in to comment.
Something went wrong with that request. Please try again.