[Verse-dev] Bitmap init_dimensions

Emil Brink verse-dev@blender.org
Wed, 7 Jul 2004 20:46:42 +0200


On Wed, 07 Jul 2004 16:46:50 +0200
Eskil Steenberg <eskil@obsession.se> wrote:

> Hi
[renaming b_init_dimensions]
> i prefer "set_size". It used to be called "init" because it was 
> different form other commands in that it couldent be called at any
> time. Now it isnt that special, Lots of commands are used to both
> create and change, and they are all named "create" or "set". For
> instance:
> 
> verse_send_g_layer_create is not named, verse_send_g_layer_change_type
> 
> or  verse_send_g_layer_change_name and 
> verse_send_g_vertex_set_real32_xyz is not named 
> verse_send_g_vertex_move_real32_xyz
> 
> Does that make sense?

Sure, that's fine too. I was probably trying to avoid the set_size
versus size_set problem, which really is getting ugly. It varies across
the different nodes, which is silly. I think it should be size_set,
but then it should also be t_language_set in the text node, and
b_layer_tile_set in the bitmap node.

The latter one is weird as well, the "layer" in there is rather non-
conformant. It's not t_buffer_text_set in the text node, and also not
a_layer_audio in the audio node.

It's a bit messy, altogether. :/

Regards,

/Emil