fixed compile all classes define + flxview3d check
This commit is contained in:
+1
-1
@@ -139,7 +139,7 @@
|
||||
|
||||
<!-- Comment this off to prevent additional classes from being compiled.
|
||||
Reduces compilation time at the cost of less HScript flexibility. !-->
|
||||
<haxedef name="COMPILE_ALL_CLASSES" />
|
||||
<define name="COMPILE_ALL_CLASSES" />
|
||||
|
||||
<section if="COMPILE_ALL_CLASSES">
|
||||
<haxeflag name="-dce" value="no" />
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
1470
|
||||
1471
|
||||
@@ -15,6 +15,12 @@ import away3d.loaders.Loader3D;
|
||||
// FlxView3D with helpers for easier updating
|
||||
|
||||
class Flx3DView extends FlxView3D {
|
||||
|
||||
public function new(x:Float = 0, y:Float = 0, width:Int = -1, height:Int = -1, scale:Float = 1) {
|
||||
if (!Flx3DUtil.is3DAvailable())
|
||||
throw "[Flx3DView] 3D is not available on this platform.";
|
||||
super(x, y, width, height, scale);
|
||||
}
|
||||
public function initLoader() {
|
||||
if (_loader != null) return;
|
||||
_loader = new Loader3D();
|
||||
|
||||
Reference in New Issue
Block a user