From 681c2f39d25551c6e98fb30d8073f4aa3790f6b8 Mon Sep 17 00:00:00 2001 From: mnordine Date: Thu, 17 Mar 2016 16:17:28 -0300 Subject: [PATCH 1/3] Fix runtime error when initializing WebGLRenderer --- lib/src/renderers/web_gl_renderer.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/renderers/web_gl_renderer.dart b/lib/src/renderers/web_gl_renderer.dart index a3fc3ab4..5a055121 100644 --- a/lib/src/renderers/web_gl_renderer.dart +++ b/lib/src/renderers/web_gl_renderer.dart @@ -20,7 +20,7 @@ class WebGLRenderer implements Renderer { Color _clearColor; num _clearAlpha; - double devicePixelRatio; + num devicePixelRatio; bool alpha, premultipliedAlpha, antialias, stencil, preserveDrawingBuffer; From 7271596b93c43d69021e158426b2c55b08ac7eb7 Mon Sep 17 00:00:00 2001 From: Mark Nordine Date: Mon, 21 Mar 2016 10:00:08 -0300 Subject: [PATCH 2/3] Fix compile error by no longer hiding Path from --- .gitignore | 1 + lib/three.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5ccd9fe8..4286eb74 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ pubspec.lock *.map *.dart.js.deps out +.packages diff --git a/lib/three.dart b/lib/three.dart index 16711c10..13f68f61 100644 --- a/lib/three.dart +++ b/lib/three.dart @@ -2,7 +2,7 @@ library three; import 'dart:async'; import 'dart:collection'; -import 'dart:html' hide Path; +import 'dart:html'; import 'dart:typed_data'; import 'dart:web_gl' as gl; import 'dart:math' as Math; From f909d8220b57f12b219ba08a3d397122204a09f7 Mon Sep 17 00:00:00 2001 From: Mark Nordine Date: Mon, 21 Mar 2016 10:06:34 -0300 Subject: [PATCH 3/3] Update version --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 688304b1..c5d117f1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: three -version: 0.2.5+1 +version: 0.2.5+2 authors: - Robert Silverton - Nelson Silva