fix Coverity issues

This commit is contained in:
wmayer
2016-08-21 14:03:02 +02:00
parent 8cc3ee64e8
commit 0824c5fd3c
29 changed files with 621 additions and 543 deletions

View File

@@ -58,7 +58,9 @@ class SoVectorizePoint : public SoVectorizeItem {
public:
SoVectorizePoint(void) {
this->type = POINT;
this->vidx = 0;
this->size = 1.0f;
this->col = 0;
}
int vidx; // index to BSPtree coordinate
float size; // Coin size (pixels)
@@ -91,6 +93,9 @@ class SoVectorizeText : public SoVectorizeItem {
public:
SoVectorizeText(void) {
this->type = TEXT;
this->fontsize = 10;
this->col = 0;
this->justification = LEFT;
}
enum Justification {