Commit graph

19 commits

Author SHA1 Message Date
Julien-Haudegond
688027a69f [ui] MediaLibrary: fix dependency binding 2020-08-21 17:25:18 +02:00
Julien-Haudegond
0c9dc81a82 [core] fix validateValue and setValue for Attributes 2020-08-13 14:24:44 +02:00
Julien-Haudegond
cd89a49156 [core] GroupAttribute: add new ways of setting value
- Add: set value with JS Object
- Add: set value from a JSON String
2020-08-13 14:24:44 +02:00
Fabien Castan
588c2e59b8
[core] GroupAttribute: check "enabled" property of child params in uid computation
Disabled params should not be part of the UID computation, even for child attributes of an enabled GroupAttribute.
2020-08-11 11:50:59 +02:00
Julien-Haudegond
9e6c137ea2 [core] fix enabled issue when version mismatch 2020-07-29 17:02:16 +02:00
Julien-Haudegond
524a4ab629 [core] fix enabled parameter inside group and list 2020-07-29 11:32:52 +02:00
Julien-Haudegond
2d953d7319 [core] add enabled property on attributes
The new property "enabled" allows to define a lambda to dynamically enable/disable parameters.
Disabled parameters are not used in the uid, not exported to the command line and not visible in the interface.
2020-07-24 17:36:17 +02:00
Fabien Castan
c02267b4ce [core] avoid error during project load 2020-07-18 14:43:55 +02:00
Karthikeyan Singaravelan
165ba412e4
Import ABC from collections.abc (#983)
Use compatibility layer for Python 2 support
2020-07-16 16:02:51 +02:00
Fabien Castan
2401a366e2 [core] expose a recursive option in getLinkParam 2020-07-02 18:15:03 +02:00
Fabien Castan
7d99ba4b59 [core] copy attribute desc default value
to ensure that it is not editable if the value is a list
2020-07-01 01:54:16 +02:00
Fabien Castan
bbc56cfb31 [core] Add support for lambda function in Attribute desc value
Allows to dynamically configure the default value of the Attribute in python.
2020-06-28 17:39:50 +02:00
Fabien Castan
76fd327fde [ui] qml warning fix by using directly the edge object instead of the property 2020-03-10 12:57:38 +01:00
Clara
9f928e1ea0 [mesh] Texturing: set parameters for multi-band blending
Use only 3 parameters : useScore, multiBandDownscale, multiBandNbContrib
2019-05-13 17:04:26 +02:00
Yann Lanthony
1a22fc8ae8 [core] add GroupAttribute.childAttribute method
* easier access to child attributes
* callable from QML
2019-03-01 17:22:57 +01:00
Yann Lanthony
3dad1e3aac [core] Attribute: expose 'node' and 'linkParam' as properties 2018-11-19 15:17:36 +01:00
Yann Lanthony
400835d8f8 [core] Attribute: expose 'fullName' as property 2018-11-19 15:17:36 +01:00
Yann Lanthony
93dd055f72 [clean] fix variable names and typos
* node_factory & attribute_factory to camelCase
* fix depths variable in updateNodesTopologicalData
2018-07-26 12:11:43 +02:00
Yann Lanthony
1f675a0e42 [core] split graph.py into separate modules
core.graph is now splitted into: 
  * graph.py
  * node.py
  * attribute.py
2018-06-26 12:19:14 +02:00