merged two fixes by Edgar
commit
2cb71227ef
|
@ -37,7 +37,7 @@ add_custom_target (scene_schema
|
||||||
set_target_properties (scene_schema PROPERTIES FOLDER "data")
|
set_target_properties (scene_schema PROPERTIES FOLDER "data")
|
||||||
|
|
||||||
# Actual installation
|
# Actual installation
|
||||||
install(FILES "scene.xsd" "upgrade_0.3.0.xsl" "upgrade_0.4.0.xsl"
|
install(FILES "scene.xsd" "upgrade_0.3.0.xsl" "upgrade_0.4.0.xsl" "upgrade_0.5.0.xsl"
|
||||||
DESTINATION ${SCHEMA_DESTINATION}
|
DESTINATION ${SCHEMA_DESTINATION}
|
||||||
PERMISSIONS "OWNER_READ" "GROUP_READ" "WORLD_READ"
|
PERMISSIONS "OWNER_READ" "GROUP_READ" "WORLD_READ"
|
||||||
COMPONENT Runtime
|
COMPONENT Runtime
|
||||||
|
|
|
@ -280,7 +280,7 @@ public:
|
||||||
Vector2i(m_blockSize, m_blockSize));
|
Vector2i(m_blockSize, m_blockSize));
|
||||||
} else {
|
} else {
|
||||||
m_tile = new Bitmap(Bitmap::EMultiChannel, m_componentFormat,
|
m_tile = new Bitmap(Bitmap::EMultiChannel, m_componentFormat,
|
||||||
Vector2i(m_blockSize, m_blockSize), m_channelNames.size());
|
Vector2i(m_blockSize, m_blockSize), (uint8_t) m_channelNames.size());
|
||||||
m_tile->setChannelNames(m_channelNames);
|
m_tile->setChannelNames(m_channelNames);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,7 @@ public:
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case EPrimIndex:
|
case EPrimIndex:
|
||||||
result = Spectrum((int) its.primIndex);
|
result = Spectrum((Float) its.primIndex);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Log(EError, "Internal error!");
|
Log(EError, "Internal error!");
|
||||||
|
|
Loading…
Reference in New Issue