Cleanup: compiler warnings (unused functions & variable)
This commit is contained in:
@@ -98,12 +98,12 @@ template<> struct TraitsType<ColorPaint4b> {
|
||||
};
|
||||
template<typename T> using Traits = typename TraitsType<T>::type;
|
||||
|
||||
static float get_luminance(ColorPaint4f c)
|
||||
static inline float get_luminance(ColorPaint4f c)
|
||||
{
|
||||
return IMB_colormanagement_get_luminance(&c.r);
|
||||
}
|
||||
|
||||
static int get_luminance(ColorPaint4b c)
|
||||
static inline int get_luminance(ColorPaint4b c)
|
||||
{
|
||||
return IMB_colormanagement_get_luminance_byte(&c.r);
|
||||
}
|
||||
|
||||
@@ -163,7 +163,7 @@ void SyncModule::sync_mesh(Object *ob,
|
||||
void SyncModule::sync_point_cloud(Object *ob,
|
||||
ObjectHandle &ob_handle,
|
||||
ResourceHandle res_handle,
|
||||
const ObjectRef &ob_ref)
|
||||
const ObjectRef & /*ob_ref*/)
|
||||
{
|
||||
int material_slot = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user