Revision 1df4181 by Nicholas Bishop February 23, 2012, 07:21 (GMT) |
Code cleanup: replace some common CCG operations with functions. The new functions are ccg_gridsize, ccg_edgesize, ccg_spacing, and ccg_edgebase. These target most of the left-shift operations in the code. |
Revision 0dc50a0 by Campbell Barton February 23, 2012, 05:20 (GMT) |
bmesh py api, new submodules * bmesh.types, just allows access to BMVert, BMEdge etc. * bmesh.utils, so far only added edge_split() function, this module will give access to mesh editing functions. |
Revision 38f546a by Campbell Barton February 23, 2012, 05:17 (GMT) |
swap arg order for BM_edge_split(), makes sense to have edge as first arg. |
Revision d232815 by Campbell Barton February 23, 2012, 04:26 (GMT) |
- swap arg order for BM_face_copy() boolean options. - use edge example for BM_face_split(). |
Revision ecb6f13 by Campbell Barton February 23, 2012, 04:19 (GMT) |
bmesh py api, more wrapped funcs: * BMFace.copy(verts=True, faces=Trur) * BMEdge.other_vert(vert) |
Revision 30c62d9 by Campbell Barton February 23, 2012, 03:39 (GMT) |
bmesh py api: functions for getting the area/angle/center of BMesh elements. |
Revision 190f5d1 by Campbell Barton February 23, 2012, 02:36 (GMT) |
code cleanup: dont set the namespace in STR_String.h - 'using namespace std', since this is included in many places. |
Revision c8b53d2 by Campbell Barton February 23, 2012, 02:23 (GMT) |
code style cleanup, no functional changes. |
Revision 53fece4 by Campbell Barton February 23, 2012, 02:17 (GMT) |
style cleanup for blenkernel, no functional changes. |
Revision c428bb4 by Nicholas Bishop February 22, 2012, 23:57 (GMT) |
Move PBVH bitmap to separate header in blenlib. The implementation was also changed in a couple ways: use unsigned integers as its base type rather than unsigned chars, and uses macros rather than functions. (These could be changed to inline functions.) Currently it is still only used during PBVH building, but now it's accessible elsewhere. |
Revision 5e12c7f by Nicholas Bishop February 22, 2012, 23:30 (GMT) |
Code cleanup: de-duplicate code in GPU_build_grid_buffers() with a macro. |
Revision 5e29a67 by Nicholas Bishop February 22, 2012, 23:13 (GMT) |
Code cleanup: split up some long functions in sculpt_undo.c. Should be no functional changes. |
Revision fd87bf3 by Nicholas Bishop February 22, 2012, 22:48 (GMT) |
Code cleanup: don't use GHash for GPU_build_mesh_buffers(). At the point where GPU_build_mesh_buffers is called, the face_vert_indices map has already been built; it contains the same data in an easier-to-access format. |
Revision 78e1da9 by Nicholas Bishop February 22, 2012, 22:41 (GMT) |
Code cleanup: remove unused 'skip' field from PBVH iterator. |
Revision 4448858 by Nicholas Bishop February 22, 2012, 22:37 (GMT) |
Code cleanup: move the PBVH iterator's initialization into a function. Should be no functional changes, just shortens the amount of code living in the macro. |
Revision de595d9 by Antonis Ryakiotakis February 22, 2012, 20:31 (GMT) |
fix scons compilation, hopefully for all platforms that have a problem. |
Revision 6c0361d by Bastien Montagne February 22, 2012, 20:06 (GMT) |
Armature pose evaluation: more factorization of code. Now constraints' space conversion code also uses generic armature_mat_(pose_to_bone/bone_to_pose). Previous own function (constraint_pchan_diff_mat) was somewhat inconsistent too with Hinge/NoScale/LocalLocation options... As with previous similar changes, this might break some old rigs, in very specific cases (when constraint-evaluating an hinge/noscale/local_location bone in local space). In the same part of code, removed unnecessary matrices copying, mult_m4_m4m4 can take the same matrix as input and output, nowadays... Also found a bug-generator weakness in those armature_mat_ functions (if both input and output mat where the same, result was wrong, now systematically copying input mat, as done in LIB's matrix funcs). Finally, factorized offset bone matrix generation into its own small function too, as it is used in two different places in armature.c (pchan_to_pose_mat itself, and restpose's where_is_armature_bone). Note: I think all parts of blender's code related to that topic have now been tackled, but yet have to check BGE, it�??s probably using that stuff too, one way or the other... |
Revision bb5e545 by Antonis Ryakiotakis February 22, 2012, 18:57 (GMT) |
Fix blenderplayer linking with recent additions to bmesh python. We should really start building with player on so that mistakes like this can be detected early. |
Revision 1955407 by Campbell Barton February 22, 2012, 16:52 (GMT) |
code cleanyp - no functional changes. |
Revision 34e2fb4 by Bastien Montagne February 22, 2012, 16:21 (GMT) |
More style edits (adding a space between statements and parenthesis, if (foo) blah;), to follow http://wiki.blender.org/index.php/User:Nazg-gul/CodeStyle proposition. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021