- smoke wasn't closing the file of loading a tile had the wrong length.
- missing break in operator context switch meant RGN_TYPE_CHANNELS was always being overwritten with RGN_TYPE_PREVIEW when calling operators (from r26692)
This commit is contained in:
@@ -243,6 +243,7 @@ static bool loadTile(float* const noiseTileData, std::string filename)
|
||||
|| (headerbuffer[headerlen-1] != (char)((char)sizeof(long)+'0')))
|
||||
{
|
||||
printf("loadTile : Noise tile '%s' was generated on an incompatible platform.\n",filename.c_str());
|
||||
fclose(file);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -751,6 +751,7 @@ static int wm_operator_call_internal(bContext *C, wmOperatorType *ot, PointerRNA
|
||||
case WM_OP_EXEC_REGION_CHANNELS:
|
||||
case WM_OP_INVOKE_REGION_CHANNELS:
|
||||
type = RGN_TYPE_CHANNELS;
|
||||
break;
|
||||
|
||||
case WM_OP_EXEC_REGION_PREVIEW:
|
||||
case WM_OP_INVOKE_REGION_PREVIEW:
|
||||
|
Reference in New Issue
Block a user