New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@three-material-editor/core

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@three-material-editor/core - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

10

dist/core.cjs.development.js

@@ -425,3 +425,2 @@ 'use strict';

var value = {
ref: program,
type: type,

@@ -435,2 +434,3 @@ open: true,

exports.editorContext.activeMaterial = value;
exports.editorContext.activeMaterial.ref = program;
editorState.showEditor = true;

@@ -485,3 +485,3 @@ editorState.diffMode = false;

className: styles$2.multiusers
}, /*#__PURE__*/React__default.createElement(io5.IoCubeOutline, null), /*#__PURE__*/React__default.createElement("small", null, material.numberOfMaterialsUser)), !material.isEffect && (material && !material.visible ? /*#__PURE__*/React__default.createElement(io5.IoEyeOffOutline, {
}, /*#__PURE__*/React__default.createElement(io5.IoCubeOutline, null), /*#__PURE__*/React__default.createElement("small", null, material.numberOfMaterialsUser)), material && !material.visible && !material.isEffect ? /*#__PURE__*/React__default.createElement(io5.IoEyeOffOutline, {
onClick: hide,

@@ -492,3 +492,3 @@ className: styles$2.eye

className: styles$2.eye
}))), open && /*#__PURE__*/React__default.createElement("ul", null, material.fragmentShader && /*#__PURE__*/React__default.createElement(LiMenu, {
})), open && /*#__PURE__*/React__default.createElement("ul", null, material.fragmentShader && /*#__PURE__*/React__default.createElement(LiMenu, {
program: program,

@@ -585,3 +585,3 @@ type: 'frag'

}
}, /*#__PURE__*/React__default.createElement(vsc.VscCompareChanges, null), " Close diff"), !isShader && !snapshot.diffMode && !snapshot.obcMode && !material.isEffect && /*#__PURE__*/React__default.createElement("div", {
}, /*#__PURE__*/React__default.createElement(vsc.VscCompareChanges, null), " Close diff"), !isShader && !snapshot.diffMode && !snapshot.obcMode && material && !material.isEffect && /*#__PURE__*/React__default.createElement("div", {
className: styles$2.menubaction,

@@ -591,3 +591,3 @@ onClick: function onClick() {

}
}, /*#__PURE__*/React__default.createElement(ai.AiOutlineFunction, null), " onBeforeCompile"), !isShader && snapshot.obcMode && !material.isEffect && /*#__PURE__*/React__default.createElement("div", {
}, /*#__PURE__*/React__default.createElement(ai.AiOutlineFunction, null), " onBeforeCompile"), !isShader && snapshot.obcMode && material && !material.isEffect && /*#__PURE__*/React__default.createElement("div", {
className: styles$2.menubaction + " " + styles$2.closemenubaction,

@@ -594,0 +594,0 @@ onClick: function onClick() {

@@ -417,3 +417,2 @@ import React, { useState, useRef, useEffect, useLayoutEffect } from 'react';

var value = {
ref: program,
type: type,

@@ -427,2 +426,3 @@ open: true,

editorContext.activeMaterial = value;
editorContext.activeMaterial.ref = program;
editorState.showEditor = true;

@@ -477,3 +477,3 @@ editorState.diffMode = false;

className: styles$2.multiusers
}, /*#__PURE__*/React.createElement(IoCubeOutline, null), /*#__PURE__*/React.createElement("small", null, material.numberOfMaterialsUser)), !material.isEffect && (material && !material.visible ? /*#__PURE__*/React.createElement(IoEyeOffOutline, {
}, /*#__PURE__*/React.createElement(IoCubeOutline, null), /*#__PURE__*/React.createElement("small", null, material.numberOfMaterialsUser)), material && !material.visible && !material.isEffect ? /*#__PURE__*/React.createElement(IoEyeOffOutline, {
onClick: hide,

@@ -484,3 +484,3 @@ className: styles$2.eye

className: styles$2.eye
}))), open && /*#__PURE__*/React.createElement("ul", null, material.fragmentShader && /*#__PURE__*/React.createElement(LiMenu, {
})), open && /*#__PURE__*/React.createElement("ul", null, material.fragmentShader && /*#__PURE__*/React.createElement(LiMenu, {
program: program,

@@ -577,3 +577,3 @@ type: 'frag'

}
}, /*#__PURE__*/React.createElement(VscCompareChanges, null), " Close diff"), !isShader && !snapshot.diffMode && !snapshot.obcMode && !material.isEffect && /*#__PURE__*/React.createElement("div", {
}, /*#__PURE__*/React.createElement(VscCompareChanges, null), " Close diff"), !isShader && !snapshot.diffMode && !snapshot.obcMode && material && !material.isEffect && /*#__PURE__*/React.createElement("div", {
className: styles$2.menubaction,

@@ -583,3 +583,3 @@ onClick: function onClick() {

}
}, /*#__PURE__*/React.createElement(AiOutlineFunction, null), " onBeforeCompile"), !isShader && snapshot.obcMode && !material.isEffect && /*#__PURE__*/React.createElement("div", {
}, /*#__PURE__*/React.createElement(AiOutlineFunction, null), " onBeforeCompile"), !isShader && snapshot.obcMode && material && !material.isEffect && /*#__PURE__*/React.createElement("div", {
className: styles$2.menubaction + " " + styles$2.closemenubaction,

@@ -586,0 +586,0 @@ onClick: function onClick() {

{
"name": "@three-material-editor/core",
"version": "0.2.7",
"version": "0.2.8",
"description": "Internal, core",

@@ -55,3 +55,3 @@ "author": "Renaud ROHLINGER",

},
"gitHead": "c2e7583f2593fad1e171c2b6d87eae17e181b2cd"
"gitHead": "5f5b66d8a70cac63e6d3f0bab3fd9612693fac70"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc