5 years agoCycles: Add support of Glog logging
Sergey Sharybin [Mon, 8 Sep 2014 12:01:24 +0000 (18:01 +0600)]
Cycles: Add support of Glog logging

This commit makes it possible to use Glog library for the debug logging.
For now only possible when using CMake and in order to use the logging
the WITH_CYCLES_LOGGING configuration variable is to be enabled.

When this option is not enabled or when using Scons there's no difference
in Cycles behavior at all, when using logging and no output to the console
impact is gonna to be minimal.

This is done in order to make it possible to have debug logging persistent
in code (without need to add it when troubleshooting some bug and removing
it afterwards).

For now actual logging is not placed yet, only all the functions needed for
the logging are written and so.

5 years agoTracking: Decouple C-API module into more granular files
Sergey Sharybin [Thu, 25 Sep 2014 11:01:06 +0000 (17:01 +0600)]
Tracking: Decouple C-API module into more granular files

This way maintaining the C-API is a bit less tedious job
and makes code cleaner to follow.

Should be no functional changes.

5 years agoFix ghash comparator used by translation
Sergey Sharybin [Thu, 25 Sep 2014 11:00:07 +0000 (17:00 +0600)]
Fix ghash comparator used by translation

It now need to return bool whether element matched or not.

5 years agoQuick Smoke: Only generate Fire/Smoke Nodes when actually used, this is a bit faster...
Thomas Dinges [Thu, 25 Sep 2014 10:44:06 +0000 (12:44 +0200)]
Quick Smoke: Only generate Fire/Smoke Nodes when actually used, this is a bit faster for the renderer.

5 years agoUpdate Ceres to latest upstream version
Sergey Sharybin [Wed, 24 Sep 2014 11:10:02 +0000 (17:10 +0600)]
Update Ceres to latest upstream version

As usual brings fixes and speed improvements.

5 years agoTracking: Enable Schur specializations
Sergey Sharybin [Wed, 24 Sep 2014 10:57:31 +0000 (16:57 +0600)]
Tracking: Enable Schur specializations

This would give some performance boost when solving huge scenes,
amount of boost depends on particular scene.

For now enable all of the specializations, in the future we might
add some local patches and restrict only unneeded ones.

5 years agoBMesh: type-check iterator data argument
Campbell Barton [Thu, 25 Sep 2014 04:14:52 +0000 (14:14 +1000)]
BMesh: type-check iterator data argument

5 years agoType checking macro: CHECK_TYPE_ANY
Campbell Barton [Thu, 25 Sep 2014 04:13:36 +0000 (14:13 +1000)]
Type checking macro: CHECK_TYPE_ANY

Compile time check a var against a multiple types.

5 years agoMove typecheck macros into own header
Campbell Barton [Thu, 25 Sep 2014 03:05:42 +0000 (13:05 +1000)]
Move typecheck macros into own header

5 years agoGHash: use bool for comparison (simplify compare)
Campbell Barton [Wed, 24 Sep 2014 20:15:52 +0000 (06:15 +1000)]
GHash: use bool for comparison (simplify compare)

5 years agoOSX: ensure windows are restored at their saved position,
Jens Verwiebe [Wed, 24 Sep 2014 18:55:38 +0000 (20:55 +0200)]
OSX: ensure windows are restored at their saved position,
meaning here we need to take docksize into account

5 years agoFix T41933: Node Editor: Crash occurs with Select by Suffix
Bastien Montagne [Wed, 24 Sep 2014 18:26:21 +0000 (20:26 +0200)]
Fix T41933: Node Editor: Crash occurs with Select by Suffix

Wrong usage of `BLI_str_partition_ex_utf8`...

This is to be backported to 2.72 branch.

5 years agoFix T41939: Dupliface: Inherit scale doesn't update viewport render.
Bastien Montagne [Wed, 24 Sep 2014 17:48:16 +0000 (19:48 +0200)]
Fix T41939: Dupliface: Inherit scale doesn't update viewport render.

Render needs un object update it seems...

5 years agogooseberry request:
Antony Riakiotakis [Wed, 24 Sep 2014 16:02:40 +0000 (18:02 +0200)]
gooseberry request:

Attempt to select closest bones when possible.

Occlusion query selection does't support this well because we can't
really derive depth information from occlusion tests. May be possible to
improve this somewhat in the future.

5 years agoFix T41885, muting broken for Blender Internal nodes in rendering.
Lukas Tönne [Wed, 24 Sep 2014 12:27:36 +0000 (14:27 +0200)]
Fix T41885, muting broken for Blender Internal nodes in rendering.

Nodes don't have muting callbacks any more, so now have to check the
flag to prevent overwriting values on the stack that they share with

5 years agomake "tri_shader" an int instead of a float
Martijn Berger [Wed, 24 Sep 2014 11:34:28 +0000 (13:34 +0200)]
make "tri_shader" an int instead of a float

tri_shader does no longer need to a float.

Reviewers: dingto, sergey

Reviewed By: dingto, sergey

Subscribers: dingto

Projects: #cycles

Differential Revision:

5 years agoCycles: Shader Graph Optimization for Mix RGB nodes.
Thomas Dinges [Wed, 24 Sep 2014 10:52:19 +0000 (12:52 +0200)]
Cycles: Shader Graph Optimization for Mix RGB nodes.

Basically the same as AC2c58e96685e8, but for Mix RGB Shaders, in case we use the Mix type. This way the node can be used as texture switch for example, setting the Factor to 0.0 or 1.0, without wasting extra memory / render time.

5 years agoCorrect for change in recent commit
Campbell Barton [Wed, 24 Sep 2014 10:45:52 +0000 (20:45 +1000)]
Correct for change in recent commit

5 years agoFix T41936: lender 2.72 Crashes on play on *Ubuntu 14.04
Sergey Sharybin [Wed, 24 Sep 2014 10:32:36 +0000 (16:32 +0600)]
Fix T41936: lender 2.72 Crashes on play on *Ubuntu 14.04

This commit is necessary to update to openal-soft 1.60.0 which
solves weird bug happening on ubuntu.

This is to be landed to the release branch.

5 years agoCleanup: Avoid some defines for scene_intersect(), related to Min Width.
Thomas Dinges [Wed, 24 Sep 2014 09:32:29 +0000 (11:32 +0200)]
Cleanup: Avoid some defines for scene_intersect(), related to Min Width.

5 years agoCustom Data API: redundant pointer-to-pointer arg
Campbell Barton [Wed, 24 Sep 2014 08:50:29 +0000 (18:50 +1000)]
Custom Data API: redundant pointer-to-pointer arg

5 years agoBMesh: slight speedup loop-of-verts iterator
Campbell Barton [Wed, 24 Sep 2014 08:45:23 +0000 (18:45 +1000)]
BMesh: slight speedup loop-of-verts iterator

5 years agoBMesh: generic callbacks for mempool iterator
Campbell Barton [Wed, 24 Sep 2014 04:55:30 +0000 (14:55 +1000)]
BMesh: generic callbacks for mempool iterator

5 years agoCleanup: const correctness for BLI_sortlist
Campbell Barton [Mon, 22 Sep 2014 15:28:46 +0000 (01:28 +1000)]
Cleanup: const correctness for BLI_sortlist

5 years agoCleanup: use const for read-only arrays
Campbell Barton [Thu, 18 Sep 2014 05:14:25 +0000 (15:14 +1000)]
Cleanup: use const for read-only arrays

5 years agoCleanup: use float versions of functions when in/output are floats
Campbell Barton [Wed, 17 Sep 2014 04:11:37 +0000 (14:11 +1000)]
Cleanup: use float versions of functions when in/output are floats

5 years agoCleanup: bool
Campbell Barton [Mon, 15 Sep 2014 23:14:33 +0000 (09:14 +1000)]
Cleanup: bool

5 years agoCleanup: de-duplicate text select logic
Campbell Barton [Mon, 15 Sep 2014 23:13:05 +0000 (09:13 +1000)]
Cleanup: de-duplicate text select logic

5 years agoCleanup: set var static
Campbell Barton [Mon, 15 Sep 2014 23:06:56 +0000 (09:06 +1000)]
Cleanup: set var static

