blender.git
7 years agoGTest now works without buildinfo
Campbell Barton [Sun, 22 Jun 2014 15:13:25 +0000 (01:13 +1000)]
GTest now works without buildinfo

7 years agoadd brush icons from paint branch to make diff more manageable for arcanist
Antony Riakiotakis [Sun, 22 Jun 2014 14:48:08 +0000 (17:48 +0300)]
add brush icons from paint branch to make diff more manageable for arcanist

7 years agoApply fix for T40745 to extrude_face_region too
Campbell Barton [Sun, 22 Jun 2014 14:12:06 +0000 (00:12 +1000)]
Apply fix for T40745 to extrude_face_region too

7 years agoSpelling
Campbell Barton [Sun, 22 Jun 2014 13:47:05 +0000 (23:47 +1000)]
Spelling

7 years agoEditmesh: extruding end-point verts now maintains edge-direction
Campbell Barton [Sun, 22 Jun 2014 08:38:17 +0000 (18:38 +1000)]
Editmesh: extruding end-point verts now maintains edge-direction

Resolves T40745, where faces from extruded edges had flipped normals.

7 years agoCode cleanup: style
Campbell Barton [Sun, 22 Jun 2014 05:02:27 +0000 (15:02 +1000)]
Code cleanup: style

7 years agoCode cleanup: de-duplicate widget_num_tria, widget_scroll_circle
Campbell Barton [Sun, 22 Jun 2014 05:01:54 +0000 (15:01 +1000)]
Code cleanup: de-duplicate widget_num_tria, widget_scroll_circle

7 years agoRemove unused function
Campbell Barton [Sun, 22 Jun 2014 03:05:48 +0000 (13:05 +1000)]
Remove unused function

7 years agoWM: set circle select minimum radius to 1
Campbell Barton [Sun, 22 Jun 2014 03:02:26 +0000 (13:02 +1000)]
WM: set circle select minimum radius to 1

7 years agoCycles: improved Beckmann sampling using precomputed data
Brecht Van Lommel [Fri, 20 Jun 2014 19:21:05 +0000 (21:21 +0200)]
Cycles: improved Beckmann sampling using precomputed data

It turns out that the new Beckmann sampling function doesn't work well with
Quasi Monte Carlo sampling, mainly near normal incidence where it can be worse
than the previous sampler. In the new sampler the random number pattern gets
split in two, warped and overlapped, which hurts the stratification, see the
visualization in the differential revision.

Now we use a precomputed table, which is much better behaved. GGX does not seem
to benefit from using a precomputed table.

Disadvantage is that this table adds 1MB of memory usage and 0.03s startup time
to every render (on my quad core CPU).

Differential Revision: https://developer.blender.org/D614

7 years agoFix T40703: cycles viewport smoke not updating when changing frame.
Brecht Van Lommel [Sat, 21 Jun 2014 20:18:48 +0000 (22:18 +0200)]
Fix T40703: cycles viewport smoke not updating when changing frame.

7 years agoFix T40714: cycles not loading CMYK jpeg files correctly.
Brecht Van Lommel [Sat, 21 Jun 2014 18:42:03 +0000 (20:42 +0200)]
Fix T40714: cycles not loading CMYK jpeg files correctly.

7 years agoFix cycles "Is Singular Ray" being on for Camera rays, now is off.
Brecht Van Lommel [Sun, 15 Jun 2014 10:19:51 +0000 (12:19 +0200)]
Fix cycles "Is Singular Ray" being on for Camera rays, now is off.

This appears to be a wrong interpretation of the OSL docs, and it's more
convenient to have it off.

7 years agoFix T40567 Crash when returing to object mode from dyntopo.
Antony Riakiotakis [Sat, 21 Jun 2014 18:20:13 +0000 (21:20 +0300)]
Fix T40567 Crash when returing to object mode from dyntopo.

Returning to object mode reactivates any generative modifiers
and this can lead to a polycount explosion.

For now just improve the warning when entering dyntopo with generative
modifiers. I would like to add the ability spawn options to apply or
remove the modifiers too, however separate undo stack system comes back
with a vengeance here, since it won't allow restoring the application/
also may invalidate all sculpt undo in the undo stack prior to the
application (needs investigation).

