Source creation by origin: File, software and hardware. Separate source

classes for Media and Session sources. Update of file dialog
accordingly.
This commit is contained in:
brunoherbelin
2020-05-20 22:16:31 +02:00
parent 46f3ad5a50
commit a2ea06b2c6
18 changed files with 584 additions and 361 deletions

View File

@@ -304,6 +304,7 @@ void GeometryView::grab (glm::vec2 from, glm::vec2 to, Source *s, std::pair<Node
S_resize.y = S_resize.x;
sourceNode->scale_ = start_scale * S_resize;
Log::Info(" resize ( %.1f, %.1f ) ", S_resize.x, S_resize.y);
// glm::vec3 factor = S_resize * glm::vec3(0.5f, 0.5f, 1.f);
//// glm::vec3 factor = S_resize * glm::vec3(1.f, 1.f, 1.f);
//// factor *= glm::sign( glm::vec3(pick.second, 1.f) );