Commit Graph

29854 Commits

Author SHA1 Message Date
Campbell Barton
286073fb4e Style Cleanup 2012-02-07 00:13:29 +00:00
Campbell Barton
81eedf6ada use more optimal method of looping over face loops. 2012-02-06 23:48:42 +00:00
Campbell Barton
c6f07c651e rename defines to upper case. 2012-02-06 22:57:25 +00:00
Campbell Barton
b0f9d3a8af svn merge ^/trunk/blender -r43918:43934 2012-02-06 22:21:41 +00:00
Campbell Barton
297a21c39a Code Cleanup:
don't call CTX_data_scene(C) for every marker drawn
also remove unneeded call when scene was already defined as well as redundant scene cast.
2012-02-06 22:17:41 +00:00
Antony Riakiotakis
a36ccba3a8 uv sculpting now functional on bmesh 2012-02-06 21:00:50 +00:00
Antony Riakiotakis
d1833a2c99 Ported UvElementMap code to bmesh, still untested but at least compiling.
Next, uv sculpting will be ported.
Also fixed "initializer element is not computable at load time" compile error caused due to bit-shifting a constant past its precision length (1L should be 1LL for 32 positions left shift).
2012-02-06 19:25:12 +00:00
Joerg Mueller
10985c38d6 Bugfix for part 1 of [#30052].
Removed the if, because it's also in the function called.
2012-02-06 17:24:51 +00:00
Campbell Barton
0adcdbc77d Code Cleanup: comment, remove or use unused functions. 2012-02-06 09:39:47 +00:00
Campbell Barton
191c160d50 fix [#30083] Sculpt not redrawing with plain mesh 2012-02-06 06:56:54 +00:00
Campbell Barton
8733f89539 Style Cleanup: edits for line length 2012-02-06 06:26:54 +00:00
Campbell Barton
3c39c9dcf2 add in gpl headers 2012-02-06 06:10:11 +00:00
Campbell Barton
5c3fdfac77 Code Style: more code style edits. 2012-02-06 06:03:46 +00:00
Campbell Barton
e80c80dc51 replace some hard coded limits with defines 2012-02-06 05:18:08 +00:00
Campbell Barton
288a5b4b17 Style Cleanup: bmesh code style was a bit mixed - follow http://wiki.blender.org/index.php/User:Nazg-gul/CodeStyle 2012-02-06 04:37:27 +00:00
Campbell Barton
18763fd9c8 Minor Improvements...
- more efficient array growing
- use BM_NGON_STACK_SIZE for more static arrays
- dont use BLI_array for bevel code where size is known.
2012-02-05 23:09:07 +00:00
Campbell Barton
ed22c29f4b remove invalid enum setting in MESH_OT_extrude_vertices_move macro. 2012-02-05 22:32:32 +00:00
Campbell Barton
4ec6389b54 grid size was being ignored for grid and plane primitives 2012-02-05 22:27:44 +00:00
Campbell Barton
99b5681a4c new plane size wasn'nt 2x2 2012-02-05 22:19:27 +00:00
Campbell Barton
3937ec7d11 svn merge ^/trunk/blender -r43887:43918 2012-02-05 22:13:10 +00:00
Campbell Barton
8f3170a17c no functional change: NC_SPACE|ND_SPACE_VIEW3D notifier was getting an Object as a reference, currently this argument isn't used, but every other use passes a view3d, so better pass a view3d here too. 2012-02-05 21:58:24 +00:00
Campbell Barton
212337139c fix [#30062] Weight, Texture,Vertex Paint - Face Selection Mask Icon: Out of Sync
missing notifier for header redraw.
2012-02-05 21:48:41 +00:00
Domino Marama
2cb3fe3dfd Patch #30050 by Juha Mäki-Kanto (kanttori)
Fixes for Collada exporter.
Adds Second Life compatibility for armatures
Adds objects parentinverse to exported transform if it's non-identity
Fix mismatch between add_inv_bind_mats and add_joints_source accessor counts
Fix bone exports in world space should be local space
2012-02-05 16:19:28 +00:00
Thomas Dinges
fa163003c9 Release schedule:
* BCon4, important bug fixes only.
* Update readme.html and links to release logs, which now point to http://www.blender.org/development/release-logs/blender-262
2012-02-05 16:05:36 +00:00
Campbell Barton
11d5a2d2eb Code Cleanup: style change only 2012-02-05 15:55:28 +00:00
Campbell Barton
d186719f6d optimization for interpolating between vertices when the factor is 0 or 1 (1 is used frequently). 2012-02-05 14:33:59 +00:00
Campbell Barton
dea59f60c4 fix for memory leak in bmesh_jekv(); --- dissolve would not free deform weights in some cases. 2012-02-05 14:07:25 +00:00
Sergey Sharybin
04a079668c Movie Clip Editor: cleanup of display panels
- Split display options into two panels:
  * Display, which contains all general display options related on editor itself
  * Marker Display, which contains options which makes sense for markers themselves
   and not used so often.
- Remove Show GPencil option which doesn't actually make sense because strokes might
  be disabled from GPencil panel
- Removed Show Pyramid option and show pyramid for KLT tracker as default.
- Added hotkey to toggle Show Disabled (Alt-D)
- Added hotkey to toggle Show Pattern (Alt-S)

Changes in interface and hotkeys are done by Sebastian Koenig.
 Thanks for the patch!

Own changes in interface were related on Aspect Ratio. It doesn't make
much sense for tracking (camera pixel aspect is what you'll want to use,
but for masking it would make much more sense because when you just
want to create a mask for footage you don't actually have camera).
Just removing from interface seems not so nice for now.

Merged from soc-2011-tomato rev43872
2012-02-05 13:43:58 +00:00
Campbell Barton
baa843d0d3 Code Cleanup: use vector functions for copying / adding UV's 2012-02-05 13:25:42 +00:00
Sergey Sharybin
35c8226d28 Fix #30073: metaball + edit mode + proportinal edit hotkey
Was missed registration of PET toggling operators.
2012-02-05 11:42:20 +00:00
Campbell Barton
543fb27fd0 support for 'origspace' data layer - used for hair on subsurf mesh.
currently only works for 3/4 sided faces.
2012-02-05 11:30:26 +00:00
Campbell Barton
059a4b5085 pass wcol check as an argument rather then checking on every loop. 2012-02-05 10:15:54 +00:00
Benoit Bolsee
223216a36f BGE bug #21947: Softbodies not using object size. Fixed by scaling the shape before creating the soft body. 2012-02-05 09:32:35 +00:00
Benoit Bolsee
5e92c4e381 win32 quicktime: missing include. How comes nobody else got this problem? 2012-02-05 09:29:53 +00:00
Campbell Barton
b1cdb80e47 sync with trunk
- renamed vars
- calloc --> malloc
- remove some redundant code
2012-02-05 08:18:34 +00:00
Campbell Barton
d5fcaeb874 sync changes from trunk. 2012-02-05 07:44:40 +00:00
Campbell Barton
761122da2f Code Cleanup: minor changes & sync with bmesh. 2012-02-05 07:40:15 +00:00
Campbell Barton
1d21e2386e ensure tessface's are available while sculpting. 2012-02-05 07:12:46 +00:00
Campbell Barton
b0db9df701 fix for error in recent commit. passing totface rather then totpoly, also add asserts if PBVH attempts to build without any faces (but with polys). 2012-02-05 07:09:30 +00:00
Campbell Barton
776ec0ec61 add function for getting a polygon map: dm->getPolyMap(ob, dm).
polygon version of dm->getFaceMap(ob, dm)

sculpt uses this for checking connectivity.
2012-02-05 06:20:51 +00:00
Campbell Barton
2277241ea6 fix for vpaint fill not working, check loopcol rather then tessface color. 2012-02-05 04:40:45 +00:00
Campbell Barton
ebf8ed57e4 update sculpt mode not to rely on tesselated faces (use MPoly's instead, saves slowdown of having to maintain tesselation of base mesh data) 2012-02-05 04:11:34 +00:00
Campbell Barton
5c1bee7ebc fix for weight paint face selection.
since removing tesselation faces we can no longer rely on me->totface & me->mface being set. now use polygons instead.
2012-02-05 03:25:13 +00:00
Campbell Barton
d0412a1981 svn merge ^/trunk/blender -r43864:43887 2012-02-05 02:30:30 +00:00
Campbell Barton
4acab3eb33 Code Cleanup: line length and use Py_ssize_t for PyC_AsArray utility function. 2012-02-05 02:04:26 +00:00
Brecht Van Lommel
04266c2225 Fix: non-power-of-two-textures were always disabled on ATI/Apple due to poor
support in some older cards, now it does a more precise check for problematic
cards so that it can be enabled on new cards that do support it properly.
2012-02-04 19:57:09 +00:00
Benoit Bolsee
4c7e769aa1 BGE bug #29133: Render to Texture not working. Fixed by using same viewport to render and capture. 2012-02-04 17:20:38 +00:00
Andrew Wiggin
936af71e97 Bring BME_bevel code back (stage 1), porting it from the old BKE_bmesh to the new BMesh methods and data structures, and turns on compilation of this again. This makes the code work but isn't using it to do the bevel modifier just yet - that's coming next. 2012-02-04 14:23:07 +00:00
Campbell Barton
fc0ce537ba fix [#29947] Blender crashes when duplicate bones
missing NULL check.
2012-02-04 11:59:09 +00:00
Campbell Barton
637bc0ddea Code Cleanup: pep8 edits 2012-02-04 11:10:41 +00:00