forked from 1b-agent/opencadstudio-upstream
Apply and edit drawing current transparency
This commit is contained in:
1 parent
6e74cc48d8
commit
b24feab498
8 files changed
+72
-8
No files matched your search
@@ -2671,6 +2671,8 @@ impl Scene {
|
||||
if let Some((color, transparency)) = entity_style {
|
||||
entity.common_mut().color = color;
|
||||
entity.common_mut().transparency = transparency;
|
||||
} else {
|
||||
entity.common_mut().transparency = self.document.current_entity_transparency();
|
||||
}
|
||||
|
||||
self.add_entity(entity)
|
||||
|
||||
Reference in new issue
Block a user