This commit is contained in:
2025-12-05 08:08:44 +08:00
parent e0d4d0c364
commit 1f10abfb32
2909 changed files with 2470486 additions and 3024 deletions

View File

@@ -0,0 +1,25 @@
// This script is automatically executed when Maya starts! (even if the Plugin is not loaded!)
$verbose = false;
if ($verbose) print "QuadRemesher_load execution.........\n";
$alreadyInstalled = `optionVar -exists "QuadRemesherInstalled"`;
if ($verbose) print (" _load: alreadyInstalled="+$alreadyInstalled+"\n");
if ($alreadyInstalled == 0) { // First time -> set the Plugin as Loaded + AutoLoad
if ($verbose) print " _load: First time -> install it automatically\n";
// load the plugin
loadPlugin "QuadRemesherPlugIn";
// set as "AutoLoad"
pluginInfo -edit -autoload true "QuadRemesherPlugIn";
optionVar -stringValue "QuadRemesherInstalled" "installed" ;
} else {
// Other times: depends on User choice : Plugin Loaded or not!
if ($verbose) print " _load: Not First time -> nothing !\n";
}