Commit Graph

47594 Commits

Author SHA1 Message Date
Campbell Barton
f664680b70 speedup for edge split modifier/operator
- don't call 'del' operator now, expose the internal function instead.
- use the index values stored in the header rather then the operator.
2012-02-07 16:08:19 +00:00
Bastien Montagne
a7e6e5354b Fix [#30099] Wrong python path returned. "bpy.data.keys" instead of expected "bpy.data.shape_keys".
The "plural" name for ID_KE was wrong in idcode.c (bke), not matching the MainCollectionDef one used in rna_main.c.

Checked the others too, everything seems ok now.
2012-02-07 15:14:08 +00:00
Campbell Barton
883436de4c Code Cleanup:
rename BM_remove_tagged_* --> BMO_remove_tagged_*

also make the delete flag to check into an argument.
2012-02-07 15:11:34 +00:00
Sergey Sharybin
c5664a86a0 Merging r43909 through r43951 from trunk into soc-2011-tomato 2012-02-07 15:04:56 +00:00
Campbell Barton
98ca003890 make clear_flag_layer() validate index arrays. 2012-02-07 14:45:18 +00:00
Sergey Sharybin
4cb9c2db86 Fix #30052: VSE: metastrips don't move with Extend (E)
Issue was caused by transformation tools weren't taking metastrip clips into
account, so strip inside of merastrips are placedon different from metastrip side
of time cursor, extension happened in unexcpected way.
2012-02-07 14:27:08 +00:00
Campbell Barton
51fecbd639 Code Cleanup:
BMesh  operator flag was being passed around as in int, but the value is infact a short. use short for all functions now.
2012-02-07 14:01:34 +00:00
Campbell Barton
1fd6088729 Code Cleanup:
- use 'oflag' for operator flag arguments.
- use TRUE/FALSE for some bool args
2012-02-07 13:54:16 +00:00
Sergey Sharybin
f282f39f53 Fix #30094: Subdivision Surfaces Modifier corrupts Copy Location
Issue was caused because of missed MDeformVert layer on subdivided cube.
If regular object is constrained to mesh object, extra customdata mask
is adding to such target. But armature bones are handling separately
and there was no such thing happens.
Ideally this code should be deduplicated to avoid such kind of issues,
but better not to do it so close before release.
2012-02-07 13:29:58 +00:00
Campbell Barton
e511993f9c Code Cleanup: remove unused operator flags 2012-02-07 13:10:01 +00:00
Sergey Sharybin
c4542acc8b Fix #30091: Shift-Ctrl-Alt-RMB problem in face mode
Select Edge Rings with extension policy wasn't working properly in
face selection mode because it's used to call Select Loop operator
because edge rings can be selected only in verts/edges mode.
On this call of another operator extension policy wasn't set to
newly calling operator.
Now Select Edge Rings still calls Select Loops (which is a bit nasty)
but properly sets extension flag.
2012-02-07 12:47:17 +00:00
Joerg Mueller
77ab18ebc3 Fix for [#29910] Crash on reading KX_SoundActuator.sound
aud is now imported automatically on BGE start.
2012-02-07 11:22:50 +00:00
Campbell Barton
f552164c71 Style Cleanup: whitespace and some formatting. 2012-02-07 08:50:24 +00:00
Campbell Barton
aae52ef635 Documentation: add missing info about the fileselectior using hard coded property names. 2012-02-07 06:07:02 +00:00
Campbell Barton
04e0c16bb6 Style Cleanup: capitalize struct names 2012-02-07 03:56:35 +00:00
Campbell Barton
f9a6cb15e8 fix for remesh (infact any modifier that uses tessface's) not displaying geometry in editmode.
the bug was in CDDM_from_BMEditMesh which would create tessfaces even when use_tessface==FALSE.
2012-02-07 03:03:09 +00:00
Nicholas Bishop
3a361f83bd BMesh: Bugfix for infinite loop in r43937.
Infinite loop occured when quad-to-triangles operator.

The iterator increment in the do/while conditional gets executed after
the continue, so the iterator was getting double-incremented and thus
could skip past the first loop.
2012-02-07 01:50:25 +00:00
Campbell Barton
542dfd94a5 Style Cleanup, use TRUE/FALSE defines. 2012-02-07 01:46:47 +00:00
Nicholas Bishop
6ee4451a9e BMesh remesh modifier: create MPolys/MLoops directly rather than MFaces.
This is also a bugfix, face normals were not showing correctly for the
remesh output.
2012-02-07 01:20:49 +00:00
Nicholas Bishop
5f6395d69e Code cleanup for BMesh CDDM access functions, no functional changes.
Renamed CDDM_get_face() to CDDM_get_poly() to match array access
functions. Added function definitions for CDDM_get_loop() and
CDDM_get_poly().
2012-02-07 01:13:04 +00:00
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
Sergey Sharybin
81048fed74 Merging r43871 through r43908 from trunk into soc-2011-tomato 2012-02-05 14:39:43 +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