Changeset 2509 for trunk


Ignore:
Timestamp:
Sep 11, 2011, 8:31:35 PM (13 years ago)
Author:
ldelgass
Message:

Allow setting all axis units at the same time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/vtkvis/RpVtkRendererCmd.cpp

    r2508 r2509  
    279279        g_renderer->setAxisUnits(Renderer::Y_AXIS, units);
    280280    } else if ((c == 'z') && (strcmp(string, "z") == 0)) {
     281        g_renderer->setAxisUnits(Renderer::Z_AXIS, units);
     282    } else if ((c == 'a') && (strcmp(string, "all") == 0)) {
     283        g_renderer->setAxisUnits(Renderer::X_AXIS, units);
     284        g_renderer->setAxisUnits(Renderer::Y_AXIS, units);
    281285        g_renderer->setAxisUnits(Renderer::Z_AXIS, units);
    282286    } else {
Note: See TracChangeset for help on using the changeset viewer.