mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-07-10 06:28:38 +02:00
"existing tags" temp profile when editing, "existing operator" profile when such tags exist, full editing of existing nodes via refine tags
This commit is contained in:
@@ -19,8 +19,11 @@ class DirectionConesBuilder {
|
||||
}) {
|
||||
final overlays = <Polygon>[];
|
||||
|
||||
// Add session cones if in add-camera mode and profile requires direction
|
||||
if (session != null && session.target != null && session.profile?.requiresDirection == true) {
|
||||
// Add session cones if in add-camera mode and profile requires direction AND we have directions
|
||||
if (session != null &&
|
||||
session.target != null &&
|
||||
session.profile?.requiresDirection == true &&
|
||||
session.directions.isNotEmpty) {
|
||||
final sessionFov = session.profile?.fov ?? (kDirectionConeHalfAngle * 2);
|
||||
|
||||
// Add current working direction (full opacity)
|
||||
@@ -50,8 +53,10 @@ class DirectionConesBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
// Add edit session cones if in edit-camera mode and profile requires direction
|
||||
if (editSession != null && editSession.profile?.requiresDirection == true) {
|
||||
// Add edit session cones if in edit-camera mode and profile requires direction AND we have directions
|
||||
if (editSession != null &&
|
||||
editSession.profile?.requiresDirection == true &&
|
||||
editSession.directions.isNotEmpty) {
|
||||
final sessionFov = editSession.profile?.fov ?? (kDirectionConeHalfAngle * 2);
|
||||
|
||||
// Add current working direction (full opacity)
|
||||
|
||||
Reference in New Issue
Block a user