Antonio Vazquez
c8b14f404c
GPv3: Fix Locked used instead of unused
...
This was introduced by error in previous commit
2023-11-28 16:35:44 +01:00
Antonio Vazquez
bf1c08a537
GPv3: Simplify loops and use `Set`instead of `VectorSet`
2023-11-28 11:54:24 +01:00
Antonio Vazquez
b292e037af
GPv3: Cleanup style and fix comment
2023-11-27 10:33:20 +01:00
Antonio Vazquez
429e769fbe
Merge branch 'main' into GPv3_mat_lock_unselect
2023-11-27 10:08:54 +01:00
Antonio Vazquez
e14986782d
GPv3: Use blender::Vector instead of standard Vector
2023-11-24 10:54:05 +01:00
Antonio Vazquez
60c0d54c22
GPv3: Refine comments II
2023-11-23 19:29:12 +01:00
Antonio Vazquez
441043aaa7
GPv3: Refine comments
2023-11-23 19:22:34 +01:00
Antonio Vazquez
be8bd0e7a3
GPv3: Cleanup comments
2023-11-23 19:20:19 +01:00
Antonio Vazquez
ac448e5e2d
GPv3: Fix error locking materials
...
The lock cannot be done inside the loop because the
selected strokes would be wrong.
Now, the list of used materials is saved in a Vector
and when the loop ends, the list is used to lock the
unused materials.
2023-11-23 19:10:59 +01:00
Antonio Vazquez
316cc8a47d
Merge branch 'main' into GPv3_mat_lock_unselect
...
Conflicts:
scripts/startup/bl_ui/properties_material_gpencil.py
source/blender/editors/grease_pencil/intern/grease_pencil_material.cc
2023-11-23 16:06:05 +01:00
Antonio Vazquez
65edcec2db
GPv3: Cleanup loop
2023-11-22 23:00:45 +01:00
Antonio Vazquez
9c247b9721
Cleanup include lines
2023-11-22 17:45:13 +01:00
Antonio Vazquez
c6c25f0308
GPv3: Lock Unselected Materials Operator
...
This is the same functionality of GPv2 version
2023-11-22 17:44:16 +01:00