[Bf-committers] Compilation,
msvc 7.1 and scons : problem with an array statement in sculptmode.c
Ton Roosendaal
ton at blender.org
Fri Mar 16 12:26:33 CET 2007
Hi,
For readability, please only use capital-only variables when its a
define.
Using a define for FTOT would fit in the code better too.
-Ton-
On 15 Mar, 2007, at 21:53, Nicholas Bishop wrote:
> My bad, fixed in CVS now.
>
> -Nicholas
>
> On 3/15/07, jean-michel soler <jmsoler at free.fr> wrote:
>> void calc_flatten_center(Mesh *me, ActiveData *node, const EditData
>> *e,
>> float co[3])
>> {
>> const int FTOT = 10;
>> ActiveData *outer[FTOT];
>> int i;
>>
>> Does not compile, error on the constant FTOT used in the array,
>> No problem with:
>>
>> void calc_flatten_center(Mesh *me, ActiveData *node, const EditData
>> *e,
>> float co[3])
>> {
>> const int FTOT = 10;
>> ActiveData *outer[10];
>> int i;
>>
>> jms
>>
>>
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at projects.blender.org
>> http://projects.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
>
------------------------------------------------------------------------
--
Ton Roosendaal Blender Foundation ton at blender.org
http://www.blender.org
More information about the Bf-committers
mailing list