Commit Graph

41834 Commits

Author SHA1 Message Date
Campbell Barton
4c42e73a9d Fix T37399: Crash with wireframe (wasn't clearing edge tag) 2013-11-19 16:45:21 +11:00
Campbell Barton
2b946f4297 Fix T37445: Crash with snapping and shrink-wrap modifier.
Developer note:
BVHTREE_FROM_FACES was being used for both edit-mesh and derived-mesh
bvh-trees, this could cause index lookup errors in editmode.
Fix by adding a new type for editmesh so theres no confusion.
2013-11-19 14:31:26 +11:00
Campbell Barton
95d3286c65 Fix T37464: Crash when pressing "V" in UV/Image editor
Also fix for missing draw-handler free.
Delay activating until we know 'stitch_init' succeeds.
2013-11-19 13:34:16 +11:00
Campbell Barton
74a1e4dcf2 Fix T37519: Screw Modifier ignores material setup
This was more a missing feature then a bug, the modifier never handled
existing faces however with ngons its possible to get more useful
results. Also order edges from the faces (if available),
gives control over the face-winding-direction.
2013-11-19 13:15:12 +11:00
Campbell Barton
4da651c8f0 Fix T37472: crash when packing UV islands. 2013-11-19 11:20:57 +11:00
Mitchell Stokes
0f32bc49ec Fix T37171: Camera parented to a bone doesn't move with the bone, unless another object is parented too
Armatures used to check if any of their meshes were culled to see if they needed
to be updated. However, this meant armatures with no meshes would never update,
since non-mesh objects are always considered culled. Instead, if a non-culled
child was not found, we now check to see if the armature contained only
non-mesh objects. If this is the case, always update the armature. If this
becomes a problem, we can look into being able to cull non-mesh objects.
2013-11-18 14:52:07 -08:00
Mitchell Stokes
55e3be560e Fix T36756: Use Frame Rate option toolip was unclear about which FPS value to respect 2013-11-18 14:19:00 -08:00
Campbell Barton
3bc0552c5b Fix for running datablock eyedropper outside of a button. 2013-11-19 07:10:56 +11:00
Campbell Barton
bea9c3ab30 Fix T36998: Bisect would operate on unselected vertices. 2013-11-19 07:00:18 +11:00
Campbell Barton
df060e5d21 Fix T37088: Crash with eyedropper (shortcut E) 2013-11-19 05:49:39 +11:00
Campbell Barton
6f3f107c59 Fix T37336: Toggle selecting a pose-bone from object mode would de-select all others. 2013-11-19 05:21:58 +11:00
Mitchell Stokes
c73f82b6f0 Fix T37040: Removing vehicles in BGE causes a crash
The vehicle constraint is now properly removed if bge.constraints.removeConstraint()
is used or the object is deleted. This also fixes a memory leak with the
vehicle wrapper.
2013-11-18 09:37:58 -08:00
Campbell Barton
2d4bfc5e60 Fix T37495: Duplis weren't handling negative scaled objects properly. 2013-11-19 03:27:47 +11:00
Campbell Barton
67aff56c01 Fix T37506: Duplicate Area into New, was disabled on fullscreen but works ok. 2013-11-19 02:52:34 +11:00
Campbell Barton
b6b4aabf04 Fix T37511: toggle-drag feature was crashing with menu items. 2013-11-19 02:28:21 +11:00
Campbell Barton
0b01cc1316 Compile Fix: fix for gcc4.8 with bmesh header. 2013-11-18 23:54:07 +11:00
Sergey Sharybin
53753c0ddc Fix T37488: Crash with --debug reading userpref.blend
Issue was in fact caused by wrong DNA storage, which
apparently was considering unsigned long as just 4
bytes here.

Now use uint64_t to be sure timestamp does fit into
storage on all the platforms.

Thanks Campbell for help looking in the issue.
2013-11-18 18:13:23 +06:00
Sergey Sharybin
2b0162b622 Fix T37289: ID User decrement error for Shapes on Bones when playing in BGE
GE was copying the pose channels without increasing user counter for a
custom bone shape object. Freeing copied pose will for give decrement
errors.

The same increment issue seems to happen in BKE_pose_copy_data, which
is also solved now.
2013-11-18 17:19:15 +06:00
Brecht Van Lommel
ea79dcebe2 Fix T37468: image empties now use no interpolation when mipmaps are disabled.
Image empties don't actually support mipmaps right now, but the user preference
doubles as a way to disable any kind of interpolating in texture filter and just
show nearest neighbour filter, so for this is a bit more consistent.
2013-11-18 11:26:37 +01:00
Sergey Sharybin
106699ecd7 Fix T37301: Command line render gives seg fault 11 on OS X
Issue was caused by wm->defaultconf being NULL when in
background mode which made keymap modifications from a
script crash.

Reviewed by Brecht, thanks!
2013-11-18 15:01:02 +06:00
Sergey Sharybin
b492f85c52 Fix part of T37326: IMAGE_OT_invert won't update if buffer is float
Need to mark display buffer as out-of-date.
2013-11-18 14:18:01 +06:00
Sergey Sharybin
8948d53d98 Fix T37345: Image baking progress bar wrongly appears in node editor
Baking job is owned by scene but only need to update image space
contexts. This leads to job progress bar stuck in node editor.

Made it so node editor does not display baking jobs now.
2013-11-18 14:04:10 +06:00
Sergey Sharybin
6f67f7c18c Fix T37428: NurbsPath Mesh Deform "Binding" not available or not functional
Seems to be a regression when Campbell was working on T24009.

Bind operator exec handles curves nicely, could not see reason
why to disable this with a poll function.

From quick tests everything seems to be just fine.
2013-11-18 13:37:55 +06:00
Walid Shouman
238d2f962d BMesh Refactor: BKE_bmbvh_new can now be created without an EditMesh.
This adds BM_bmesh_calc_tessellation() so we can get triangles from a
bmesh without having to have an editmesh available.
2013-11-18 18:25:47 +11:00
Sergey Sharybin
8b3524c215 Fix T37486: Displacement bake from multires crashes when preview level is on 0
Revert "Code cleanup: remove unused block from multire baker"

This reverts commit 63b01f6bee.

Multires displacement baker in fact uses level 0 for the
original subdivided mesh. Missed this when was making an
original commit.
2013-11-18 13:09:10 +06:00
IRIE Shinsuke
69cbf3d835 Fix for T36936: Crash when starting BI rendered view
Discard the render database when stopping the rendered preview,
otherwise starting it again may cause a segmentation fault because
undo/redo with non-rendered preview corrupts the database.
2013-11-18 15:34:15 +09:00
Joshua Leung
4ea79fcdda Patch T37363: Highlight bone layers with active bones (as for Object Layers)
Patch by Jose Molina Garcia (sentinel), with style fixes by myself.
2013-11-18 16:06:31 +13:00
Joshua Leung
0ff70d942f Code cleanup - Reduce duplication of layer number calculations here 2013-11-18 15:53:46 +13:00
Joshua Leung
cee7fbdfaa Fix T37413 - Fit-Curve option for Array Modifier ignores constraint results
Unless I'm missing something here (probably with regards to parenting),
it makes more sense that constraint results are considered here as well
(for example, if Limit Scale constraints get applied on the object),
as this allows for greater flexibility when creating setups with this.
2013-11-18 14:02:49 +13:00
Joshua Leung
e806e5ce37 Fix spelling error in comment 2013-11-18 13:28:39 +13:00
Mitchell Stokes
537f28fc0e Fix T37325: applyRotation() wasn't working correctly on rigid bodies in the game engine.
During the physics cleanup/refactor, the rotation matrix in
CcdPhysicsController::RelativeRotate() became transposed.
2013-11-17 16:04:26 -08:00
Campbell Barton
84c30edbdf fix for crash with new buildinfo, when gmtime() returns NULL 2013-11-18 02:41:28 +11:00
Campbell Barton
8f7f8d679c Style Cleanup: whitespace 2013-11-17 22:00:57 +11:00
Campbell Barton
85bbef0f4e python api internals: no need to set the stop-iter exception string. 2013-11-17 15:09:57 +11:00
Campbell Barton
c9209de573 vertex weights: add weight quantize tool. 2013-11-17 14:58:23 +11:00
Thomas Dinges
f9785bdeb4 * Some less technical tooltip for the splash screen. 2013-11-17 00:44:08 +01:00
Thomas Dinges
87c66bc6a4 Documentation:
* Update readme for 2.70 (content + links), also updates for new tracker/git.
* Fix some links to the new blender.org website
* Release logs now point directly to the wiki, I don't see a reason to point to the website, just to redirect to the wiki after all.
2013-11-17 00:37:12 +01:00
Tamito Kajiyama
c592ebf5df Freestyle: a follow-up fix of trunk revision 61233. When an iterator has reached
the end, any reference of the object pointed by it will now lead to a RuntimeError
instead of returning None, with the aim of forcing Python API users to check the
end of iteration rather than implicitly indicating the error condition.

Acknowledgement to flokkievids for API discussions in the BlenderArtists.org
Freestyle for Blender thread.
2013-11-16 22:11:28 +00:00
Henrik Aarnio
b0ff255b55 Transform: vertex snapping for curves
This adds vertex snapping capabilities for curves. Snaps to all control points
of other objects, and visible + selected control points and handles in curve
edit mode.

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D3
2013-11-16 20:21:13 +01:00
Campbell Barton
8bc48307ba pose mode: extend selection flipping to use the same method as editmode.
adds extend and active only opton.
2013-11-17 05:23:05 +11:00
Campbell Barton
ed1146b9db armature editmode: option for select mirror to use active bone only. 2013-11-17 05:23:05 +11:00
Campbell Barton
4fd66d7c0c code cleanup: armature functions
- added BKE_pose_channel_get_mirrored (matching editmode function ED_armature_bone_get_mirrored)
- editbone_name_exists -> ED_armature_bone_find_name
2013-11-17 05:23:05 +11:00
Campbell Barton
e62cdbb474 code cleanup: rename flip_side_name to BKE_deform_flip_side_name 2013-11-17 05:23:05 +11:00
Sergey Sharybin
891a037e9b Skip .git files from submodules for install targets
Also removed .svn checks when it's not longer needed.
Some further tweaks (probably for OSX bundler) are
likely needed.
2013-11-17 00:18:21 +06:00
Sergey Sharybin
9c3586d9f9 Remove check for whether po folder exist
It was just a temp thing to not break stuff
before final git migration.
2013-11-17 00:09:03 +06:00
Campbell Barton
e8bd916ba5 armature editing: using too short length checking to add L/R suffix. 2013-11-17 04:05:18 +11:00
Sv. Lockal
bc6ba9eb3b Fix T37493: Defocus node with angle = 90° rotates bokeh only for ~1.5° 2013-11-16 19:49:23 +04:00
Bastien Montagne
1a0fed9ee0 More fix for this stupid uppercase-to-lowercase convertion code... Thanks to Lockal for noting this! 2013-11-16 15:34:47 +01:00
Howard Trickey
7a899ce9fc Fix T37476 Bevel modifier got weight from wrong edge
The bevel modifier with 'weight' activated was reading
the weights from the wrong edges.
2013-11-16 08:10:12 -05:00
mont29
d49498a461 Fix T37442: Disabled uiList would "freeze" Blender when trying to drag-resize it.
For now, simply disable drag-resize for disabled uiLists!
2013-11-16 11:32:32 +01:00