- Timestamp:
- Mar 6, 2012 12:58:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/ParticleSystemFactory.cpp
r2805 r2814 114 114 pointSize = (float) atof(attrs[i + 1]); 115 115 } else if (!strcmp(attrs[i], "vector-field-x")) { 116 fieldWidth = (float) atof(attrs[i + 1]);116 fieldWidth = atoi(attrs[i + 1]); 117 117 } else if (!strcmp(attrs[i], "vector-field-y")) { 118 fieldHeight = (float) atof(attrs[i + 1]);118 fieldHeight = atoi(attrs[i + 1]); 119 119 } else if (!strcmp(attrs[i], "vector-field-z")) { 120 fieldDepth = (float) atof(attrs[i + 1]);120 fieldDepth = atoi(attrs[i + 1]); 121 121 } else if (!strcmp(attrs[i], "sort-enabled")) { 122 122 if (!strcmp(attrs[i + 1], "true"))
Note: See TracChangeset
for help on using the changeset viewer.