26 lines
354 B
JavaScript
26 lines
354 B
JavaScript
|
var project = this.getParentProject();
|
||
|
|
||
|
if (!project || !project.loaded) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Ignore events which don't belong to my project
|
||
|
*/
|
||
|
if (project !== data.project) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
if (!this.initialized) {
|
||
|
|
||
|
/**
|
||
|
* Set some initialization code here
|
||
|
*/
|
||
|
|
||
|
this.initialized = true;
|
||
|
}
|
||
|
|
||
|
|
||
|
return null;
|
||
|
|
||
|
//@ sourceURL=3d_project_1_code_mouse_move.js
|