Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 4690 / 5574

May 29, 2009, 09:53 (GMT)
2.5 Buttons

* More greying out tweaks by William Reynish and myself.
May 29, 2009, 09:27 (GMT)
typo in message
May 29, 2009, 09:22 (GMT)
workaround for strange python problem in the BGE and BPy API where printing warnings mistook the blender binary for a script - argv[0], Binary lines were printed into the console sometimes causing console beeps and corrupting future console output.

Internal texts file on disk is not used it seems python warnings dont support this (even though exceptions do).

The most common cause of this is passing a float as an argument to a method that took an int.
get around this by setting __file__ in the namespace to the script name before executing the script, the file lines are not found but at least the output is not weird and confusing.

Added read only 'mode' attribute to the python controller so there is a way to tell if its executing a module or a script. Updated docs to better explain execution methods.

May 29, 2009, 08:55 (GMT)
Revert commit 20478: instead of changing the default in blender, it's better to change the values for the demos that need it.
May 29, 2009, 08:43 (GMT)
2.5 Buttons:

* Example code for greying out individual items.
May 29, 2009, 06:50 (GMT)
bugfix and update DXF-Exporter scripts
please get it in 2.49 release
May 29, 2009, 00:54 (GMT)
svn merge -r 20133:20486 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender

2.5 trunk has a nice bug fix for rendering

May 29, 2009, 00:20 (GMT)
2.5: fix crash loading saved file with render result, image user
scene wasn't set to NULL on load. Still doesn't seem entirely safe
but prevents crash here.

May 28, 2009, 23:58 (GMT)
UI: Matt, check space_outliner.c diff to see how to get python
layouts in a header.

May 28, 2009, 23:48 (GMT)
2.5: fix text editor issue with scrolling and an invalid memory read.

May 28, 2009, 23:45 (GMT)
UI:
* Added panels with dummy preview template.
* Added constraints panel for bones next to objects, though it
doesn't work that well yet, the operators and code need to be
changed so they don't assume it is one or the other in/out
of posemode.
* Added some graying out in the scene and world buttons.

May 28, 2009, 23:41 (GMT)
UI:
* Added a dummy preview render template, to test some layout
engine features on tomorrow.

May 28, 2009, 23:37 (GMT)
UI:
* Added some properties of uiLayout that can be set. I've added
some API code for more than the two I've implementeds, so
ignore those for now.

* layout.active = False will gray out buttons inside a layout.
* layout.enabled = False will gray out and completely disable
the buttons inside a layout.

* Also some function renames.

May 28, 2009, 23:23 (GMT)
RNA:
* Automatically do us++ and us-- reference counting in ID pointer
set functions.
* Added an enum property callback to dynamically vary the list of
available items.
* Added some functions to do removes on pointers and collections
runtime defined for RNA and using ID properties.

* Constraints now have owner/target space wrapped, and most
pointers made editable. They can be ported to use python layouts.
* Also other pointers made editable that I think are see now with
the automatic reference counting.

May 28, 2009, 23:13 (GMT)
Context:

Added a system for adding a "local" context in a UI layout.
This way you can define for example within a modifier panel
all operators to get the modifier in the context.

In the layout code:

uiLayoutSetContextPointer(layout, "modifier", &ptr)
layout.set_context_pointer("modifier", md)

In the operator:

ptr = CTX_data_pointer_get(C, "modifier")
md = context.modifier

May 28, 2009, 22:26 (GMT)
Bullet Physics maxphystep = 1 is better general default to avoid vicious circle
(graphics slower -> physics slower -> overall frametime slower -> graphics slower etc.)
See difference in vault.blend
May 28, 2009, 20:28 (GMT)
bugfix: added import Curve module
Revision bdfa07c by Ken Hughes
May 28, 2009, 14:24 (GMT)
Python API
----------
Bugfix: make bpy.data.meshes.new() work the same way as Blender.Mesh.New().

May 28, 2009, 14:01 (GMT)
[#18803] 'ShadeModes' dictionary and 'shadeMode' instance variable exported to Python API
Ton was ok with adding Vladislav Turbanov (vladius)'s patch during the freeze.
May 28, 2009, 13:44 (GMT)
[#18840] Joystick sensor lag
if(SDL_PollEvent(&sdl_event)) // if -> while fixed it
removed 'm_buttonnum' was misleading, wasn't used as you expect.

Added gravity to variable to world to be used by collada.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021