Commit Graph

41820 Commits

Author SHA1 Message Date
b6b4aabf04 Fix T37511: toggle-drag feature was crashing with menu items. 2013-11-19 02:28:21 +11:00
0b01cc1316 Compile Fix: fix for gcc4.8 with bmesh header. 2013-11-18 23:54:07 +11:00
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
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
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
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
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
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
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
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
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
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
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
0ff70d942f Code cleanup - Reduce duplication of layer number calculations here 2013-11-18 15:53:46 +13:00
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
e806e5ce37 Fix spelling error in comment 2013-11-18 13:28:39 +13:00
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
84c30edbdf fix for crash with new buildinfo, when gmtime() returns NULL 2013-11-18 02:41:28 +11:00
8f7f8d679c Style Cleanup: whitespace 2013-11-17 22:00:57 +11:00
85bbef0f4e python api internals: no need to set the stop-iter exception string. 2013-11-17 15:09:57 +11:00
c9209de573 vertex weights: add weight quantize tool. 2013-11-17 14:58:23 +11:00
f9785bdeb4 * Some less technical tooltip for the splash screen. 2013-11-17 00:44:08 +01:00
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
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
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
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
ed1146b9db armature editmode: option for select mirror to use active bone only. 2013-11-17 05:23:05 +11:00
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
e62cdbb474 code cleanup: rename flip_side_name to BKE_deform_flip_side_name 2013-11-17 05:23:05 +11:00
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
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
e8bd916ba5 armature editing: using too short length checking to add L/R suffix. 2013-11-17 04:05:18 +11:00
bc6ba9eb3b Fix T37493: Defocus node with angle = 90° rotates bokeh only for ~1.5° 2013-11-16 19:49:23 +04:00
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
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
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
a7d292ee4e Code cleanup, cont. A small omission here. 2013-11-15 23:04:18 +02:00
e9c9706ce6 Code cleanup: Use different redraw options for sculpt mask operators.
Current redraw options also did an unnecessary normal recalculation on
updated nodes.

Also, for the box and lasso mask only push an undo node if any vertex
has actually been influenced.
2013-11-15 23:00:15 +02:00
f06c02b8dd Support for symmetrical box masking in sculpt mode.
Now box masking will take the symmetry options into account.
2013-11-15 22:21:01 +02:00
a9e0f3364f Fix collada after git switch ( undefined build_commit_time ) 2013-11-15 18:38:06 +01:00
53fffbafbe Fix for own mistake in r61178: bNodeTree->links ListBase was being modified while iterating ... 2013-11-15 16:54:05 +01:00
9a78cda321 Fix Bevel artifacts bug T37053
In the case that there are two beveled edges with one unbeveled
one in between, and the widths don't allow them to magically
line up, it is better to slide along unbeveled edge.

Sometimes bevel widths are uneven (this was the case before)
and it is a followup TODO to do a width cleanup pass afterwards
to even the edges up as much as possible.
2013-11-15 10:47:45 -05:00
4836fc78a0 Cmake: little typo breaking player 2013-11-15 16:30:49 +01:00
927dea436e Further tweaks to buildinfo
Summary:
Old idea with changes since previous release tag
didn't work good enough. In most of the cases tag
was done in a branch hence not actually reachable
from the master branch.

Now change since release is gone, and date of
the latest commit is used instead.

The date is displayed in format YYYY-MM-DD HH:mm
in the splash.

New bpy.app fields:

- build_commit_timestamp is an unix timestamp of
  the commit blender was build from.
- build_commit_date is a date of that commit.
- build_commit_time is a time of that commit.

Reviewers: campbellbarton

Differential Revision: http://developer.blender.org/D5
2013-11-15 18:05:27 +06:00
Lukas Toenne
4d4ef0434b Make dynamic node labels possible as a registerable function 'draw_label' (simple 'label' identifier is already in use, need to avoid API breakage). This should simply return a string. The dynamic label can still be overridden by the user-defined node.label string. 2013-11-12 18:18:04 +00:00
Lukas Toenne
8663b940ed Instead of requiring a const char* return from the (optional) node label callback function, let it write into a mutable string buffer. This will allow actual dynamic labels for nodes using the python
API.
2013-11-12 18:17:58 +00:00
ba7fd8cd5c Change the behavior of AO pass in Blender internal's shader/render node tree so that it becomes (1.0, 1.0, 1.0) when AO is disabled.
For materials using AO pass, this makes the material preview and the GLSL
preview more accurate, but shouldn't affect final rendering in most cases
because we usually enable AO when using the AO pass in node tree.

Thanks to Brecht for code review.
2013-11-12 10:59:40 +00:00
ef1bc03fce Fix #37092 and #37381: crashes in the .object() method of Freestyle iterators.
Now the method checks if the iterator is at the end, and returns None if that is the case.
2013-11-12 02:28:26 +00:00
59e4600526 Fix [#37380] vertex paint colors don't render.
Another Evil Typo (r) one, you could add much more than the 8 allowed VCol layers!

Note: added some (warning-only) checks in mesh validate functions, but we still have a big issue with new cdlayer merge function, which could generate more than 8 layers of UVs or VCol... Don't know yet how to handle this situation. :(
2013-11-11 20:37:19 +00:00
7fc1088164 Fix [#37388] Grid fill crashes blender in specific situation.
With some geometries, we can have a valid first path, without being able to find a valid second one, added needed check.
2013-11-11 14:29:01 +00:00