mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Profile editor - Added effect renaming
Core - Fixed effect loading Core - Fixed some effects not applying on per-LED brushes
This commit is contained in:
1 parent
2bf36fbf20
commit
cd8656cb0d
18 files changed
+292
-79
No files matched your search
@@ -117,7 +117,8 @@ public class PropertyGroupViewModel : ViewModelBase, IDisposable
|
||||
{
|
||||
// Get all properties and property groups and create VMs for them
|
||||
// The group has methods for getting this without reflection but then we lose the order of the properties as they are defined on the group
|
||||
foreach (PropertyInfo propertyInfo in LayerPropertyGroup.GetType().GetProperties())
|
||||
// Sorting is done to ensure properties defined by the Core (such as on layers) are always on top.
|
||||
foreach (PropertyInfo propertyInfo in LayerPropertyGroup.GetType().GetProperties().OrderBy(p => p.DeclaringType?.Assembly != Constants.CoreAssembly))
|
||||
{
|
||||
if (Attribute.IsDefined(propertyInfo, typeof(LayerPropertyIgnoreAttribute)))
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user