Skip to content

Commit

Permalink
Addons: Deprecate MMD modules. (#29698)
Browse files Browse the repository at this point in the history
* Addons: Deprecate MMD modules.

* MMD: Update link to new repo.
  • Loading branch information
Mugen87 authored Oct 23, 2024
1 parent 3293572 commit e4bae2f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/jsm/animation/MMDAnimationHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class MMDAnimationHelper {
this.sharedPhysics = false;
this.masterPhysics = null;

console.warn( 'THREE.MMDAnimationHelper: The module has been deprecated and will be removed with r172. Please migrate to https://github.com/takahirox/three-mmd-loader instead.' );

}

/**
Expand Down
2 changes: 2 additions & 0 deletions examples/jsm/animation/MMDPhysics.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ class MMDPhysics {

this._init( mesh, rigidBodyParams, constraintParams );

console.warn( 'THREE.MMDPhysics: The module has been deprecated and will be removed with r172. Please migrate to https://github.com/takahirox/three-mmd-loader instead.' );

}

/**
Expand Down
6 changes: 6 additions & 0 deletions examples/jsm/exporters/MMDExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ import { MMDParser } from '../libs/mmdparser.module.js';

class MMDExporter {

constructor() {

console.warn( 'THREE.MMDExporter: The module has been deprecated and will be removed with r172. Please migrate to https://github.com/takahirox/three-mmd-loader instead.' );

}

/* TODO: implement
// mesh -> pmd
this.parsePmd = function ( object ) {
Expand Down
2 changes: 2 additions & 0 deletions examples/jsm/loaders/MMDLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ class MMDLoader extends Loader {
this.meshBuilder = new MeshBuilder( this.manager );
this.animationBuilder = new AnimationBuilder();

console.warn( 'THREE.MMDLoader: The module has been deprecated and will be removed with r172. Please migrate to https://github.com/takahirox/three-mmd-loader instead.' );

}

/**
Expand Down

0 comments on commit e4bae2f

Please sign in to comment.