Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cassiopee
jalhyd
Commits
f79f8069
Commit
f79f8069
authored
Oct 30, 2019
by
Mathias Chouet
🍝
Browse files
Fix bug in Nub.resetDefaultcalculatedParam()
parent
d13b5b67
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/nub.ts
View file @
f79f8069
...
...
@@ -251,12 +251,7 @@ export abstract class Nub extends ComputeNode implements IObservable {
// if default calculated param is not eligible to CALC mode
if
(
requirer
===
this
.
_defaultCalculatedParam
||
!
[
ParamValueMode
.
SINGLE
,
ParamValueMode
.
MINMAX
,
ParamValueMode
.
LISTE
].
includes
(
this
.
_defaultCalculatedParam
.
valueMode
)
||
this
.
_defaultCalculatedParam
.
valueMode
===
ParamValueMode
.
LINK
)
{
// first SINGLE calculable parameter if any
const
newCalculatedParam
=
this
.
findFirstCalculableParameter
(
requirer
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment