b-editor / beutl

Cross-platform video editing (compositing) software.
https://beutl.beditor.net
MIT License
310 stars 17 forks source link

Fix crash when editing properties in Node Editor #1139

Closed yuto-trd closed 3 weeks ago

yuto-trd commented 3 weeks ago

Description

This fix addresses a System.InvalidOperationException that occurred in the Node Editor when editing properties. The crash was due to a failure in retrieving a required service in the SetValue method of BaseEditorViewModel. The update ensures that services are correctly initialized and accessible during property editing, preventing the application from crashing when properties are modified.

Breaking changes

Fixed issues

github-actions[bot] commented 3 weeks ago

No TODO comments were found.

github-actions[bot] commented 3 weeks ago

Code Coverage

Package Line Rate Branch Rate Complexity Health
Beutl.ProjectSystem 13% 7% 2182
Beutl.Utilities 73% 67% 360
Beutl.Threading 100% 92% 118
Beutl.Operators 4% 0% 62
Beutl.Engine 25% 24% 8897
Beutl.Core 33% 31% 3120
Beutl.Extensibility 2% 0% 66
Beutl.Configuration 39% 19% 285
Beutl.Language 0% 0% 650
Summary 25% (9300 / 37311) 25% (2660 / 10833) 15740

Minimum allowed line rate is 0%