Blender Git Loki

Kaikki Blender Git kommitit.

Page: 6974 / 8462

December 9, 2010, 22:27 (GMT)
Change the BLF_aspect function to handle 3d text.

This is need to properly handle 3d text (dalai work on GE), before
the BLF_aspect only take one argument, and the result was a call to:
glScalef(aspect, aspect, 1.0)

Now the three value are store in the font (x, y and z) and also
need to be enable using BLF_enable(BLF_ASPECT).

By default all the code that don't have BLF_ASPECT enable work with
a scale of 1.0 (so nothing change to the current UI).

I also remove all the call of BLF_aspect(fontid, 1.0) found in
the editors, because is disable by default, so no need any more.

Campbell the only thing to check is the python api, right now
I modify the api to from:
BLF_aspect(fontid, aspect)
to:
BLF_aspect(fontid, aspect, aspect, 1.0)

This is to avoid break the api, but now you need add the BLF_ASPECT
option to the function py_blf_enable and in some point change
py_blf_aspect to take 3 arguments.
December 9, 2010, 19:06 (GMT)
Related to previous commit:

I still have to learn more of the recent changes in code :)

Didn't know the handle type options became a menu for Curve edit mode.
Providing much-used tools non-modal (direct) really should have
preference. Pull down is not very accessible here though, will
check on it later. :)

This restores H, Shift+H, V and alt+H for handle setting.

December 9, 2010, 18:31 (GMT)
Bugfix #25150

Graph editor: hotkeys for handles restored; they work immediate
and non modal now (menu was ugly and slow). Uses similar options
as 3d curve editing, but not toggling 'aligned'
HKEY: sets aligned
SHIFT+H: sets auto
ALT+H: sets free handle
VKEY: vector handle

December 9, 2010, 18:08 (GMT)
Two nice usability fixes:

- On inserting keyframes in buttons, no redraw happened
- Keyframe in icon-only buttons now draw color in background.

December 9, 2010, 17:36 (GMT)
Added more clear tooltip for Auto Save feature.

December 9, 2010, 17:35 (GMT)
User prefs: label "Auto Save" was on wrong position.

December 9, 2010, 17:31 (GMT)
renaming blf_api.h to blf_py_api.h
In windows this was producing Linking dependence errors because we have BLF_api.h in the /blenfont/ and blf_api.h in /python/generic/. It doesn't produces crash out of the box but I was trying to link both "api" files to the same project (Ketjsi folder). For the linking order was determining what header to use. A workaround is to "include" the file using some ../../ relative folder. But renaming it is less error prone.

Probably Ketsji folder shouldn't link to BLF_api.h anyways, but this is something I will look better later before another commit. In the mean time it's not a good idea to have 2 api files with the same name (for non case-sensitive systems).
Revision b6c6877 by Kent Mein (master)
December 9, 2010, 16:50 (GMT)
A little more work on patch [#24814] Operators which have no decription
submitted by Murat Egretli

Not actually a patch but talks about descriptions that are missing
and some small fixes that are needed.

Kent

December 9, 2010, 16:15 (GMT)
Bugfix 25147

Graph editor: operator poll for 'active curve' didn't check for
visibility flag, caused tool like ctrl+click to still work.

December 9, 2010, 15:49 (GMT)
Bugfix #25120 and #25119 and numerous future bugs!

Two isses:
- Material assigning to MetaBalls used wrong pointer
(copy paste error, casting badly).
- Checking for node-material used wrong RNA pointer
(confusing void stuff going on here!)

The error leads to corruption in data and/or random
crashes. Better update svn now!

December 9, 2010, 11:49 (GMT)
Problem with FCurve pasting reported by Rob Garlington.
- Pasting from 1 fcurve to any other fcurve now works (skip index and rna path checking).
- Pasting multiple fcurves between bones now works.
- If path checking fails, pasting matches indices so Scale XYZ can be pasted into Location XYZ for eg.
December 9, 2010, 07:05 (GMT)
removing BLF_types.h from CMakeLists.txt
December 9, 2010, 06:08 (GMT)
- internal py/rna ifdef's USE_MATHUTILS was mixed up,
- updated tooltip for vertex group mirror.
December 9, 2010, 04:36 (GMT)
Add the possibility to set a 4x4 matrix to be used on blf.

This option allow the user to set a 4x4 matrix to be
multiplied before draw the text, for example:

double *m;

/* Get the matrix or build it! */

BLF_matrix(m);
BLF_enable(BLF_MATRIX);

/* set color, size, etc and draw! */

BLF_disable(BLF_MATRIX);

You don't need the last line (disable), but remember
that if you use the font to draw in any other place,
the matrix will be used!.

The GL code is:

glPushMatrix();
glMultMatrixd(m);
glTranslatef();
glScalef();
glRotatef();

glPopMatrix();

Let's Dalai test this!!! :D

December 9, 2010, 03:22 (GMT)
bugfix [#25104] Identical material settings render differently
- Use Old Bump option wasn't available.
- noise_intensity wasn't visible for MULTIFRACTAL musgrave textures.
December 9, 2010, 01:05 (GMT)
Testing commit! Remove an empty file.

Revision e0ab0bc by Kent Mein (master)
December 8, 2010, 21:56 (GMT)
Added a few descriptions that were missing.
This is a little bit of todo item:
[#24814] Operators which have no decription

Kent
Revision 5d29662 by Janne Karhu (master)
December 8, 2010, 20:10 (GMT)
UI Cleanup: Halo materials and textures
* Textures applied to halo materials showed influence option for normal particles. This was really confusing, and with the cleanup I revealed a couple of hidden features too!
** Particles actually allow for textures to change halo size and hardness, but my guess is that nobody knew since the names were wrong in the ui!
** I also added the option to change the "add" value with a texture, since it was just silly not to have it.
* Halo material properties are also a bit cleaner now.
December 8, 2010, 18:12 (GMT)
Bugfix #20598

Armature editmode: Circle select didn't flush selections, causing
the center part of bones to remain unselected.

December 8, 2010, 17:51 (GMT)
Bugfix #25099

Outliner: group view: restrict buttons should be disabled in editmode.

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021