Blender Git Commits

Blender Git "master" branch commits.

Page: 4745 / 5574

March 13, 2009, 18:04 (GMT)
merging trunk 19093:19274
March 13, 2009, 13:38 (GMT)
2.5: UI Layout Engine, initial code.

* As a test, used by:
* Object buttons, tried to make it match the mockup.
* Text window header.
* Text window properties panel.
* Panel interaction with view2d is still problematic, need to make
this work properly still.
* Templates are very basic, the ones there are simple but already
can follow the object buttons mockup quite closely.
* It's based on a three level system: panels, templates and items.
To get an idea of what that means in practice, see:

http://wiki.blender.org/index.php/BlenderDev/Blender2.5/UI_LayoutEngine#Panels.2C_Templates_and_Items

Revision 7b5f9c2 by Joseph Eagar
March 13, 2009, 13:11 (GMT)
Dissolve faces now uses a different method of finding the boundary,
that handles some non-manifold situations better without failing.
Also made edge subdivide use a more specializzed internal version
of BM_Connect_Verts, that should hopefully always split the correct face.

Dissolve verts also now has checks to not accidentally dissolve
unselected vertices. It's not kindof a hybrid tool, using dissolve
faces where it can to dissolve verts for robustness, and using
BM_Dissolve_Verts where it cannot.

And removed some cruft from a few API functions.
March 13, 2009, 10:22 (GMT)
Makefiles: fix definitions of NAN_OPENEXR_* variables on linux, patch provided
by GSR
March 13, 2009, 07:50 (GMT)
2.5 Python api
- rearranged modules bpyui -> bpy.ui, bpy -> bpy.data, remove bpydoc
- new module bpy.types, stores a list of all struct types
- added __rna__ attribute to types - eg bpy.types.World.__rna__ so you can access the rna data from a type. (so bpydoc.structs isnt needed anymore)
- removed unused subtyping method (use python subclassing rather then C PyTypeObject)

March 12, 2009, 19:36 (GMT)
2.5 filebrowser
- better encapsulation for fsmenu to make it easier to remove global later.
- cleaned up fsmenu code to use just one global
- on file_exec current directory gets added to recent.
- save last 10 recent files in .Bfs too.
March 12, 2009, 15:28 (GMT)
RNA:
* boolean/int/float_set_array now works for non-array
properties as well, just setting the value with the first
element of the array.
March 12, 2009, 09:15 (GMT)
2.5

Makes Ghost compile for Make. Apparently the 'debug' directories are
still in use?

March 12, 2009, 06:40 (GMT)
2.5 filebrowser
- add refresh filelist operator and button in header
Revision c3cf187 by Matt Ebb
March 12, 2009, 05:56 (GMT)
* More UI control tweaks
Revision 215f0fa by Joseph Eagar
March 12, 2009, 03:55 (GMT)
the make ngon function's overlap test needed some work, the API function
that does that needed to be split in two. this made dissolve faces sometimes
not work.

also added some api functions to recalculate normals for verts, edges and
faces. and added a new flag, BM_NONORMCALC, to prevent this from happening
on individual fgon faces after they are tesselated. and made dissolve faces
happen on fkey in all the selection modes, not just face select.
March 11, 2009, 23:22 (GMT)
2.5 filebrowser WIP commit
- cleaned up warnings (mostly unneeded variables)
- new icons for filebrowser (large refresh and parent icons missing though)
- fixed error in large icon drawing due to texture coordinates calculated outside subpart of texture.
- removed library loading stuff from filelist
March 11, 2009, 22:11 (GMT)
BGE patch 18368: Modulus (ie %) expression controller in BGE. Implement a cache for the expression for better performance.
March 11, 2009, 20:25 (GMT)
* small typo fix.
March 11, 2009, 20:22 (GMT)
2.5 / Area management
* Add Area Swap: hold alt and drag with LMB from either actionzone. Release LMB on area you want to swap with. I added a matching cute cursor for this (and to make it a politically delicate issue, it's white on black).
Note, there are still some error totblocks that I haven't been able to track down properly yet, so that's still a bit WIP.
March 11, 2009, 17:28 (GMT)
WIP PyAPI from winter camp discussions, make subtypes of the base RNA python type, eventually allowing us to have python defined RNA classes in
python - lux/pov/renderman materials, lamps etc as well as operators.

At the moment there are 2 ways to do this, The first is like subclassing from python, another (disabled) method copies the base PyTypeObject struct
and makes some changes.

The PyType is stored in the RNA Struct for reuse, right now there are no access functions - needs to be improved.

Added a python script for printing all blend file data to the console which helps testing the api.

dir(rna) wont work for python 2.x now, use rna.__dir__() instead.

Revision 4178cf8 by Joseph Eagar
March 11, 2009, 06:04 (GMT)
numerical error fix for tesselator
Revision ce637a0 by Matt Ebb
March 11, 2009, 05:32 (GMT)
* Patch by Raul F Hernandez
This adds a header to the voxel data texture's data file format, to
auto-fill the resolution settings upon loading a file. I don't have a data
file of the right format to test with, so I'll trust it works and wait for
confirmation!

It also adds a 'still frame' setting, to pause the voxel data sequence on a
specified frame, throughout the course of the rendered animation.
Revision 27861a3 by Joseph Eagar
March 11, 2009, 05:13 (GMT)
implemented an (edge) loop walker. note I misunderstood
how original edge loop worked, and made it so if it starts
at a boundary edge, it walks across the boundary. I'm not
sure if this is bad, most of the time I do that I want it
to do that anyway.
Revision 0ac3e70 by Kent Mein
March 11, 2009, 02:58 (GMT)
removed extra space in text.

Kent
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021