[Bf-committers] Re: Error on compile OSX 10.3 - and MSVC 7

Nathan Letwory bf-committers@blender.org
Thu, 27 Nov 2003 09:23:10 +0200


Hmm, I added after line 153

#define B_MATHALO    1213

Hope it doesn't have any negative effect?

/Nathan

Michael Velikanje wrote:

> The Diff file looks like this:
> 
> Index: blender/source/blender/include/butspace.h
> ===================================================================
> RCS file: /cvsroot/bf-blender/blender/source/blender/include/butspace.h,v
> retrieving revision 1.15
> diff -u -r1.15 butspace.h
> --- blender/source/blender/include/butspace.h    28 Oct 2003 16:26:51 
> -0000    1.15
> +++ blender/source/blender/include/butspace.h    27 Nov 2003 07:08:10 -0000
> @@ -137,8 +137,8 @@
>  #define B_SBUFF            1104
> 
>  /* *********************** */
> -#define B_MATBUTS        1300
> -
> +#define B_MATBUTS       1300
> +#define B_MATHALO       1333
>  #define B_MATCOL        1201
>  #define B_SPECCOL        1202
>  #define B_MIRCOL        1203
> 
> Just for fun.
> 
> Michael Velikanje
> 
> 
> On Nov 26, 2003, at 9:51 PM, Michael Velikanje wrote:
> 
>> After updating to the latest CVS (v2.31) I had this error when compiling:
>> <<
>> buttons_shading.c:1949: error: `B_MATHALO' undeclared
>> buttons_shading.c:2217: error: `B_MATHALO' undeclared
>> >>
>> B_MATHALO was added into blender/source/blender/src/buttons_shading.c 
>> in the last 8 or so hours.
>>
>> I added this line to blender/source/blender/include/butspace.h on line 
>> 141 between B_MATBUTS and B_MATCO:
>> It just looked right ;) .
>> <<
>> #define B_MATHALO           1333
>> >>
>> This addition resulted in the successful compile of a working blender. 
>> :^)
>>
>> It's a beautiful thing.
>>
>> Michael Velikanje
>>
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers