Skip to content

Commit

Permalink
- Blender Exporter: Using filename instead of object name for classna…
Browse files Browse the repository at this point in the history
…me (easier to use that way)
  • Loading branch information
mrdoob committed Jul 13, 2010
1 parent 794e26a commit 5268aeb
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Other similar projects: [pre3d](http://deanm.github.com/pre3d/), [pvjs](http://c

### Usage ###

Download the [compiled library](http://github.com/mrdoob/three.js/raw/master/build/three.js) and include it in your html.
Download the [compressed library](http://github.com/mrdoob/three.js/raw/master/build/three.js) and include it in your html.

<script type="text/javascript" src="js/three.js"></script>

Expand Down Expand Up @@ -124,7 +124,7 @@ Thanks to the power of the internets (and github <3) these people have kindly he

### Change Log ###

2010 07 12 - **r13** (29.410 kb)
2010 07 12 - **r13** (29.492 kb)

* Added `ParticleCircleMaterial` and `ParticleBitmapMaterial`
* `Particle` now use `ParticleCircleMaterial` instead of `ColorFillMaterial`
Expand Down
2 changes: 1 addition & 1 deletion build/three.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/materials_video.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
var amountx = 10;
var amounty = 10;

var material = new THREE.ColorFillMaterial(0x808080);
var material = new THREE.ParticleCircleMaterial(0x808080);

for (var ix = 0; ix < amountx; ix++) {

Expand Down
2 changes: 1 addition & 1 deletion utils/deployer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
files.append('core/Geometry.js');
files.append('cameras/Camera.js');
files.append('objects/Object3D.js');
files.append('objects/Particle.js');
files.append('objects/Line.js');
files.append('objects/Mesh.js');
files.append('objects/Particle.js');
files.append('materials/BitmapUVMappingMaterial.js');
files.append('materials/ColorFillMaterial.js');
files.append('materials/ColorStrokeMaterial.js');
Expand Down
2 changes: 1 addition & 1 deletion utils/export_threejs_25a2.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def write(filename, scene, ob, \
if not filename.lower().endswith('.js'):
filename += '.js'

classname = ob.name
classname = filename.split('/')[-1].strip('.js')

if not ob:
raise Exception("Error, Select the object to export")
Expand Down
2 changes: 1 addition & 1 deletion utils/export_threejs_25b.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def write(filename, scene, ob, \
if not filename.lower().endswith('.js'):
filename += '.js'

classname = ob.name
classname = filename.split('/')[-1].strip('.js')

if not ob:
raise Exception("Error, Select the object to export")
Expand Down

0 comments on commit 5268aeb

Please sign in to comment.