To test it create a sequence, and metastrip it. Then, using the python console, find the metastripped sequence and run sequence.parent_meta().
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- ft_get_hierachy (branched from master)
- Build Status
Buildable 15933 Build 15933: arc lint + arc unit
Event Timeline
Comment Actions
Seems to work well, got mostly style issues.
| source/blender/compositor/operations/COM_SMAAOperation.cc | ||
|---|---|---|
| 22 | Unrelated change | |
| source/blender/makesrna/intern/rna_sequencer_api.c | ||
| 680 | Usually functions like this should follow convention something_something_get, assumption is, that you may have _set function too. here is no set function so you can also use just Sequence.parent_meta without "get" | |
| 684 | This is description of returned type, so "Get x" is not quite applicable. | |
| source/blender/sequencer/intern/strip_relations.c | ||
| 508–517 | I think it's best to add seq_find_metastrip_by_sequence to header directly with uppercase SEQ_ prefix, since SEQ_get_parent_meta is not providing any aditional functionality. | |
| source/blender/compositor/operations/COM_SMAAOperation.cc | ||
|---|---|---|
| 22 | This is because of make format, I'll try to remove it to from the commit then... | |