5 years agoSphinx doc script, update for change in rsync
Campbell Barton [Tue, 23 Sep 2014 18:06:26 +0000 (04:06 +1000)]
Sphinx doc script, update for change in rsync

5 years agoFix game engine not supporting material view. v2.72-rc1
Antony Riakiotakis [Tue, 23 Sep 2014 18:40:27 +0000 (20:40 +0200)]
Fix game engine not supporting material view.

Force textured view in that case. Also correct a few uses of the GLSL
flag in the viewport. Should only be relevant for textured viewport.

5 years agoUpdate submodules to point to rc1 hash
Sergey Sharybin [Tue, 23 Sep 2014 17:15:39 +0000 (23:15 +0600)]
Update submodules to point to rc1 hash

5 years agoFix typo in previous commit
Sergey Sharybin [Tue, 23 Sep 2014 17:09:06 +0000 (23:09 +0600)]
Fix typo in previous commit

Buttons are too much close to each other on the keyboards!

5 years agoFix possible buffer overflow in selection code. We want to copy the
Antony Riakiotakis [Tue, 23 Sep 2014 17:05:31 +0000 (19:05 +0200)]
Fix possible buffer overflow in selection code. We want to copy the
number of selected data since the offset, not the offset!

5 years agoMove versioning code under the subversion check
Sergey Sharybin [Tue, 23 Sep 2014 16:56:37 +0000 (22:56 +0600)]
Move versioning code under the subversion check

5 years ago2.72 Splash
Campbell Barton [Tue, 23 Sep 2014 16:16:15 +0000 (02:16 +1000)]
2.72 Splash

Image by Mike Pan, from the "Default Cubism" series. (includes blendfile)

5 years agoVersion Bump: Entering 2.72 rc state
Campbell Barton [Tue, 23 Sep 2014 16:11:45 +0000 (02:11 +1000)]
Version Bump: Entering 2.72 rc state

5 years agoFix crash in text editor (wrap + syntax-highlight)
Campbell Barton [Tue, 23 Sep 2014 15:10:59 +0000 (01:10 +1000)]
Fix crash in text editor (wrap + syntax-highlight)

5 years agoCleanup: simplify check to draw syntax
Campbell Barton [Tue, 23 Sep 2014 15:04:07 +0000 (01:04 +1000)]
Cleanup: simplify check to draw syntax

5 years agoFix T41921: MapUV node alpha setting broken.
Lukas Tönne [Tue, 23 Sep 2014 14:57:11 +0000 (16:57 +0200)]
Fix T41921: MapUV node alpha setting broken.

The UV values includes the image width/height now. To restore the
previous method as close as possible (even though it is not documented
anywhere how this is supposed to work), we have to ignore this scaling.

5 years agoFix T41259: Objects parented to non-armature objects cannot play shape actions in...
Mitchell Stokes [Tue, 23 Sep 2014 14:52:34 +0000 (07:52 -0700)]
Fix T41259: Objects parented to non-armature objects cannot play shape actions in the BGE

5 years agoD713: correct error /w braces (freestyle)
Tamito Kajiyama [Tue, 23 Sep 2014 13:34:26 +0000 (22:34 +0900)]
D713: correct error /w braces (freestyle)

Differential revision:

Author: campbellbarton (Campbell Barton)

5 years agoFix T41918, Missing operator in Node Editor Menus.
Lukas Tönne [Tue, 23 Sep 2014 12:04:20 +0000 (14:04 +0200)]
Fix T41918, Missing operator in Node Editor Menus.

This operator was renamed in rB52d7c357781237ad6f128a6b6d550b34627c2a96
but the menu entry was not renamed.

5 years agoFix T41912, OpenCL compile error when building without __SVM__
Thomas Dinges [Tue, 23 Sep 2014 10:53:51 +0000 (12:53 +0200)]
Fix T41912, OpenCL compile error when building without __SVM__

Thanks to Vitaliy Filippov for the patch.

5 years agoMacro VA_NARGS, increase max to 64
Campbell Barton [Tue, 23 Sep 2014 10:25:22 +0000 (20:25 +1000)]
Macro VA_NARGS, increase max to 64

5 years agoCleanup: use struct names in ID comments
Campbell Barton [Tue, 23 Sep 2014 10:24:48 +0000 (20:24 +1000)]
Cleanup: use struct names in ID comments

5 years agoFixed border extension for the sunbeams node.
Lukas Tönne [Tue, 23 Sep 2014 09:42:11 +0000 (11:42 +0200)]
Fixed border extension for the sunbeams node.

This ensures that the beams color does not darken along borders,
by using the last valid color of the ray as the border color (extending
colors in the direction of the source point).

5 years agoProjective painting:
Antony Riakiotakis [Mon, 22 Sep 2014 09:01:50 +0000 (11:01 +0200)]
Projective painting:

* Make clone UI a bit more descriptive
* Don't set images to image editors that have a pinned image.

5 years agoFreestyle: disallow with fields (was crashing)
Campbell Barton [Mon, 22 Sep 2014 08:04:16 +0000 (18:04 +1000)]
Freestyle: disallow with fields (was crashing)

5 years agoFix for Freestyle crash in bordered animation rendering
Tamito Kajiyama [Mon, 22 Sep 2014 07:51:25 +0000 (17:51 +1000)]
Fix for Freestyle crash in bordered animation rendering

5 years agoFix T41891: Alt+S can't save image
Campbell Barton [Mon, 22 Sep 2014 04:42:07 +0000 (14:42 +1000)]
Fix T41891: Alt+S can't save image

win32 BLI_path_abs expanded empty strings into "C:\\",
which made BLI_exists succeed (quite confusing).

Now match behavior on *nix.

5 years agoCorrent recent commit: off by one error
Campbell Barton [Mon, 22 Sep 2014 03:23:42 +0000 (13:23 +1000)]
Corrent recent commit: off by one error

5 years agoFix - incorrect relative lib path
Campbell Barton [Mon, 22 Sep 2014 02:38:40 +0000 (12:38 +1000)]
Fix - incorrect relative lib path

5 years agoCorrect MAX_LIBARRAY define, assert when its wrong
Campbell Barton [Mon, 22 Sep 2014 02:03:55 +0000 (12:03 +1000)]
Correct MAX_LIBARRAY define, assert when its wrong

5 years agoFix T41902: Flipped persp/ortho region_2d_to_vector_3d
Campbell Barton [Mon, 22 Sep 2014 01:01:59 +0000 (11:01 +1000)]
Fix T41902: Flipped persp/ortho region_2d_to_vector_3d

- Ortho result from view3d_utils.region_2d_to_vector_3d was flipped.
- Persp result wasn't normalized.
- failed for ortho views.

Thanks to Philipp Oeser for the initial fix.

5 years agoFix T41754, sunbeams node should return the unmodified source value at
Lukas Tönne [Sun, 21 Sep 2014 16:11:32 +0000 (18:11 +0200)]
Fix T41754, sunbeams node should return the unmodified source value at
the source pixel.

5 years agoTracking: Fix ground plane normal facing downwards
Sergey Sharybin [Sun, 21 Sep 2014 09:55:12 +0000 (15:55 +0600)]
Tracking: Fix ground plane normal facing downwards

5 years agoFix T41890: Regression in new array modifier code, vnors were no more offset-corrected.
Bastien Montagne [Sun, 21 Sep 2014 08:12:26 +0000 (10:12 +0200)]
Fix T41890: Regression in new array modifier code, vnors were no more offset-corrected.

This is not needed when we tag normals as dirty, but in simple cases, if offset has some
rotation (or non-uniform scaling) component, vertex normals has to be corrected.

5 years agoPy Template: Set the active object in batch export
Campbell Barton [Sun, 21 Sep 2014 03:16:24 +0000 (13:16 +1000)]
Py Template: Set the active object in batch export

Some exporters (mdd for example), only use the active object

5 years agoLast minute artist feedback tweak: Fill tool should not use masking
Antony Riakiotakis [Sat, 20 Sep 2014 23:37:40 +0000 (01:37 +0200)]
Last minute artist feedback tweak: Fill tool should not use masking
apart from stencil(texture) and face masks.

5 years agoAnother minor correction, use "Mask" instead of "Stencil" so users can
Antony Riakiotakis [Sat, 20 Sep 2014 23:00:38 +0000 (01:00 +0200)]
Another minor correction, use "Mask" instead of "Stencil" so users can
correlate the panel to the mask tool.

5 years agoMinor polishing, add UV layer selection in image projection painting
Antony Riakiotakis [Sat, 20 Sep 2014 22:29:50 +0000 (00:29 +0200)]
Minor polishing, add UV layer selection in image projection painting

5 years agoPaint system
Antony Riakiotakis [Sat, 20 Sep 2014 21:47:10 +0000 (23:47 +0200)]
Paint system

* Add unified color settings to brush menus.
* Add notifier on fill tool from drag and drop to refresh icons

5 years agoCycles: Backward compatibility code for the Clamp splitting in 2.70.
Thomas Dinges [Fri, 19 Sep 2014 20:25:17 +0000 (22:25 +0200)]
Cycles: Backward compatibility code for the Clamp splitting in 2.70.

If an older file (< 270) had clamp enabled, with e.g. a value of 2.0, Direct and Indirect clamp are now automatically set to 2.0 as well.

5 years agoCycles: Add a UI warning, in case the experimental GPU kernel is used.
Thomas Dinges [Fri, 19 Sep 2014 15:51:28 +0000 (17:51 +0200)]
Cycles: Add a UI warning, in case the experimental GPU kernel is used.

The experimental kernel is slower and can cause issues on some cards still, so better communicate it well.

5 years agoFix T41875: Update issue in Timeline space
Bastien Montagne [Fri, 19 Sep 2014 20:11:16 +0000 (22:11 +0200)]
Fix T41875: Update issue in Timeline space

This space did not refresh on NC_OBJECT, ND_BONE_SELECT notifier...

5 years agoFix T35993, issue with viewport when using instances.
Antony Riakiotakis [Fri, 19 Sep 2014 16:04:12 +0000 (18:04 +0200)]
Fix T35993, issue with viewport when using instances.

Not really sure what the issue here was initially (might have been a
driver problem) but looks like the issue is solved if we skip generating
a display list for clipped objects; Driver does not like a generated
list that is not drawn.

Now we try to clip the object always, not only when using display lists.
This means that display lists will only get generated if object is
actually visible.
Also used glPush/glPop for instance matrices since glLoad can cause
recalculation of inverses in the driver.

5 years agoFix T40751 preview image not generated after baking.
Antony Riakiotakis [Fri, 19 Sep 2014 13:36:49 +0000 (15:36 +0200)]
Fix T40751 preview image not generated after baking.

A DAG_id_tag_update here is enough to fix the problem.

5 years agoInstall_deps: add an '--info' path option to store BUILD_NOTES.txt...
Bastien Montagne [Fri, 19 Sep 2014 13:12:25 +0000 (15:12 +0200)]
Install_deps: add an '--info' path option to store BUILD_NOTES.txt...

Still defaults to current dir!

5 years agoOSX: make some more symbols global only, this may prevent clashes on older systems...
Jens Verwiebe [Fri, 19 Sep 2014 13:00:15 +0000 (15:00 +0200)]
OSX: make some more symbols global only, this may prevent clashes on older systems and is good for loading times anyway.

5 years agoFix T41865: Fluid bake not possible in windows using a python script from the command...
Sergey Sharybin [Fri, 19 Sep 2014 11:34:05 +0000 (17:34 +0600)]
Fix T41865: Fluid bake not possible in windows using a python script from the command line

Stupid missing variables initialization.

5 years agoCycles: Remove unused Mix Shaders from the ShaderGraph, instead of only relinking.
Thomas Dinges [Fri, 19 Sep 2014 11:21:25 +0000 (13:21 +0200)]
Cycles: Remove unused Mix Shaders from the ShaderGraph, instead of only relinking.

Differential revision:

5 years agoCleanup: Indentation and Whitespace.
Thomas Dinges [Fri, 19 Sep 2014 10:57:09 +0000 (12:57 +0200)]
Cleanup: Indentation and Whitespace.

