Changeset 21040


Ignore:
Timestamp:
07/30/16 19:17:00 (9 years ago)
Author:
ayfeng
Message:

FIX: Calling extrude on 2D meshes was not possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/model.js

    r20931 r21040  
    203203            }
    204204
    205             if (md.mesh.domaintype() !== '3D') {
     205            if (md.mesh.domaintype() === '3D') {
    206206                console.error('Cannot extrude a 3d mesh (extrude cannot be called more than once)');
    207207            }
Note: See TracChangeset for help on using the changeset viewer.