Skip to content

Commit

Permalink
Annotation scale is now in KhepriBase.
Browse files Browse the repository at this point in the history
  • Loading branch information
aptmcl committed Oct 20, 2024
1 parent dfbb41f commit d5d4cae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Shapes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,8 @@ prev_annotation_that(p) =

export default_annotation_material
const default_annotation_material = Parameter{Material}(material(layer("annotation", true, rgba(0, 0, 0.5, 1.0))))
export annotation_scale
const annotation_scale = Parameter{Real}(1.0)

existing_material(mat, mats) =
any(m -> m.layer.color == mat.layer.color, mats)
Expand Down

0 comments on commit d5d4cae

Please sign in to comment.