7 years agoFix T40727: Renaming nodes did not correctly fix animation paths.
Lukas Tönne [Sat, 21 Jun 2014 04:45:48 +0000 (06:45 +0200)]
Fix T40727: Renaming nodes did not correctly fix animation paths.

7 years agoFix scons building in case git is not available.
Bastien Montagne [Fri, 20 Jun 2014 16:13:20 +0000 (18:13 +0200)]
Fix scons building in case git is not available.

Not so nice to use try/except here, but simplest solution to avoid failing in case
git commands fail for some reason...

7 years agoBLI_md5: add a utility function to 'translate' raw 16bytes digest into a nice 32chars...
Bastien Montagne [Fri, 20 Jun 2014 14:18:26 +0000 (16:18 +0200)]
BLI_md5: add a utility function to 'translate' raw 16bytes digest into a nice 32chars hexadecimal string.

That kind of stuff belongs to BLI, not specialized code like thumbs.c

7 years agoCode cleanup: BLI_md5.c was... not nice.
Bastien Montagne [Fri, 20 Jun 2014 14:06:12 +0000 (16:06 +0200)]
Code cleanup: BLI_md5.c was... not nice.

7 years agoGLSL tweaks for viewport render draw
Sergey Sharybin [Fri, 20 Jun 2014 12:10:32 +0000 (18:10 +0600)]
GLSL tweaks for viewport render draw

- Was missing pixel scale
- Dither is now supported on GPU

7 years agoImplement resolution divider in the Blender Internal
Sergey Sharybin [Thu, 19 Jun 2014 10:21:17 +0000 (16:21 +0600)]
Implement resolution divider in the Blender Internal

Currently resolution divider is not exposed to the
interface yet, and i'm not even sure it needs to be
exposed because it's somewhat weird configuration.
Need to check how often artists are changing start
resolution in Cycles.

Pretty much straightforward implementation with the
only weak part: render result is getting re-allocated
and upscaled when current resolution is finished.
Not sure how to make it faster actually. Maybe it's
just a matter of making upscale fast enough.

Needed to fix some possible memory leak happening
in Freestyle when canceling rendering on a special
stage -- it was missing temp bmain free,

Reviewers: campbellbarton, dingto

CC: sebastian_k, fsiddi, venomgfx
Differential Revision: https://developer.blender.org/D609

7 years agoReplace hard-coded version for release log url
Campbell Barton [Fri, 20 Jun 2014 10:49:50 +0000 (20:49 +1000)]
Replace hard-coded version for release log url

7 years agoUpdate Readme and Release Log link for 2.71.
Thomas Dinges [Fri, 20 Jun 2014 10:31:12 +0000 (12:31 +0200)]
Update Readme and Release Log link for 2.71.

This should be backported.

7 years agoFix release notes link in splash.
Bastien Montagne [Fri, 20 Jun 2014 08:21:39 +0000 (10:21 +0200)]
Fix release notes link in splash.

Auto-generate this link from Blender version, as done for e.g.py API link.

This commit should be backported to 2.71 branch.

7 years agoFix 2 GLSL errors, with Cycles Hair BSDF.
Thomas Dinges [Fri, 20 Jun 2014 07:36:11 +0000 (09:36 +0200)]
Fix 2 GLSL errors, with Cycles Hair BSDF.

7 years agoUI: auto-open other menus by hovering over, once a menu is already open
Campbell Barton [Fri, 20 Jun 2014 07:30:02 +0000 (17:30 +1000)]
UI: auto-open other menus by hovering over, once a menu is already open

D590 by Matthew Reid

7 years agoFix T40692, Checker Texture derivation on very large scales (1k).
Thomas Dinges [Fri, 20 Jun 2014 07:03:00 +0000 (09:03 +0200)]
Fix T40692, Checker Texture derivation on very large scales (1k).

It might still have a derivation on larger scales (10k or more), but we need some offset to avoid precision issues on unit coordinates.

7 years agoFix T40697: Skinned meshes with shapekeys crashing in the BGE
Mitchell Stokes [Fri, 20 Jun 2014 01:20:56 +0000 (18:20 -0700)]
Fix T40697: Skinned meshes with shapekeys crashing in the BGE

7 years agoCycles: Make Volume Bounces default to 0. This is quiet a bit faster, and produces...
Thomas Dinges [Thu, 19 Jun 2014 17:04:44 +0000 (19:04 +0200)]
Cycles: Make Volume Bounces default to 0. This is quiet a bit faster, and produces less noise.

7 years agoRNA: Expose hook centre
Campbell Barton [Thu, 19 Jun 2014 16:20:23 +0000 (02:20 +1000)]
RNA: Expose hook centre

D529 by Gottfried Hofmann

7 years agoPython: Remove deprecated uses of os.popen
Campbell Barton [Thu, 19 Jun 2014 15:57:06 +0000 (01:57 +1000)]
Python: Remove deprecated uses of os.popen

T40415 by Lawrence D'Oliveiro

7 years agoAdd a bmesh_core_test, a start at testing bmesh functionality.
Howard Trickey [Thu, 19 Jun 2014 15:49:09 +0000 (11:49 -0400)]
Add a bmesh_core_test, a start at testing bmesh functionality.

Needed to make the blender link libraries a global property
now that tests are parallel to source directory.
Current sort order for blender link libraries doesn't work
for tests that start with few defined symbols. Doubling the
lib list works, but a TODO to find a better way (probably
using CMake's own mechanism for tracking dependencies).

7 years agoBugfix for Elastic and Back easing types
Joshua Leung [Thu, 19 Jun 2014 13:28:45 +0000 (01:28 +1200)]
Bugfix for Elastic and Back easing types

** TO BE PORTED BACK TO 2.71 **

As pointed out by Thomas Beck (plasmasolutions), the current behaviour and/or
default values for their parameters didn't quite make sense:

1) Back Easing - The old default value of 0.0 results in some overshoot being applied,
while trying to tweak it up or down resulted in some odd jumps and discontinities.

I've ended up removing some code here which forcibly using a "back" value of 1.7
when users wanted 0.0 instead. There doesn't seem to be any good reason for this.
To ensure that there is still an effect initially, keyframes now get created
with back set to 1.7

2) Elastic Easing - The old default settings of <amplitude = 0, period = 0> resulted
in a curve without any elastic bounce, which wasn't very useful for motion graphics.

Now, default values of amplitude = 0.8 and period = 4.1 get set. These were hand picked
by Thomas to work well when the duration of the motion is 10 frames long (i.e. the
typical length of such effects when doing motion graphics).

7 years agoStyle cleanups here
Joshua Leung [Thu, 19 Jun 2014 13:00:45 +0000 (01:00 +1200)]
Style cleanups here

7 years agoPoseLib: New pose library actions now have their "id root" setting initialised properly
Joshua Leung [Mon, 16 Jun 2014 09:59:42 +0000 (21:59 +1200)]
PoseLib: New pose library actions now have their "id root" setting initialised properly

7 years agoView3D: Handle un-weighed vertex color properly
Campbell Barton [Thu, 19 Jun 2014 12:34:52 +0000 (22:34 +1000)]
View3D: Handle un-weighed vertex color properly

D608 by Gaia Clary

7 years agoAdd brief license headers to tests
Campbell Barton [Thu, 19 Jun 2014 08:48:41 +0000 (18:48 +1000)]
Add brief license headers to tests

These are effectively public-domain, but use apache2.0 to avoid adding new licenses

7 years agoCode cleanup: replace odd pointer casting with structs
Campbell Barton [Thu, 19 Jun 2014 08:36:49 +0000 (18:36 +1000)]
Code cleanup: replace odd pointer casting with structs

7 years agoCode cleanup: remove unused callback for depth drawing
Campbell Barton [Thu, 19 Jun 2014 07:35:23 +0000 (17:35 +1000)]
Code cleanup: remove unused callback for depth drawing

7 years agoCode cleanup: de-duplicate calls wmOrtho, wmFrustum
Campbell Barton [Thu, 19 Jun 2014 07:00:19 +0000 (17:00 +1000)]
Code cleanup: de-duplicate calls wmOrtho, wmFrustum

7 years agoCode cleanup: use const passing rects
Campbell Barton [Thu, 19 Jun 2014 06:39:18 +0000 (16:39 +1000)]
Code cleanup: use const passing rects

7 years agoEnable texture preview even when Cycles is active
Sergey Sharybin [Thu, 19 Jun 2014 07:11:58 +0000 (13:11 +0600)]
Enable texture preview even when Cycles is active

7 years agoUse Blender codestyle, not Google's one!
Sergey Sharybin [Thu, 19 Jun 2014 06:47:56 +0000 (12:47 +0600)]
Use Blender codestyle, not Google's one!

7 years agoAdd unit tests for aligned alloc
Sergey Sharybin [Thu, 19 Jun 2014 06:45:00 +0000 (12:45 +0600)]
Add unit tests for aligned alloc

This was really handy on initial work of aligned alloc
and would be handy as well when we'll need to support
arbitrary alignment on Apple platforms.

7 years agoCycles: attempt to solve compilation error on 32bit OSX
Sergey Sharybin [Thu, 19 Jun 2014 06:24:08 +0000 (12:24 +0600)]
Cycles: attempt to solve compilation error on 32bit OSX

7 years agoCorrect for recent commit to refactor popups
Campbell Barton [Thu, 19 Jun 2014 05:40:46 +0000 (15:40 +1000)]
Correct for recent commit to refactor popups

7 years agoCurve: zero memory on access rather then calloc
Campbell Barton [Thu, 19 Jun 2014 05:13:15 +0000 (15:13 +1000)]
Curve: zero memory on access rather then calloc

also remove redundant check

7 years agoFreestyle: removed WOEdge::getVec3r() which in effect was a duplicate of WOEdge:...
Tamito Kajiyama [Thu, 19 Jun 2014 05:19:09 +0000 (14:19 +0900)]
Freestyle: removed WOEdge::getVec3r() which in effect was a duplicate of WOEdge::GetVec().

7 years agoFix T40546: Duplicate spline breaks shape keys
Campbell Barton [Thu, 19 Jun 2014 03:53:26 +0000 (13:53 +1000)]
Fix T40546: Duplicate spline breaks shape keys

7 years agoBake-API: small cleanup to prevent unfreed memory when there are baking errors
Dalai Felinto [Wed, 18 Jun 2014 22:46:34 +0000 (19:46 -0300)]
Bake-API: small cleanup to prevent unfreed memory when there are baking errors

Fix to be included in 2.71

7 years agoBake-API: fix for non-NORMAL maps baking black when using cage
Dalai Felinto [Tue, 17 Jun 2014 15:39:14 +0000 (12:39 -0300)]
Bake-API: fix for non-NORMAL maps baking black when using cage

Reported by Andy Davies (metalliandy) outside the tracker
Fix to include in 2.71

7 years agoFix T4068787 Cycles Bake Selected To Active From Non-Mesh Object Fails With Error
Dalai Felinto [Wed, 18 Jun 2014 22:18:52 +0000 (19:18 -0300)]
Fix T4068787 Cycles Bake Selected To Active From Non-Mesh Object Fails With Error

Users can now bake from Mesh, Font, Curve, Surface and Metaballs.
Fix to include in 2.71

7 years agoFixup for fd0b7428 Bake-API: allow custom UV to be baked
Dalai Felinto [Wed, 18 Jun 2014 21:43:58 +0000 (18:43 -0300)]
Fixup for fd0b7428 Bake-API: allow custom UV to be baked

7 years agoComplete last commit.
Bastien Montagne [Wed, 18 Jun 2014 21:53:11 +0000 (23:53 +0200)]
Complete last commit.

Sorry, forgot to check other uses of BKE_nurb_makeCurve, NURBS surfaces were affected as well.

7 years agoFix T40694: Curve path messed up.
Bastien Montagne [Wed, 18 Jun 2014 21:45:16 +0000 (23:45 +0200)]
Fix T40694: Curve path messed up.

Error in rB4b4bb410e04e, BKE_nurb_makeCurve() requires its coord_array to be zero'ed,
hence we need calloc here.

7 years agoFix T40637, jittering can cause the mesh to disappear.
Antony Riakiotakis [Wed, 18 Jun 2014 18:40:58 +0000 (21:40 +0300)]
Fix T40637, jittering can cause the mesh to disappear.

Do not do a step when there is no collision of the brush with the mesh.

7 years agoCorrection to GTest commit (WITH_GTEST=OFF works now)
Campbell Barton [Wed, 18 Jun 2014 18:35:15 +0000 (04:35 +1000)]
Correction to GTest commit (WITH_GTEST=OFF works now)

7 years agomissed removing this in recent popup refactor
Campbell Barton [Wed, 18 Jun 2014 18:24:15 +0000 (04:24 +1000)]
missed removing this in recent popup refactor

7 years agoCorrect error in last commit
Campbell Barton [Wed, 18 Jun 2014 18:17:38 +0000 (04:17 +1000)]
Correct error in last commit

7 years agoEditmesh: add ability to show weights on wire T39054, D585
Gaia Clary [Wed, 18 Jun 2014 18:01:19 +0000 (04:01 +1000)]
Editmesh: add ability to show weights on wire T39054, D585

7 years agoFix blenderplayer compile...
Bastien Montagne [Wed, 18 Jun 2014 17:56:56 +0000 (19:56 +0200)]
Fix blenderplayer compile...

7 years agoFix T40585, group textures cannot be selected for painting.
Antony Riakiotakis [Wed, 18 Jun 2014 17:40:27 +0000 (20:40 +0300)]
Fix T40585, group textures cannot be selected for painting.

Issue here is that if there's a texture in the tree, chances are it has
already been set as active texture so groups are never traversed.

Now changed logic so that if a group node is active, its own active
texture takes priority over the parent group active texture.

7 years agoSome WITH_TESTS weer not renamed to WITH_GTEST
Sergey Sharybin [Wed, 18 Jun 2014 16:28:27 +0000 (22:28 +0600)]
Some WITH_TESTS weer not renamed to WITH_GTEST

7 years agoGTest unit testing framework
Sergey Sharybin [Wed, 18 Jun 2014 12:49:17 +0000 (22:49 +1000)]
GTest unit testing framework

Currently covers only small set of functionality.

7 years agoFix T40679.
Antony Riakiotakis [Wed, 18 Jun 2014 15:40:11 +0000 (18:40 +0300)]
Fix T40679.

Cleanest way here is not do bounding box collision for editmeshes at
all. Decision is taken because:

* Usually we want to do the snapping to the edited mesh anyway (when we
don't the mesh is skipped completely, so we don't need to worry for
extra checks)

* Bounding box is calculated from derived mesh. This means that for
subsurfed meshes for instance, the bounding box may be significantly
smaller than the size of the edit mesh.

7 years agoRevert "Fix flickering when transform snapping in edit mode and cursor is"
Antony Riakiotakis [Wed, 18 Jun 2014 15:20:55 +0000 (18:20 +0300)]
Revert "Fix flickering when transform snapping in edit mode and cursor is"

Looks like the cleanest way to handle this is to no do bounding box collision
for edit mode at all. But this is easy to enforce

This reverts commit 7b5fe4f316234022a0ab761b694cd459ce98db2d.

Conflicts:
source/blender/editors/transform/transform_snap.c

7 years agoMove tests into tests/ top-level dir
Campbell Barton [Wed, 18 Jun 2014 11:44:40 +0000 (21:44 +1000)]
Move tests into tests/ top-level dir

7 years agoCode cleanup: use bool instead of int
Sergey Sharybin [Wed, 18 Jun 2014 10:05:42 +0000 (16:05 +0600)]
Code cleanup: use bool instead of int

7 years agoHopefully fix compilation with old MSVC2008/WIN32...
Bastien Montagne [Wed, 18 Jun 2014 08:31:16 +0000 (10:31 +0200)]
Hopefully fix compilation with old MSVC2008/WIN32...

7 years agoCode cleanup: replace direct operator calls with ED_object_toggle_modes
Campbell Barton [Wed, 18 Jun 2014 06:29:03 +0000 (16:29 +1000)]
Code cleanup: replace direct operator calls with ED_object_toggle_modes

7 years agoCode cleanup: de-duplicate flag check in ED_object_toggle_modes
Campbell Barton [Wed, 18 Jun 2014 06:23:50 +0000 (16:23 +1000)]
Code cleanup: de-duplicate flag check in ED_object_toggle_modes

7 years agoTransform: PET quick checks to speedup wire-only edge case
Campbell Barton [Wed, 18 Jun 2014 06:09:02 +0000 (16:09 +1000)]
Transform: PET quick checks to speedup wire-only edge case

7 years agoCode cleanup: replace 0 with OB_MODE_OBJECT
Campbell Barton [Wed, 18 Jun 2014 06:01:51 +0000 (16:01 +1000)]
Code cleanup: replace 0 with OB_MODE_OBJECT

7 years agoResolve memory leask with reports on initialization
Campbell Barton [Wed, 18 Jun 2014 05:48:38 +0000 (15:48 +1000)]
Resolve memory leask with reports on initialization

7 years agoQuiet warning
Campbell Barton [Wed, 18 Jun 2014 05:48:22 +0000 (15:48 +1000)]
Quiet warning

7 years agoTransform: PET only treat faces as connected diagonally across quads
Campbell Barton [Wed, 18 Jun 2014 05:16:01 +0000 (15:16 +1000)]
Transform: PET only treat faces as connected diagonally across quads

Was an intentional change, but worse for concave ngons, resolves T40675

7 years agoFix for weak floating-point number comparison.
Tamito Kajiyama [Wed, 18 Jun 2014 04:13:22 +0000 (13:13 +0900)]
Fix for weak floating-point number comparison.

Was causing assertion failures in MinGW-w64.

7 years agoCorrect casts for IS_EQ and other macro tweaks
Campbell Barton [Wed, 18 Jun 2014 04:00:58 +0000 (14:00 +1000)]
Correct casts for IS_EQ and other macro tweaks
- ensure GET_INT_FROM_POINTER us only used to get values
- rename STACK_POP_ELSE -> STACK_POP_DEFAULT

7 years agoFix memory leaks in subsurf
Campbell Barton [Wed, 18 Jun 2014 02:07:20 +0000 (12:07 +1000)]
Fix memory leaks in subsurf

7 years agoDisable cubins for OSX buildbot
Sergey Sharybin [Tue, 17 Jun 2014 20:29:49 +0000 (02:29 +0600)]
Disable cubins for OSX buildbot

This is a temporary solution in order to get at least
rest of the blender begin up-to-date on the buildbot.

To be able to compile cubins again we need to switch
OSX builder machine to OSX 10.8 and CUDA toolkit 6,
which might take some time, unfortunately.

7 years agoBake-API: allow custom UV to be baked
Dalai Felinto [Tue, 17 Jun 2014 15:16:02 +0000 (12:16 -0300)]
Bake-API: allow custom UV to be baked

Note: the custom UV option is only available when calling the operator
via a script. It's currently not exposed in the UI since it's intended
to be used by scripters

To test it:
bpy.ops.object.bake(type='UV', use_clear=True, uv_layer='MyNewUV')

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D546

7 years agoFix some loss of precision in BKE's unit code.
Bastien Montagne [Tue, 17 Jun 2014 14:06:12 +0000 (16:06 +0200)]
Fix some loss of precision in BKE's unit code.

When converting text to value, units' "value" had only 6 digits of precision,
leading to annoying loss of precision esp. when mixing big and small units
(like e.g. miles and inches).

7 years agoAdd a first basic set of tests for the new bpy.utils.units module/API
Bastien Montagne [Tue, 17 Jun 2014 14:04:48 +0000 (16:04 +0200)]
Add a first basic set of tests for the new bpy.utils.units module/API

Only contains 'LENGTH' type tests currently.

7 years agoNew python API for units handling.
Bastien Montagne [Tue, 17 Jun 2014 14:03:40 +0000 (16:03 +0200)]
New python API for units handling.

Exposes all supported unit systems & types, and to_value()/to_string() functions.

Reviewed and enhanced by CampbellBarton, many thanks!

Differential Revision: https://developer.blender.org/D416

7 years agoBLI: Add two helpers to search a given string in an array of strings.
Bastien Montagne [Tue, 17 Jun 2014 13:58:07 +0000 (15:58 +0200)]
BLI: Add two helpers to search a given string in an array of strings.

7 years agoFix T40620: BGE Python - Ray sensor has wrong axis constants
Campbell Barton [Tue, 17 Jun 2014 12:13:44 +0000 (22:13 +1000)]
Fix T40620: BGE Python - Ray sensor has wrong axis constants

7 years agoFix for bad NULL check
Campbell Barton [Tue, 17 Jun 2014 12:04:20 +0000 (22:04 +1000)]
Fix for bad NULL check

7 years agoSupport for building without Python
Campbell Barton [Tue, 17 Jun 2014 11:52:04 +0000 (21:52 +1000)]
Support for building without Python

7 years agoRemove redundant check
Campbell Barton [Tue, 17 Jun 2014 08:52:39 +0000 (18:52 +1000)]
Remove redundant check

7 years agoFix T40638: Crash in Particle System, Connect Hair
Sergey Sharybin [Tue, 17 Jun 2014 08:58:23 +0000 (14:58 +0600)]
Fix T40638: Crash in Particle System, Connect Hair

7 years agoCorrect argument name
Campbell Barton [Tue, 17 Jun 2014 07:33:57 +0000 (17:33 +1000)]
Correct argument name

7 years agoCycles: only use -fno-rtti with OSL (conflicts with -fsanitize=vptr)
Campbell Barton [Tue, 17 Jun 2014 06:00:16 +0000 (16:00 +1000)]
Cycles: only use -fno-rtti with OSL (conflicts with -fsanitize=vptr)

7 years agoCorrect menu name
Campbell Barton [Tue, 17 Jun 2014 05:27:59 +0000 (15:27 +1000)]
Correct menu name

7 years agoFix T40639: operators ignore win.cursor_warp()
Campbell Barton [Tue, 17 Jun 2014 04:10:18 +0000 (14:10 +1000)]
Fix T40639: operators ignore win.cursor_warp()

7 years agoBGE: New Property sensor evaluation types
Jorge Bernal [Tue, 3 Jun 2014 20:20:59 +0000 (13:20 -0700)]
BGE: New Property sensor evaluation types

This patch adds "Less Than" and "Greater Than" evaluation types to the property sensor.
The Wiki Docs modifications http://wiki.blender.org/index.php/User:Lordloki/Doc:2.6/Manual/Game_Engine/Logic/Sensors/Property
Also, I have attached a screenshot and a blend to check.

Reviewers: dfelinto, moguri

Reviewed By: moguri

Differential Revision: https://developer.blender.org/D476

7 years agoCycles: Slight modification to the previous commit
Sergey Sharybin [Mon, 16 Jun 2014 19:00:43 +0000 (01:00 +0600)]
Cycles: Slight modification to the previous commit

This way util_simd.cpp would not require modifications
if/when SSE2 is suddenly supported on 32bit platforms.

This also allowed to unleash some issues with util_simd.h
related on the fact that there size_t and int are actually
the same types.

7 years agoCycles: Fix compilation error on 32bit platforms
Sergey Sharybin [Mon, 16 Jun 2014 18:22:10 +0000 (00:22 +0600)]
Cycles: Fix compilation error on 32bit platforms

7 years agoFix T40646: Knife project fails with clipping
Campbell Barton [Mon, 16 Jun 2014 17:53:02 +0000 (03:53 +1000)]
Fix T40646: Knife project fails with clipping

7 years agoFix for knife when in ortho camera view
Campbell Barton [Mon, 16 Jun 2014 17:48:01 +0000 (03:48 +1000)]
Fix for knife when in ortho camera view

7 years agoCycles: Fix compilation error on platforms without SSE2
Sergey Sharybin [Mon, 16 Jun 2014 17:34:50 +0000 (23:34 +0600)]
Cycles: Fix compilation error on platforms without SSE2

7 years agoUse ARRAY_SIZE to replace (sizeof(a) / sizeof(*a))
Campbell Barton [Mon, 16 Jun 2014 16:47:57 +0000 (02:47 +1000)]
Use ARRAY_SIZE to replace (sizeof(a) / sizeof(*a))