mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added notification center call for adding filters to meshes
This commit is contained in:
parent
460aa9678d
commit
40cdf9867e
4 changed files with 151 additions and 65 deletions
|
|
@ -119,6 +119,11 @@ function (Parent, Settings, Nc, Exception) {
|
|||
var callback = function (mesh) {
|
||||
self.headMesh = mesh;
|
||||
Nc.trigger(Nc.ns.client.view.mesh.add, mesh);
|
||||
|
||||
Nc.trigger(Nc.ns.client.view.mesh.addFilter, mesh, 'pixelate', {
|
||||
sizeX: 4,
|
||||
sizeY: 4
|
||||
});
|
||||
}
|
||||
Nc.trigger(Nc.ns.client.view.mesh.create, texturePath, callback, {
|
||||
pivot: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue