moved LARGEFILE defines to BLI_storage.h

This commit is contained in:
Campbell Barton 2008-02-18 17:20:04 +00:00
parent 41e4d7e4e6
commit 0a703124e2
3 changed files with 6 additions and 6 deletions

@ -31,6 +31,11 @@
#ifndef BLI_STORAGE_H #ifndef BLI_STORAGE_H
#define BLI_STORAGE_H #define BLI_STORAGE_H
#ifndef WIN32
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#endif
#include "BLI_storage_types.h" #include "BLI_storage_types.h"
void BLI_adddirstrings(void); void BLI_adddirstrings(void);

@ -32,11 +32,6 @@
* Some really low-level file thingies. * Some really low-level file thingies.
*/ */
#ifndef WIN32
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#endif
#include <sys/types.h> #include <sys/types.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

@ -3412,7 +3412,7 @@ static void object_panel_fields(Object *ob)
uiDefButF(block, NUM, B_FIELD_CHANGE, "MaxDist: ", 50,80,100,20, &pd->maxdist, 0, 1000.0, 10, 0, "Maximum distance for the field to work"); uiDefButF(block, NUM, B_FIELD_CHANGE, "MaxDist: ", 50,80,100,20, &pd->maxdist, 0, 1000.0, 10, 0, "Maximum distance for the field to work");
} }
else { else {
uiDefButF(block, NUM, B_FIELD_CHANGE, "Strength: ", 10,140,140,20, &pd->f_strength, -1000, 1000, 10, 0, "Strength of force field"); uiDefButF(block, NUM, B_FIELD_CHANGE, "Strength: ", 10,140,140,20, &pd->f_strength, -1000, 1000, 10, 3, "Strength of force field");
if(pd->forcefield == PFIELD_TEXTURE){ if(pd->forcefield == PFIELD_TEXTURE){
uiDefIDPoinBut(block, field_testTexture, ID_TE, B_FIELD_CHANGE, "Texture: ", 10, 120, 140, 20, &pd->tex, "Texture to use as force"); uiDefIDPoinBut(block, field_testTexture, ID_TE, B_FIELD_CHANGE, "Texture: ", 10, 120, 140, 20, &pd->tex, "Texture to use as force");