Blender Git Loki

Kaikki Blender Git kommitit.

Page: 6569 / 8462

January 5, 2012, 09:50 (GMT)
replace double prints in readfile.c with a BKE_reportf wrapper
January 5, 2012, 08:08 (GMT)
logic editor ui adjustment, all gameprop types are replaced by the ob.data.body (not only Text)
January 5, 2012, 07:52 (GMT)
link mingw libstdc++ and libgcc libs statically so users dont need mingw installed to use mingw builds
January 5, 2012, 06:34 (GMT)
more edits to r43145,
- remove redundant check in new prop operator which is covered by operators poll func.
- use get_ob_property to get the object prop in BL_ConvertTextProperty() rather then looping for it.
January 5, 2012, 06:12 (GMT)
edit on recent font UI changes.

don't show the text objects body in the ui - this could be pages of text and even though it only draws part of this, it still allocates and frees the string on every draw.
January 5, 2012, 06:05 (GMT)
add bpy collection method .find(key), so you can get the index of an item in a collection, -1 if not found.

use this to replace bge text ui py function.
January 5, 2012, 06:02 (GMT)
BGE Font Object: fix for relative path not working AND packed fonts not working
[I don't think anyone has ever reported those, what makes me slightly sad but carry on ;)]

Those fixes introduce a more generic function to load a font before calling BLF_load.
I think it should move to be part of Blender util routines or BLF itself.

For the time being here will make it. Once we get <builtin> font working we go for this.
Thanks Diego Borghetti for the usual assistance with blf.
January 5, 2012, 05:43 (GMT)
correct api doc examples and a typo
January 4, 2012, 21:40 (GMT)
This patch creates an interface for ["Text"] properties in Font objects.

Interface:
http://www.pasteall.org/pic/show.php?id=23785

Simple test file:
http://www.pasteall.org/blend/10616
(I'll commit this to the text suite later)

Code Explanation:
---------------
(1) it adds a toggle to add/remove a "Text" gameproperty.
- internally this property is just another game property (so we can find it within the game.properties lookup).
- the property itself has no 'value', the interface shows the content of ob.data.body instead (why? because gameproperties are per object, while the text is per data).

(2) at BGE converter time it sets the current value of the object.data.body to the ["Text"] property.

(3) if you change object.text (bge text property) it automatically convert ["Text"] to a CStringValue.

*** that means if the original property was a CIntegerValue, it will be converted to CStringValue forever ***

* the only to do I can think of is to add a warning at doversion time if user has ["Text"] property for a Font object *
* when that happens we print a warning in console/popup.*
January 4, 2012, 21:36 (GMT)
get texture coords from MLoopUV's rathers then MTFace's with get_texture_coords().
January 4, 2012, 20:11 (GMT)
convert screw modifier to create MPolys rather then MFaces
Revision 0797532 by Dalai Felinto (tile)
January 4, 2012, 19:18 (GMT)
MapUV Node - Tile

This node requires an EWA filter to read the final value.
In COM_MemoryBuffer.cpp I copied the functions from texture.c
The reason for copying and not re-using from a header is to allow
for further refactoring. Basically the codes should be independent.

The EWA happens automatically when you call the read function with two extra arguments
(dx and dy, calculated from a differential filter pass before in the operation).

Good news, the result works better than trunk. In trunk the edges of the image get black,
here it works all fine.
January 4, 2012, 18:06 (GMT)
Cycles: device code refactoring, no functional changes.
January 4, 2012, 17:20 (GMT)
Camera tracking: added depth object to Follow Track constraint

If this object is defined, object with Follow Track constraint would be
projected into surface of this depth object.
If object is not set or there's no projection onto it, projection plane
calculated based on original object position would be used.

This allows to make cheap facial mocap.
January 4, 2012, 16:19 (GMT)
update mask modifier to use MPoly data
January 4, 2012, 15:42 (GMT)
Merging r43025 through r43129 from trunk into soc-2011-tomato

January 4, 2012, 15:28 (GMT)
Fix #29764: Crash when border rendering in sequencer. (Not Cycles related)

Sequencer render context should be as large as the whole frame when rendering
using border without clipping.

Can be implemented in more clear way but it'll require more global refactoring.
January 4, 2012, 15:25 (GMT)
Camera tracking: more accurate track preview widget

- Added 1px extra margin to deal with bicubic interpolation nicely
- Code should be a bit more clear now
Revision 02f17cf by Jeroen Bakker (tile)
January 4, 2012, 14:43 (GMT)
TileBranch
* added the basic implementation of the GlareNode
* only implemented the FogGlow
* all others will also do fogglow

FogGlowImageOperation calculates a BokehImage for the glow. This way the BokehBlur is reused to calculate the actual blur
GlareThresholdOperation will generate the image where the effect must take place. (BTL function in the old compositor)

January 4, 2012, 14:42 (GMT)
update UV project modifier to use MLoopUV's rather then tessface UV's
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021