Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 63ea46dc authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

fixed some valgrind issues

parent 45d9ad1e
......@@ -92,25 +92,25 @@ namespace campvis {
switch (wtp._baseType) {
case WeaklyTypedPointer::UINT8:
delete static_cast<uint8_t*>(wtp._pointer);
delete [] static_cast<uint8_t*>(wtp._pointer);
break;
case WeaklyTypedPointer::INT8:
delete static_cast<int8_t*>(wtp._pointer);
delete [] static_cast<int8_t*>(wtp._pointer);
break;
case WeaklyTypedPointer::UINT16:
delete static_cast<uint16_t*>(wtp._pointer);
delete [] static_cast<uint16_t*>(wtp._pointer);
break;
case WeaklyTypedPointer::INT16:
delete static_cast<int16_t*>(wtp._pointer);
delete [] static_cast<int16_t*>(wtp._pointer);
break;
case WeaklyTypedPointer::UINT32:
delete static_cast<uint32_t*>(wtp._pointer);
delete [] static_cast<uint32_t*>(wtp._pointer);
break;
case WeaklyTypedPointer::INT32:
delete static_cast<int32_t*>(wtp._pointer);
delete [] static_cast<int32_t*>(wtp._pointer);
break;
case WeaklyTypedPointer::FLOAT:
delete static_cast<float*>(wtp._pointer);
delete [] static_cast<float*>(wtp._pointer);
break;
default:
tgtAssert(false, "Should not reach this - wrong base data type!");
......
......@@ -43,6 +43,7 @@ Camera::Camera(const vec3& position, const vec3& focus, const vec3& up,
upVector_(normalize(up)),
frust_(Frustum(fovy, ratio, distn, distf)),
windowRatio_(1.f),
viewMatrixValid_(false),
projectionMode_(pm)
{
viewMatrix_ = mat4::createLookAt(position, focus, up);
......
......@@ -48,6 +48,7 @@ namespace campvis {
, p_clipX("clipX", "X Axis Clip Coordinates", tgt::ivec2(0), tgt::ivec2(0), tgt::ivec2(0))
, p_clipY("clipY", "Y Axis Clip Coordinates", tgt::ivec2(0), tgt::ivec2(0), tgt::ivec2(0))
, p_clipZ("clipZ", "Z Axis Clip Coordinates", tgt::ivec2(0), tgt::ivec2(0), tgt::ivec2(0))
, _sourceTimestamp(0)
{
addProperty(&p_sourceImageID);
addProperty(&p_geometryID);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment