Commit Graph

54085 Commits

Author SHA1 Message Date
Thomas Dinges
f3dd6b8df2 Cleanup: Some else if for attribute code. 2014-05-12 10:21:13 +02:00
Lukas Tönne
7fb96ff00d Fix T40142: Objects restricted in render/view don't produce duplis in
with correct transform for Blender Internal.

According to previous code the obmat must be modified even if the
duplicated object itself is filtered later. TBH i have no idea how/why
this works, but nobody else does either ... All obmats are restored
after BI messes with them during render, so should be fine ...
2014-05-12 08:55:47 +02:00
Lukas Tönne
204ba76ee0 A bit more helpful doc strings on the curve render resolution properties. 2014-05-12 08:07:33 +02:00
Lukas Tönne
3d7d930e31 Fix for crash when doing "make local object+data" on an empty.
This commit added object data loop, without checking ob->data for NULL:
rB6e5e3b73f37f952420d87a3d8acd07a7f68dd5a3
2014-05-12 07:49:31 +02:00
Campbell Barton
e2672a433b Fix crash removing objects rigid body constraints 2014-05-12 14:55:54 +10:00
Campbell Barton
d1526da787 Fix/Workaround T40102: RMB on vertex & GKey, acts as double-G 2014-05-12 12:58:26 +10:00
Campbell Barton
47e905725e Fix for numpad orbit ignoring auto-perspective 2014-05-12 11:27:59 +10:00
Campbell Barton
3210dfe769 Fix for rotate-around-selection in text-edit mode
This wasn't supported and would print an error message.
2014-05-12 11:19:55 +10:00
Campbell Barton
5db81a0695 Fix T40144: Font rendering problems 2014-05-12 09:08:02 +10:00
Campbell Barton
b78bb98cc9 VFont: de-duplicate checks for next/prev handles 2014-05-12 09:02:14 +10:00
Campbell Barton
4dcdb4b15e VFont: avoid allocating an array for storing total contours. 2014-05-12 08:47:49 +10:00
df74230c5e Fix cycles baking code build errors with OpenCL on some platforms. 2014-05-11 16:36:51 +02:00
0d5ecc5c33 Fix T40117: cycles sobol RNG issue when disabling __CAMERA_MOTION__.
This doesn't affect any actual release code since camera motion blur is enabled.
2014-05-11 16:36:51 +02:00
IRIE Shinsuke
c721f9a9f4 Remove unneeded comment. 2014-05-11 22:26:20 +09:00
Campbell Barton
f3ae9ce48a Quiet warnings 2014-05-11 20:21:00 +10:00
Tamito Kajiyama
3844e30e45 Freestyle: Added handling of a user-specified name for creating a new line set. 2014-05-11 17:57:43 +09:00
Tamito Kajiyama
d930c63f03 Freestyle: Fix for the active line set index possibly invalidated after deleting a line set. 2014-05-11 17:57:41 +09:00
Tamito Kajiyama
bbd611362c Freestyle: Added .new() and .remove() methods to the Linesets collection type. 2014-05-11 17:57:40 +09:00
Tamito Kajiyama
39c078202d Added BKE_freestyle_lineset_delete() by generalizing FRS_delete_active_lineset(). 2014-05-11 17:57:40 +09:00
Campbell Barton
c88e65da61 Code cleanup: comment typos 2014-05-11 16:22:05 +10:00
Campbell Barton
ccbac7862f CMake: use project name when generating project files 2014-05-11 16:21:38 +10:00
Campbell Barton
da644a9b58 Quiet warnings with __CUDA_ARCH__ use 2014-05-11 16:17:02 +10:00
Thomas Dinges
c08c931fb6 Cycles / CUDA: Increase maximum image textures on GPU.
Instead of 95, we can use 145 images now. This only affects Kepler and above (sm30, sm_35 and sm_50).

This can be increased further if needed, but let's first test if this does not come with a performance impact.

Originally developed during my GSoC 2013.
2014-05-11 03:38:39 +02:00
Dalai Felinto
8904eaf504 Fix T40107: painting on a psd image crashes blender + style cleanup in file
The issue was that we can't assume we support the colorspace from the file. The reported file had an invalid colorspace in fact, which was leading to the segfault in Blender.

Thanks for Sergey Sharybin for the help here.
2014-05-10 10:58:48 -03:00
Dalai Felinto
8943dc60ec Bake API: selected to active needs differentials or it renders black when bump/displacement (fix T40101) 2014-05-10 10:06:53 -03:00
Campbell Barton
78918995a4 Replace inefficient use of strstr with STRPREFIX macro 2014-05-10 09:29:35 +10:00
Campbell Barton
c3a3664e8c Utility macros for linklist stack & asserts for bmesh 2014-05-10 09:29:34 +10:00
Thomas Dinges
fd26a32aa5 Fix T40119, CUDA Toolkit version mismatch 2014-05-10 01:26:04 +02:00
Mitchell Stokes
d5588fd658 Fix T40113: Skinned meshes with non-animated shape keys crashes the BGE. 2014-05-09 16:05:23 -07:00
Mitchell Stokes
087bbe624f BGE: Fixing shape key animations on meshes with no armature.
Their transverts were not being updated after code changes for
multi-threaded skinning.
2014-05-09 16:03:54 -07:00
Mitchell Stokes
ff08acc556 BGE VideoTexture: Fix for loading PNG (and possibly other) files. 2014-05-09 13:53:42 -07:00
Antony Riakiotakis
f622691691 Fix access violation when painting with tiled textured brushes +
airbrush + small brush size.

Fast textured strokes meant that sometimes the update width (calculated
from stroke distance) would be greater than the new ibuf width. This
meant out of bounds access for the new ibuf.

It's totally strange that I couldn't reproduce this issue on older
versions since the logic here has not really changed much between
versions.
2014-05-09 23:30:19 +03:00
Dalai Felinto
c80e9866c8 Revert "Fix wrong job type used in cycles bake operator, could cause crashes."
This reverts commit 97823f604796fb008fef03653974473ece75d18e.

I was to push a fix based on Brecht's solution (this commit) when he did
the same.

This fix is correct, but it misses replacing WM_JOB_TYPE_OBJECT_BAKE
with WM_JOB_OBJECT_BAKE_TEXTURE in the rest of the file, which may lead
to problems when calling the operator in a quickly sucession -
WM_jobs_test also tests for the same type of JOB.

I created WM_JOB_TYPE_OBJECT_BAKE elsewhere, may as well use it. Unless we revert 20c90ea and f194da3.

I'm fine with either way, just trying to get master to work again ;)
2014-05-09 12:32:26 -03:00
Dalai Felinto
f194da3455 Bake API: reports were used after being freed leading to random crashes (fix T40077) 2014-05-09 12:30:32 -03:00
97823f6047 Fix wrong job type used in cycles bake operator, could cause crashes.
Ref T40077.
2014-05-09 17:14:13 +02:00
5f01b3d96e Fix T39585: cycles motion vector pass problem with curves. 2014-05-09 17:14:13 +02:00
fe00dbcc23 Fix cycles motion pass for hair curves showing a bit of motion when there isn't any. 2014-05-09 17:14:13 +02:00
Lukas Tönne
6f71491d61 Fix T40108: Copying materials leaves a shared Action datablock in nested
bNodeTree blocks.

This was broken by rB6e99fb0 (own commit). I expected the `do_action`
argument to be of no importance in this case due to node trees using
material animation, but this is not the case.

Anyway, this patch adds back a do_action to the BKE_libblock_copy_nolib
function as well to restore the previous behavior.
2014-05-09 15:02:21 +02:00
Joshua Leung
31849cafc2 Fix for random crashes when grabbing (rmb-drag) NLA strips
Although these crashes were quite sporadic, they seemed to happen most when
rmb-dragging strips randomly in quick succession. The most likely cause seems
to be a null check I accidentally took out during one of my commits yesterday.
2014-05-10 00:19:07 +12:00
Tamito Kajiyama
3a0be8a0d6 Freestyle: Fix for dashed lines when applied to invisible stroke segments.
Dashed lines were resetting stroke segment visibility by mistake (making invisible segments
visible, for example when applied to the results of square blueprint geometry modifier).
2014-05-09 20:48:15 +09:00
Tamito Kajiyama
c4e277d53b Freestyle: Fix for a wrong interpolation of stroke segment visibility. 2014-05-09 20:48:15 +09:00
Campbell Barton
d2ed5563d7 Metaball transform, support active-only option 2014-05-09 20:23:04 +10:00
Campbell Barton
164841e30e Code cleanup: style 2014-05-09 18:29:42 +10:00
Campbell Barton
663c800ef3 Fix T36973: Active snapping fails for edges/faces
also add snap-active support for armatures, pose & metas
2014-05-09 18:29:02 +10:00
Lukas Tönne
d61f8a5a22 Fix T40094 Faulty resizing behavior of frame node.
Frame nodes still have the "hidden" flag like all other nodes, but this
has to be ignored during resizing. width/height range for the frame
nodes must be unlimited for this to work correctly.
2014-05-09 08:53:48 +02:00
Joshua Leung
c5a946b2b8 Tweaking tooltip for NLA tweakmode enter to be a bit more descriptive 2014-05-09 16:18:28 +12:00
Joshua Leung
b2b7b3f796 NLA Editor Bugfix: Select NLA tracks too when selecting strips 2014-05-09 16:17:04 +12:00
Joshua Leung
ddc52b49ec NLA Editor: View selected also recenters the view now (as in the DopeSheet Editor) 2014-05-09 16:05:34 +12:00
Joshua Leung
b3cd9d289a Code cleanup: Define a dedicated "channel_role" field for animchannel types
This makes it easier for finding the active or first selected channel
(where actual data channels need to be favoured over expanders - which come
first), as previously, long switch statements were needed everytime.
2014-05-09 15:49:36 +12:00
Joshua Leung
89abdb606d DopeSheet: View Selected recenters the view vertically to display the active channel 2014-05-09 15:49:35 +12:00