Campbell Barton
d0412a1981
svn merge ^/trunk/blender -r43864:43887
2012-02-05 02:30:30 +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
deec4ce0bc
Code Cleanup: avoid double promotion.
2012-02-04 06:55:29 +00:00
Campbell Barton
db785d1656
fix for crash converting a curve into a mesh (Alt+C conversion), this would crash on entering editmode.
...
now curves convert to polygons directly, rather then faces, and polygons after.
2012-02-03 04:58:55 +00:00
Campbell Barton
26fd713906
fix for curves drawing as wire once modifiers were applied.
...
tesselate final curve derived mesh for drawing
2012-02-03 01:59:13 +00:00
Campbell Barton
075fee4d58
svn merge ^/trunk/blender -r43830:43864
2012-02-03 01:30:21 +00:00
Campbell Barton
0791993030
Minor Speedup: avoid for() loop over all faces in fluidsim by passing an example face to the mesh read function (also avoid a lot of int -> short/char conversions).
2012-02-02 23:58:46 +00:00
Sergey Sharybin
3b3d811bf0
Disallow fill caps for curves without bevel object.
...
It's getting complicated to detect which part of curve is actually a
cap in cases like extruded 2d curve with non-zero depth.
2012-02-02 19:20:51 +00:00
Sergey Sharybin
1471a1983c
Fix for recent bevel cap option
...
"Holes" used to be ignored (i.e. when using "Text" as bevel object "e" wouldn't have a "hole").
Resolved by collecting all polys needed for top and bottom cap and filling them at once
2012-02-02 18:50:44 +00:00
Sergey Sharybin
aef11b52d0
Added option to fill caps of bevelled curves.
...
It can be found in Shape panel below Fill label. If this option is enabled,
caps of curve will be filled.
2012-02-02 15:15:52 +00:00
Brecht Van Lommel
4aaf59324e
Fix #27213 : editing color ramp "Pos:" number value did not update the ramp
...
properly, when moving the current point before another.
2012-02-02 14:07:24 +00:00
Brecht Van Lommel
01d0e279db
Fix related to #30053 : crash rendering scene strips without a scene (due to missing library).
2012-02-02 13:21:38 +00:00
Sergey Sharybin
6a30321434
Fix #29381 : Navmeshs frees not guarded allocated memory and leaked
...
There were two issues discovered:
- Triangles mapping didn't free in buildNavMeshData if there's no recast data for an object
- KX_NavMeshObject used not-guarded allocation for polygons storage, but used guarded
freeing stuff to free used memory, producing error messages in the console and leading to
memory leak.
Wasn't actually harmful for users -- there was no memory corruptions and error happens only
when object was set up in a way when navmesh can't work in theory.
2012-02-02 08:48:43 +00:00
Campbell Barton
722e0d38ac
Code Cleanup: de-duplicate bone space calculation ~(35 sloc)
2012-02-02 08:47:46 +00:00
Campbell Barton
ab4dbc6d78
fix [ #30051 ] Copy Scale constraint overrides Inherit Scale from parent
...
space conversion in constraint code ignored inherit scale option.
2012-02-02 08:04:06 +00:00
Campbell Barton
8926cbd0a7
svn merge ^/trunk/blender -r43819:43830
2012-02-02 00:04:47 +00:00
Sergey Sharybin
ca927b5771
Fixed typo in tracking context creation. Wasn't harmful because because of definition value,
...
but better avoid such confusing assignment.
2012-02-01 19:36:39 +00:00
Sergey Sharybin
2f90477272
Camera tracking: regression fixed after recent frame postprocessing refactor
...
No-proxied frames using for 2D tracking used to be putting to cache which lead
to extra memory usage which shouldn't happen.
2012-02-01 19:06:21 +00:00
Campbell Barton
4aa82806ef
svn merge ^/trunk/blender -r43751:43819, need to look into changes made to editmesh_loop.c from this range still
2012-02-01 09:31:13 +00:00
Campbell Barton
a834007a9b
Previous fix for [ #29484 ] wasn't working right (did work in report file though).
...
this now shares code with RNA's 'pchan.matrix = matrix'
tested with parent scale/rot/translation
2012-02-01 05:59:50 +00:00
Campbell Barton
7836069775
fix [ #29484 ] Visual keying bone with local location disabled
2012-02-01 05:04:51 +00:00
Campbell Barton
ac07669900
remove old code and use macro for latt_bp() function
2012-01-31 21:56:22 +00:00
Campbell Barton
2050ab09a5
calc_curve_deform was using axis range of 1-6, but other parts of the code use 0-5. (confusion here casued an error in the code).
...
make calc_curve_deform use 0-5 too, only minor changes needed.
2012-01-31 21:32:06 +00:00
Campbell Barton
888187fa8c
fix incorrect neg axis check for the curve deform modifier's boundbox.
2012-01-31 21:20:30 +00:00
Campbell Barton
820bb6e148
fix [ #30037 ] Curve Modifier doesn't work within -X -Y -Z translation in such cases?
...
the curve modifier was applying the offet between the mesh and the curve object twice.
for positive axis it was (offset+offser), for neg axis (offset-offset) --- giving no offset,
in both cases not very useful.
2012-01-31 21:06:52 +00:00
Campbell Barton
199efda34e
fix inconsistancy with curve deform bounds being set differently when vertex groups were used.
2012-01-31 20:48:48 +00:00
Campbell Barton
8a0a0e3a74
minor cleanup made while looking into bug report (having vector size in comments is silly, may as well have in declaration)
2012-01-31 20:38:03 +00:00
Sergey Sharybin
33faf0286d
Fix #30030 : Tapered and beveled text won't update in realtime
...
Was missed dependency in depsgraph.
2012-01-30 19:55:30 +00:00
Sergey Sharybin
8ec8aaf77f
Fix #30019 : Copy rotation from a vertex group
...
It was incorrect behavior of contarget_get_mesh_mat in cases when
object's Y axis is co-linear to average vertex group normal.
Use object's X axis for plane definition in such cases.
2012-01-30 19:46:15 +00:00
Brecht Van Lommel
2a614b04c1
Fix #28733 , #29885 : fix missing scene in context in python. The window manager
...
would indirectly clear it when clearing the window from the context. This makes
some sense when we support multiple scenes properly, but currently there's still
many places assuming there is a single active scene, so keep it available to
avoid crashes.
2012-01-30 15:12:51 +00:00
Campbell Barton
35678eaae5
simplify some of the shape key code. no functional changes.
2012-01-30 03:54:24 +00:00
Campbell Barton
035607e26c
more efficient array copying for add_shapekey_layers
2012-01-30 01:18:49 +00:00
Campbell Barton
fac771beca
missed these last commit
2012-01-29 22:32:00 +00:00
Campbell Barton
2ea8a3b8ca
remove CDDM_copy second argument, added CDDM_copy_from_tessface instead.
...
this function caused too many conflicts and in most cases was zero anyway.
2012-01-29 21:59:47 +00:00
Campbell Barton
870aa90112
svn merge ^/trunk/blender -r43733:43751
2012-01-29 21:49:49 +00:00
Thomas Dinges
b86c6f65a4
Release cycle:
...
* Moving on to BCon3: Beta.
2012-01-28 13:53:17 +00:00
Miika Hamalainen
d7b9fdc2f6
Dynamic Paint:
...
* Fix: Brush didn't paint particles that were hidden by the display percentage setting.
2012-01-27 17:44:56 +00:00
Sergey Sharybin
6da44f9042
Always assume isFinalCals is truth when applying constructive modifiers on curves
...
for viewport display.
It saves plenty of memory when using subsurf modifier which result is getting
converted from CCGDM to CDDM without any benefit. It also syncs behavior of
modifiers with mesh.
Need to keep an eye on constructive modifiers when in edit mode.
Discovered this when was looking into #29973 .
2012-01-27 14:17:59 +00:00
Nicholas Bishop
82300fabb9
Minor fix for CD_TYPE_AS_MASK macro: shift operator uses the left
...
operand's type for the result, so cast 1 to CustomDataMask.
2012-01-27 08:15:30 +00:00
Campbell Barton
de4eeb9694
svn merge ^/trunk/blender -r43693:43733
2012-01-26 19:20:33 +00:00
Sergey Sharybin
5d49eff25a
Fix #29957 : Texture "Generate" mapping work as global with cloth modifier
...
Make Cloth modifier deformation only so now it applies on orco dm properly.
2012-01-26 17:03:30 +00:00
Sergey Sharybin
bcbe9ca5fc
Color channels used for tracking is now a part of default tracking settings and also a part of presets.
2012-01-26 15:33:16 +00:00
Campbell Barton
8275ae64ba
particle system now ensures tessfaces are available.
...
now sintels heir works in the 3D viewport, (need to work on subsurf next)
2012-01-26 00:16:14 +00:00
Campbell Barton
5f2e1b8f1a
avoid storing over allocated arrays in tesselated custom data, was reserving initial arrays wrong the wrong array length.
2012-01-25 23:59:28 +00:00
Campbell Barton
288ed10fbf
fix for own error in tesselating as quad
2012-01-25 22:55:12 +00:00
Campbell Barton
e80f265c55
enable tesselating 4 sided faces to quads.
...
will help for particles and tangents
2012-01-25 21:33:37 +00:00
Campbell Barton
c7e8af13d4
remove cellalloc, from my tests jemalloc beats cellalloc, so we better just use a better malloc replacement.
...
See Details:
http://wiki.blender.org/index.php/User:Ideasman42/BMeshBranchReview#Update_43694
2012-01-25 20:18:12 +00:00
Campbell Barton
4fae6cd38d
svn merge ^/trunk/blender -r43685:43693
2012-01-25 18:13:58 +00:00
Brecht Van Lommel
f99343d3b8
Cycles: Render Passes
...
Currently supported passes:
* Combined, Z, Normal, Object Index, Material Index, Emission, Environment,
Diffuse/Glossy/Transmission x Direct/Indirect/Color
Not supported yet:
* UV, Vector, Mist
Only enabled for CPU devices at the moment, will do GPU tweaks tommorrow,
also for environment importance sampling.
Documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes
2012-01-25 17:23:52 +00:00
Sergey Sharybin
bce89860f5
Various fixes for camera tracking stuff
...
- Fixed tooltip displaying for track sequence forwards in clip editor
- Corrected detection of 8 tracks so it wouldn't count tracks disabled
on keyframes.
- Scale track preview to actual track widget size instead of scaling the
whole preview image with given zoom ratio, so no extra memory needed to
store zoomed margin would be used.
- Track's statistics text will fit pattern position instead of search if
marker is disabled on current frame.
- Fixed toggle selection operator if selected track is hidden due to
"Hide Disabled" policy.
2012-01-25 13:37:11 +00:00