Blender Git Commits

Blender Git "master" branch commits.

Page: 5360 / 5574

July 15, 2005, 17:35 (GMT)
- removed unused actkey field from struct Key
July 15, 2005, 17:31 (GMT)
- more signedness warning fixes in editsima
- added mesh_get_active_key and replaced code in editmesh to use this
- removed obsolete code in object_deform
July 15, 2005, 16:12 (GMT)
Part #1 of the fix for UV colors in new subdivide code

UV colors on Tri's should go right now when subdivivded,
for Quads, 3 of the for points should be right. Still working on the 4th.
July 15, 2005, 15:00 (GMT)
- remove some redundant drawing code
- mousewheel zooming in drawipo used uninitialized var (MSVC run time
error).
July 15, 2005, 14:50 (GMT)
- static'd several functions in key.c, just for readability
July 15, 2005, 05:30 (GMT)
BPY Support for Deform Parenting and Vertex Parenting

This adds two new method to the BPY Object type:
- makeParentDeform
- makeParentVertex

Both are based on makeParent. In fact, I splitted off the parenting
part of makeParent into an internal function so that all can reuse it. I
also added DEP_graph refresh flag that where missing.

makeParentDeform sets the parent type accordingly for correct
deformation (armature and curve) and checks if the parent and childs are of the
correct type for deformation.

makeParentVertex takes as additional mandatory argument a tuple of
indices to tell the parent which vertex to use. It does some object type
checking too.

Also included documentation. :)

Test file is in the patch there: http://projects.blender.org/tracker/?func=detail&atid=127&aid=2833&group_id=9

Note to Ton: When doing vertex parenting, the dashed parent line is only updated correctly if the objects are on screen when calling the function. If they aren't, the line is wrong and is only corrected when another recalc is called on the parent or child.
July 14, 2005, 22:21 (GMT)
- more warning killing: unused vars, double -> float constants, signedness
July 14, 2005, 22:16 (GMT)
- switch em_{vert,solid,wire}offs to be unsigned
- some other twiddles to fix mixed signedness compiler warnings

And from the "Dear lazy programmers" file: After you have extern declared
a variable 5 or more times at the top a function, you would have actually
saved a lot of effort by just putting it in the header where it belonged.
Or perhaps you thought by hiding it no one else would notice you were
using global variables to pass information around. Tsk tsk.
July 14, 2005, 22:04 (GMT)
Appending armature crashed... nasty stuff, but works again :)
July 14, 2005, 21:57 (GMT)
- added mesh_get_texspace (should be used instead of direct access)
which calculates texspace on demand if need be.
- removed almost all calls to tex_space_mesh

There may be a few corner cases where this goes wrong (meshes with vertex
keys) but these should get ironed out by coming modifier system.
July 14, 2005, 20:42 (GMT)
- incremental subsurf calc in mesh_changed didn't actually make sure
mesh used subsurf before calc (led to crash when subdiv==0). Woops!
July 14, 2005, 19:44 (GMT)
Adding CTRL stepping for Edgeslide. Mouse control is still not finished here, this is just a temporary fix until it can be done right.
July 14, 2005, 18:14 (GMT)
- switch several instances of makeDispList to use more specific version
July 14, 2005, 18:06 (GMT)
- make mesh_changed invalidate the mesh boundbox as well
July 14, 2005, 18:04 (GMT)
- add mesh_get_bb function to return mesh boundbox and calc if needed
- switch all mesh boundbox access to go through mesh_get_bb
- switch object_handle_update to call mesh_changed instead of making
the displist data immediately (delayed calculation)
July 14, 2005, 17:59 (GMT)
- change subsurf_make_derived_from_editmesh to check that subdivision
levels match before proceeding with incremental (need to build new
subdivision object if levels have changed)
July 14, 2005, 17:57 (GMT)
- fix extremely dismal approximation of vertex & face counts for
count_object. It is pretty obvious whoever changed this didn't
think about it much or test it well... *cough* *cough*.
July 14, 2005, 17:23 (GMT)
Armatures now draw bone names over solid.

(commit of initrender.c is just an added comment)
July 14, 2005, 17:10 (GMT)
- switch to using DAG_object_flush_update instead of mesh_changed
- mesh drawing calculated derived surface before clipping to view matrix,
waste for offscreen objects
July 14, 2005, 15:59 (GMT)
- use cos not cosf
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021