mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Fixed current source selection behavior with swich to appearance view.
This commit is contained in:
@@ -26,7 +26,7 @@ void DrawVisitor::loop(int num, glm::mat4 transform)
|
||||
void DrawVisitor::visit(Node &n)
|
||||
{
|
||||
// draw the target
|
||||
if ( n.id() == target_->id()) {
|
||||
if ( target_ && n.id() == target_->id()) {
|
||||
|
||||
for (int i = 0; i < num_duplicat_; ++i) {
|
||||
// draw multiple copies if requested
|
||||
|
||||
Reference in New Issue
Block a user