5 years agoAdd texture coordinate export.
Nathan Letwory [Fri, 19 Sep 2014 07:41:33 +0000 (10:41 +0300)]
Add texture coordinate export.

5 years agoFreestyle: Fix for irrelevant docstring showing up in Python API docs.
Tamito Kajiyama [Fri, 19 Sep 2014 05:11:32 +0000 (14:11 +0900)]
Freestyle: Fix for irrelevant docstring showing up in Python API docs.

5 years agoFreestyle: Python API documentation updates.
Tamito Kajiyama [Fri, 19 Sep 2014 04:22:20 +0000 (13:22 +0900)]
Freestyle: Python API documentation updates.

Fixed dead references of API identifiers (e.g., freestyle.types.Interface0D)
due to relocations of the identifiers into submodules.  Also made various minor
revisions of mark-ups and typos.

5 years agoFix crashes with timers.
Antony Riakiotakis [Thu, 18 Sep 2014 13:58:37 +0000 (15:58 +0200)]
Fix crashes with timers.

Incorrectly accessing the menu pointer, set it to NULL before doing the

We don't restore the menu pointer because it is invalid by the time the operator ends.

5 years agoOne last tweak to palette deletion code. It would correct active color
Antony Riakiotakis [Thu, 18 Sep 2014 11:03:02 +0000 (13:03 +0200)]
One last tweak to palette deletion code. It would correct active color
only when deleting the last color.

5 years agoFix T41708, active palette indicator not refreshing when clicking
Antony Riakiotakis [Thu, 18 Sep 2014 10:45:49 +0000 (12:45 +0200)]
Fix T41708, active palette indicator not refreshing when clicking

Issue, after a lot of blood sweat and tears, was found in
ui_but_update_from_old_block, where we restore a button to its old
values when possible. The problem here is that a1 and a2 are not really
meant to store temporary variables, because they tend to get overriden
and palette selection is one of those temporary states.

Instead, we now store the position of each button in the palette in a2
and pointer to the palette in the customdata pointer of each button and
use that to test if it's active. The positions won't change when
clicking so we are guaranteed that the old button won't override the new
one with garbage.

It's still hacky but it is better than testing button types when copying
old values.

5 years agoPalette active color:
Antony Riakiotakis [Thu, 18 Sep 2014 10:20:34 +0000 (12:20 +0200)]
Palette active color:

Use indicator color derived from color luminance for better contrast.

5 years agoPalettes
Antony Riakiotakis [Thu, 18 Sep 2014 10:07:17 +0000 (12:07 +0200)]

* Remove some duplication in deletion code
* Fix crash when restoring file from last saved state.

5 years agoPalettes:
Antony Riakiotakis [Thu, 18 Sep 2014 09:16:31 +0000 (11:16 +0200)]

Avoid having an invalid active index if user deletes a color.

Also attempt to set active color on clicking (Not working yet but fix
coming soon)

5 years agoCleanup: use static sets where possible
Campbell Barton [Thu, 18 Sep 2014 07:45:31 +0000 (17:45 +1000)]
Cleanup: use static sets where possible

5 years agoFix for a run-time error in on Windows.
Tamito Kajiyama [Thu, 18 Sep 2014 06:45:21 +0000 (15:45 +0900)]
Fix for a run-time error in on Windows.

5 years agoFix for missing Freestyle sections in the Blender Python API documentation.
Tamito Kajiyama [Thu, 18 Sep 2014 06:44:53 +0000 (15:44 +0900)]
Fix for missing Freestyle sections in the Blender Python API documentation.

Freestyle sections of the API docs were empty due to Freestyle module reorganization
in commit rB6498b96ce7081db039354228213d72e8c70bd3aa.

Module __all__ property was added to submodules so as to properly exclude irrelevant
documentation elements such as mathutils.Vector.

5 years agoFix T41862: Autosmooth & multi-material glitch
Campbell Barton [Thu, 18 Sep 2014 04:55:33 +0000 (14:55 +1000)]
Fix T41862: Autosmooth & multi-material glitch

5 years agoFix for edge-order flipping on subdividing wire
Campbell Barton [Thu, 18 Sep 2014 03:39:10 +0000 (13:39 +1000)]
Fix for edge-order flipping on subdividing wire

