Commit Graph

191 Commits

Author SHA1 Message Date
tamat
e8eda9d30f fixes in audio 2020-03-25 13:13:58 +01:00
Javi Agenjo
6c98476cd5 Merge pull request #108 from smarthug/patch-2
resolve "TypeError: Cannot redefine property: shape" issue
2020-03-19 09:01:17 +01:00
tamat
7f4e5b8d79 fix 2020-03-19 08:57:36 +01:00
smarthug
d9cdf4ec13 resolve "TypeError: Cannot redefine property: shape" issue
When same node registered twice. It gives error.
ex:
LiteGraph.registerNodeType("basic/test", MyAddNode);
LiteGraph.registerNodeType("basic/test", MyAddNode);

To redefine an object property with "Object.defineProperty" method, configurable property should be set on true ( default is false)
ex : Object.defineProperty( '...' , '...' , {configurable: true})
2020-03-19 15:41:19 +09:00
tamat
b550042709 fix 2020-02-15 01:45:16 +01:00
tamat
5cef341c29 added combo widget 2020-02-04 15:13:32 +01:00
tamat
918b8599ae tiny fixes 2020-01-13 18:40:59 +01:00
tamat
337982ebfe optimization when rendering from far away 2019-11-14 14:25:46 +01:00
tamat
82c0ef837c better scroll in searchbox 2019-11-13 16:02:07 +01:00
tamat
514000aa81 fixes in scroll of searchbox 2019-11-13 16:00:06 +01:00
tamat
eb327547cc fix 2019-11-11 16:51:11 +01:00
tamat
a4352d5624 fix in onNodeDeselected 2019-11-11 16:30:04 +01:00
tamat
64a0109d87 fix in searchbox 2019-11-05 11:36:52 +01:00
DABEOM KIM
02f76a57df Support Microsoft Edge browser
event constructor type => pointerevent in MS Edge
2019-11-04 22:20:06 +09:00
tamat
775b714861 fixed bug in copy 2019-10-29 10:40:33 +01:00
tamat
ea6c909894 fixed bug in allow_searchbox 2019-10-23 10:04:58 +02:00
tamat
67ba69a14f fixed bug in context menu when fullscreen 2019-10-21 16:35:52 +02:00
tamat
be678adc0e fix in property editor 2019-10-21 13:20:53 +02:00
tamat
91d082cace fixes in replicated nodes 2019-09-02 23:33:59 +02:00
tamat
3612a46c77 Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2019-08-16 21:10:38 +02:00
tamat
ea2a44ed97 I think I messed up the git again... 2019-08-16 21:09:51 +02:00
NateScarlet
d1a1539dbe Correct use of last_link_id
Before this change, `last_link_id` is used as `next_link_id`
2019-08-12 16:22:37 +08:00
tamat
35773309fb JSON exporting graphs contain the node execution order 2019-07-18 15:02:49 +02:00
tamat
35bb70b163 added tooltips 2019-07-12 18:22:56 +02:00
tamat
ac14de7e59 added limit for runStep, fixed some nodes 2019-05-31 12:21:22 +02:00
tamat
54bc9b46cc fixes in searchbox 2019-05-27 20:10:47 +02:00
tamat
0b0a795ebb added read_only option in LGraphCanvas 2019-05-10 19:49:33 +02:00
tamat
cc2e26ac74 fix horizontal nodes 2019-05-08 15:15:44 +02:00
Javi Agenjo
3b52cb4d70 Merge branch 'master' into avoid-singleline-if 2019-05-02 14:19:38 +02:00
tamat
8b145a2e37 fixes in gltextures 2019-05-02 14:14:22 +02:00
NateScarlet
fc2f1e46bc chore: format codes 2019-05-02 19:25:46 +08:00
tamat
305beae7e0 fixing serialize link 2019-04-29 20:29:42 +02:00
tamat
c85f24cb9b added graph checkNodeTypes 2019-04-29 19:27:19 +02:00
NateScarlet
e05c67da69 fix: not defined variable with onSearchBox
fix #71
2019-04-28 20:05:59 +08:00
NateScarlet
d185e18b72 fix: use 1-based numbering for id
current id is 2-based
2019-04-28 17:24:11 +08:00
tamat
74c72ae0d2 fixed serialize LLink 2019-04-28 10:50:05 +02:00
tamat
85fff29f63 merge 2019-04-28 10:42:30 +02:00
tamat
cebd568660 mergin 2019-04-28 10:27:08 +02:00
NateScarlet
bcbde45b6a fix: reset current_node after deletion 2019-04-26 16:24:58 +08:00
NateScarlet
b9c10023da style: format codes 2019-04-26 16:23:48 +08:00
NateScarlet
f2c16f3182 style: format codes 2019-04-25 20:56:46 +08:00
NateScarlet
dd4cec8c7a fix(slot): nameLocked option not work 2019-04-25 11:33:13 +08:00
NateScarlet
11f3f54575 fix(widget): unexpected button callback call
`mousemove` event should not trigger callback of button widget
2019-04-24 16:17:23 +08:00
NateScarlet
2fe3d4b0ed fix: correct typo
correct typos

fix [onDrawCollapsed never get called](59035cf246/src/litegraph.js (L5908))
2019-04-23 14:15:57 +08:00
tamat
d86dce380d widgets can now be serialized if you set node.serialize_widgets = true 2019-04-13 09:47:22 +02:00
tamat
57eead4ad6 added events support for subgraphs 2019-04-11 20:15:10 +02:00
tamat
c03f0eb3b7 first working version of Subgraphs 2019-04-11 19:04:59 +02:00
tamat
7b77be53bf fixed bug 2019-04-01 20:15:17 +02:00
tamat
4c17c7263a added safe system in case a node ctor has errors 2019-02-08 18:59:13 +01:00
tamat
f64f3af165 merged 2019-01-18 15:43:41 +01:00