Blender Git Commits

Blender Git "master" branch commits.

Page: 5011 / 5574

December 17, 2007, 16:25 (GMT)

Bugfix: with a lot of child particles (1500 per parent), some faces
would get no particles at all. Issue turns out to be precision of
floats for incrementing a number between 0 and 1, now uses doubles..

December 17, 2007, 15:32 (GMT)

Bugfix: with particle distribution based on orco's, there was no
correction for them being 'squashed' to the bounding box of the
object, gave weird artifacts with child particle distribution.

December 17, 2007, 12:54 (GMT)

Shift+O subdivision switching now also allows to switch
particle systems on/off if they exist.

December 17, 2007, 11:47 (GMT)

Bugfix: memory leak with multi-modifier, if the modifier
using the previous coordinates was disabled.

December 17, 2007, 11:32 (GMT)
rename WITH_PYAPI_V24X to WITH_BPYAPI_V24X (because its blender's api version number not pythons), made 24x api use its own armature weakref list since pyobject types are different.
December 17, 2007, 11:20 (GMT)

Bugfix: particle add brush in perspective mode would sometimes
not add particles, view ray was wrong.

Revision 317ad91 by Joshua Leung
December 17, 2007, 10:34 (GMT)
== Fill Bones - Bugfixes ==

* Some joints were identified multiple times, which caused a "too many joints" error when only 2 joints were selected
* When no joints were selected, "too many joints" error was displayed. This has been changed to "no joints selected"
* Fixed a memory leak that occurred when "too many joints selected"
Revision 793d7b1 by Joshua Leung
December 17, 2007, 08:32 (GMT)
More BPyAPI compiling fixes again.

* Added missing stubs so that blenderplayer can be linked.
Revision de073e7 by Joshua Leung
December 17, 2007, 06:32 (GMT)
Bugfix #7918: Particles (svn) Crashing when adding particles in EditMode

This commit should fix the error. dm was used before being check if it was NULL.
Revision ca68931 by Joshua Leung
December 17, 2007, 06:12 (GMT)
More BPyApi (New/2_5x) compiling fixes for mingw.

* Mostly fixed a few more of the tp_base errors, in the manner that Ken did...
* There's still a weird warning in draw.c about some function being used but not defined
* I've included the source splitting hack here too, as I was getting problems getting it to link the files...
December 17, 2007, 04:52 (GMT)
== Sculpt Mode ==

Improved some memory allocation; it doesn't actually use less memory now, just avoids reallocating the same block of memory over and over again.

December 17, 2007, 04:10 (GMT)
== Sculpt Mode ==

Minor refactoring of the overgrown sculpt() function.

December 17, 2007, 03:21 (GMT)
Applied Ian Calvert's patch (#7801) to add a "rake" setting to sculpt mode; when used with a 2D brush texture, the texture is automatically rotated to follow the direction of the brush stroke.

December 16, 2007, 06:50 (GMT)
* Added an option not to compile the 2.4x api (WITH_PYAPI_V24X for Makefiles and WITH_BF_PYAPI_V24X for scons)
* ghash wasnt being set to null when python stopped and was segfaulting on exit

December 16, 2007, 03:42 (GMT)
Python API Merged from branch,
http://wiki.blender.org/index.php/Rewriting_the_2.4x_BPython_API

Some areas are not yet finished, the 2.4 api can remain "import Blender" and the bpy api "import bpy" gives access to the new api.

Todo
* event, link, etc are not assigned to Blender.*
* Scripts need to be tested and updated.
* Scripts cannot mix bpy and Blender modules anymore.
* Makefiles need to be updated (only works with scons now)
* Make the 2.4 api optional with IFDEF's
* Lots of testing and small fixes

Revision 1fe2c51 by Joshua Leung
December 16, 2007, 00:59 (GMT)
== AutoIK - Fixes for MouseScroll Setting ==

* Added display of current chain-length setting to the header, when transforming with Auto-IK on

* Removed debug print accidentally left in

* Fixed compiler warning in buttons_object.c
December 15, 2007, 21:40 (GMT)
== Text Window ==

Patch [#7849] by Jetze van Beijma, strike 2.

The first patch fixed the size of the scroll bar, this one fixes drawing of selected text area (the redish area in the scrollbar).
December 15, 2007, 20:41 (GMT)

Render Instancing
=================

Big commit, but little user visible changes.

- Dupliverts and duplifaces are now rendered as instances, instead
of storing all of the geometry for each dupli, now an instance is
created with a matrix transform refering to the source object.
This should allow us to render tree leaves more memory efficient.

- Radiosity and to some degree raytracing of such objects is not
really efficient still. For radiosity this is fundamentally hard
to solve, but raytracing an octree could be created for each object,
but the current octree code with it's fixed size doesn't allow this
efficiently.

- The regression tests survived, but with I expect that some bugs will
pop up .. hopefully not too many :).

Implementation Notes
====================

- Dupligroups and linked meshes are not rendered as instances yet,
since they can in fact be different due to various reasons,
instancing of these types of duplis that are the same can be added
for them at a later point.

- Each ObjectRen now stores it's own database, instead of there being
one big databases of faces, verts, .. . Which objects that are actually
rendered are defined by the list of ObjectRenInstances, which all refer
to an ObjectRen.

- Homogeneous coordinatess and clipping is now not stored in vertices
anymore, but instead computed on the fly. This couldn't work for
instances. That does mean some extra computation has to be done, but
memory lookups can be slow too, and this saves some memory. Overall
I didn't find a significant speed impact.

- OSA rendering for solid and ztransp now is different. Instead of e.g.
going 8 times over the databases times and rendering the z-buffer, it
now goes over the database once and renders each polygon 8 times. That
was necessary to keep instances efficient, and can also give some
performance improvement without instances.

- There was already instancing support in the yafray export code, now it
uses Blender's render instances for export.

- UV and color layer storage in the render was a bit messy before, now
should be easier to understand.

- convertblender.c was reorganized somewhat. Regular render, speedvector
and baking now use a single function to create the database, previously
there was code duplicated for it.

- Some of these changes were done with future multithreading of scene
and shadow buffer creation in mind, though especially for scene creation
much work remains to be done to make it threadsafe, since it also involves
a lot of code from blenkernel, and there is an ugly conflict with the way
dupli groups work here .. though in the render code itself it's almost there.

December 15, 2007, 15:30 (GMT)
fix for own mistake when changing curve flags - Reported as [#7888] Extrude broken for vector handles
Revision 3301d04 by Joshua Leung
December 15, 2007, 07:48 (GMT)
Patch #7916: New Empty Types - Sphere and Cone
Submitted by: David Bryant (digikiller)

This patch adds two new drawtypes for empties in Blender:
* Sphere
* Cone

These draw with wireframes which are slightly more complicated than for other empties. However, this shouldn't really be an issue.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021