Extruding a subdivided edge would create flipped faces.

5 years agoFix T41861: Loopcut wire incorrect mode-switch
Campbell Barton [Thu, 18 Sep 2014 03:20:56 +0000 (13:20 +1000)]
Fix T41861: Loopcut wire incorrect mode-switch

also didn't preview or select correctly.

5 years agoCleanup: style, spelling
Campbell Barton [Wed, 17 Sep 2014 23:37:49 +0000 (09:37 +1000)]
Cleanup: style, spelling

5 years agoOSX/cmake: OSX 10.10 must be used with cmake 3.0.0 minimum, older thinks 10.6 is...
Jens Verwiebe [Wed, 17 Sep 2014 18:42:21 +0000 (20:42 +0200)]
OSX/cmake: OSX 10.10 must be used with cmake 3.0.0 minimum, older thinks 10.6 is higher than 10.10 :)

5 years agoFix T41761, muting not working with texture nodes
Antony Riakiotakis [Wed, 17 Sep 2014 16:27:05 +0000 (18:27 +0200)]
Fix T41761, muting not working with texture nodes

This was disabled to fix T41349, however seems that if we don't pass
delegates for muted nodes everything work fine.

5 years agoText Editor: reload missed adding new-line
Campbell Barton [Wed, 17 Sep 2014 09:28:46 +0000 (19:28 +1000)]
Text Editor: reload missed adding new-line

Logic for load/reload was duplicated, Fix T28087 missed reload.

De-duplicate, also replace stat -> BLI_stat

5 years agoCleanup: pep8
Campbell Barton [Wed, 17 Sep 2014 08:36:17 +0000 (18:36 +1000)]
Cleanup: pep8

5 years agoFix T41851: Useless ID selector UI element for sequencer's Sound strips
Bastien Montagne [Tue, 16 Sep 2014 17:09:32 +0000 (19:09 +0200)]
Fix T41851: Useless ID selector UI element for sequencer's Sound strips

Currently, this pointer prop is not editable, and making it so does not seem
to be trivial (sound strip seems to use the filepath path, not the soundID pointer?),
so just hide the matching UI item.

5 years agoFix T41840: bpy.context.object.collision.thickness_inner has no effect on cloth.
Bastien Montagne [Tue, 16 Sep 2014 14:45:19 +0000 (16:45 +0200)]
Fix T41840: bpy.context.object.collision.thickness_inner has no effect on cloth.

Only change the tip to stress that, in fact, cloth sim does not use inner thickness at all,
only outer one, through the Collision modifier, afaik.

5 years agoFix T41850: Knife fails with mesh behind view
Campbell Barton [Tue, 16 Sep 2014 14:23:14 +0000 (00:23 +1000)]
Fix T41850: Knife fails with mesh behind view

Was using first vertex for depth (which could be anywhere),
now use the view-pivot.

was also copying uninitialized vector into knife_find_closest_* return values (confused debugging).

5 years agoFix T41849: Knife fails with small lens
Campbell Barton [Tue, 16 Sep 2014 12:59:02 +0000 (22:59 +1000)]
Fix T41849: Knife fails with small lens

knife cursor depth could be projected behind the view with a wide angle lens.

5 years agoMath Lib: use higher precision for vector printing
Campbell Barton [Tue, 16 Sep 2014 12:04:44 +0000 (22:04 +1000)]
Math Lib: use higher precision for vector printing

Only use for debugging, where precision is often important.

5 years agoFix part of T41739: Solid 3DView not updating when enabling/disabling nodal material.
Bastien Montagne [Tue, 16 Sep 2014 14:19:23 +0000 (16:19 +0200)]
Fix part of T41739: Solid 3DView not updating when enabling/disabling nodal material.

There are other similar update issues with mat nodes and solid 3DView, but need agreement
on proposed patch from other devs in this area first!

5 years agoFix T41843: World preview not updating when changing world.
Bastien Montagne [Tue, 16 Sep 2014 12:28:44 +0000 (14:28 +0200)]
Fix T41843: World preview not updating when changing world.

NC_SCENE | ND_WORLD was not handled by buttons space...