Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addons: Deprecate MMD modules. #29698

Merged
merged 2 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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