Blender Git Commits

Blender Git "master" branch commits.

Page: 4505 / 5574

November 22, 2009, 21:55 (GMT)
Fix MSVC project files for blenderplayer: the player compiles and runs properly in debug and release mode. Still a problem with scons: the player compiles but crashes on startup.
November 22, 2009, 21:51 (GMT)
rna functions were getting away with passing the string "True" instead of True, changed get the integer value and test its 1 or 0.

allow rna function return values as an exception since so many poll functions do... "return (context.blah and context.foo)", that makign all return bool's isnt that nice.
November 22, 2009, 21:47 (GMT)
note:
for a single tuple the last comma is needed. ('SOUND', ), otherwise its just a string.

string in "STRING"
...is the same as
string in ("STRING")
...which checks the substring, its normally used like this
if string in "maybe one of these words contains STRING"

in this case its better just to do ==


November 22, 2009, 21:16 (GMT)
Sequencer:
* It's now possible to set the scene for a scene strip.
November 22, 2009, 20:49 (GMT)
== Sequencer ==

Broad back SCENE-rendering. (Hopefully did everything right)

Still missing: UI part (one can't select a scene, neither on add nor
in N-keys dialog...)

November 22, 2009, 20:26 (GMT)
Adding undo flag to the python run flag operator.

It's safer this way.
November 22, 2009, 20:24 (GMT)
filebrowser
* fix typo in operator property
* respect user setting for hide dot files
November 22, 2009, 20:22 (GMT)
== Sequencer ==

This should make animations in sequencer work again at most
places.

It removes facf0 and facf1 and replaces them by

* effect_fader (the fader position for transition effects
limited 0-1 value range)
* speed_fader (full range fader for speed effect)

Also: default transitions should work again.

Still not working: non-IPO-locked curves. (Don't really know,
if we can / want to bring them back in new animation system.)

November 22, 2009, 18:57 (GMT)
blender.html:
* Renaming header to alpha 0.
* Some updates for the Python Installation notes.
November 22, 2009, 17:58 (GMT)
== Sequencer ==

seqUniqueName() call was missing for effect strips.

November 22, 2009, 17:41 (GMT)
use is rather then == when comparing with singletons (None/False/True), its faster and suggested by pep8
November 22, 2009, 17:35 (GMT)
== Sequencer ==

"reload" should be "refresh all" on the sequencer header.

November 22, 2009, 16:33 (GMT)
2.5: Emulate numpad works again.

November 22, 2009, 16:33 (GMT)
CMake: OS X build did not have proper warnings set by default, copied the
flags from non-apple Unix configuration.

November 22, 2009, 15:19 (GMT)
* Update of the blender.html. Still lacks a bit, but better than before. Everyone, feel free to improve.
November 22, 2009, 15:15 (GMT)
fix for py error when no text is displayed
November 22, 2009, 14:57 (GMT)
missing decref from patch #19258
November 22, 2009, 14:42 (GMT)
[#19258] [patch] Adding drawing capabilities to BGE Python
patch from Mitchell Stokes (moguri)

simple use case
scene.post_draw = [pyOpenGLFunc]

this only needs to be set once, then the funcion runs each redraw.

note, this patch also changes how python scripts run (not modules): Dont clear the namespace after running a script, since functions still use the namespace, BGE API is now better when dealing with stale data.

made some changes to this patch.
- assigning a list didnt decrement the existing list.
- initialize as NULL rather then a blank list
- dont use string comparisons for the callbacks, pass the python list to use instead.
- dont check the list items are callable. python will display an error if they are not.
- use python list macros that dont do any type checking sine blender does this when assigning the list

---- from tracker, edited since an updated patch changes some things.
Here is a patch to be able to draw to the screen with BGE Python. This will be very handy for GUI stuff. This patch
works by having the user register a callback in the scene. Two options are available KX_Scene.pre_draw
and KX_Scene.post_draw. The difference between these is when Python draws to the screen (before or after the BGE).
Each can take a list of functions. Here is an example that draws a blue semi-transparent

November 22, 2009, 14:10 (GMT)
* Added fps and fps_base to some Render presets. They were missing there.
Revision 9fa2a9d by Joseph Eagar
November 22, 2009, 14:06 (GMT)
merge with trunk/2.5 at r24463
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021