7 years agoFix last commit, making archive from source dir
Campbell Barton [Tue, 16 Sep 2014 03:27:05 +0000 (13:27 +1000)]
Fix last commit, making archive from source dir

7 years agoCleanup: sync map_to_sphere, UNLIKELY xy zero case
Campbell Barton [Tue, 16 Sep 2014 02:41:16 +0000 (12:41 +1000)]
Cleanup: sync map_to_sphere, UNLIKELY xy zero case

7 years agoUtility script to create release archive
Campbell Barton [Tue, 16 Sep 2014 01:37:53 +0000 (11:37 +1000)]
Utility script to create release archive

- only include files known to git.
- includes all submodules.
- version extracted from BKE_blender.h for naming.
- MD5 checksum generated.
- 'make tbz' convenience target.

Script by Dan McGrath with own minor edits.

7 years agoCycles: tentative fix get rid of os-specific issue in struct ShaderClosure ( aligment...
Jens Verwiebe [Mon, 15 Sep 2014 19:20:24 +0000 (21:20 +0200)]
Cycles: tentative fix get rid of os-specific issue in struct ShaderClosure ( aligment issues due order )

7 years agoFix T41839, OpenCL error.
Thomas Dinges [Mon, 15 Sep 2014 12:22:39 +0000 (14:22 +0200)]
Fix T41839, OpenCL error.

Also some style fixes, we don't do the "put as much as possible in 1 line" contest.

7 years agoMakefile: add 'update' convenience target
Campbell Barton [Mon, 15 Sep 2014 04:04:30 +0000 (14:04 +1000)]
Makefile: add 'update' convenience target

7 years agoFix Cycles Standalone compile.
Thomas Dinges [Sun, 14 Sep 2014 15:40:34 +0000 (17:40 +0200)]
Fix Cycles Standalone compile.

7 years agoCorrect invalid sizeof in memset use
Campbell Barton [Sun, 14 Sep 2014 08:50:59 +0000 (18:50 +1000)]
Correct invalid sizeof in memset use

7 years agoSculpt: check mask is present before reading
Campbell Barton [Sun, 14 Sep 2014 07:46:16 +0000 (17:46 +1000)]
Sculpt: check mask is present before reading

7 years agoCorrect last commit
Campbell Barton [Sun, 14 Sep 2014 07:42:33 +0000 (17:42 +1000)]
Correct last commit

7 years agoCleanup & typo in assignment
Campbell Barton [Sun, 14 Sep 2014 07:26:45 +0000 (17:26 +1000)]
Cleanup & typo in assignment

7 years agotypo correction in the python API
Ines Almeida [Sat, 13 Sep 2014 18:46:05 +0000 (20:46 +0200)]
typo correction in the python API

7 years agoFix T41811: unreachable code in wm_keymap.c
Bastien Montagne [Sat, 13 Sep 2014 13:49:53 +0000 (15:49 +0200)]
Fix T41811: unreachable code in wm_keymap.c

There was also an issue with passing sl->spacetype here, for some reason...

7 years agoFix T41800: Freestyle + Cycles panoramic camera not compatible, renders are incorrect.
Tamito Kajiyama [Sat, 13 Sep 2014 02:39:01 +0000 (11:39 +0900)]
Fix T41800: Freestyle + Cycles panoramic camera not compatible, renders are incorrect.

7 years agoFix scons leaving partially generated files when aborting
Sergey Sharybin [Fri, 12 Sep 2014 16:56:11 +0000 (22:56 +0600)]
Fix scons leaving partially generated files when aborting

7 years agoOSX: Fix cmake3 usage
Jens Verwiebe [Fri, 12 Sep 2014 12:42:13 +0000 (14:42 +0200)]
OSX: Fix cmake3 usage

7 years agoFix T41788: bmesh.utils.loop_separate, face_vert_separate() always return None
Campbell Barton [Fri, 12 Sep 2014 00:16:50 +0000 (10:16 +1000)]
Fix T41788: bmesh.utils.loop_separate, face_vert_separate() always return None

7 years agoCleanup & remove redundant check
Campbell Barton [Thu, 11 Sep 2014 22:58:26 +0000 (08:58 +1000)]
Cleanup & remove redundant check

7 years agoFix T41780
Antony Riakiotakis [Thu, 11 Sep 2014 18:44:08 +0000 (20:44 +0200)]
Fix T41780

Expose sliders for alpha over/under/overdrop
Now it's apparent that the effects work as explained in the manual.

7 years agoFix related to T41780, sequencer weirdness with alpha under effect
Antony Riakiotakis [Thu, 11 Sep 2014 18:15:57 +0000 (20:15 +0200)]
Fix related to T41780, sequencer weirdness with alpha under effect

Fix alpha under equation according to porter-duff and user docs that
state that effect should invert he order of channels and reduce to alpha
over when factor is 1.0.

BTW, we don't really expose any factor here...lost feature from 2.49?

7 years agoTracking: Fix wrong behavior of refining with previous frame matching
Sergey Sharybin [Thu, 11 Sep 2014 14:43:41 +0000 (20:43 +0600)]
Tracking: Fix wrong behavior of refining with previous frame matching

7 years agoTweaks to setup trackign scene in order to fix usability issues
Sergey Sharybin [Thu, 11 Sep 2014 14:00:24 +0000 (20:00 +0600)]
Tweaks to setup trackign scene in order to fix usability issues

Patch by Sebastian Koenig

7 years agoWorkaround for strict flags and release build compilation
Sergey Sharybin [Thu, 11 Sep 2014 13:33:37 +0000 (19:33 +0600)]
Workaround for strict flags and release build compilation

@campbellbarton, it's really helpful to have strict flags enabled
for release builds as well -- especially when you're working in areas
which are heavily using least squares solvers.

For now made it so blender compiles, but it could be better solution here.

7 years agoFix wrong area of interest for movie undistortion
Sergey Sharybin [Thu, 11 Sep 2014 13:33:01 +0000 (19:33 +0600)]
Fix wrong area of interest for movie undistortion

7 years agoFix T41785: The combination of movie-distortion and lens-distortion leads to artifacts
Sergey Sharybin [Thu, 11 Sep 2014 13:07:03 +0000 (19:07 +0600)]
Fix T41785: The combination of movie-distortion and lens-distortion leads to artifacts

7 years agoFollowup for last commit, we can break the loop, once we have a match.
Thomas Dinges [Thu, 11 Sep 2014 13:02:19 +0000 (15:02 +0200)]
Followup for last commit, we can break the loop, once we have a match.

7 years agoFix T41784, Re-enabling transparent shadows in Cycles doesn't work correctly
Thomas Dinges [Thu, 11 Sep 2014 12:50:31 +0000 (14:50 +0200)]
Fix T41784, Re-enabling transparent shadows in Cycles doesn't work correctly

7 years agoFix non-deterministic editmesh normal orientations
Campbell Barton [Thu, 11 Sep 2014 07:53:03 +0000 (17:53 +1000)]
Fix non-deterministic editmesh normal orientations

- selecting a boundary edge would randomly point in/outside the face (now point away).
- selecting 3 verts would use the first selected edge as the tangent (now use longest).
- selecting 1 vert betweem edges, uses the edges to define the tangent.

7 years agoFreestyle: Fix for missing quality control on line rendering in Cycles.
Tamito Kajiyama [Thu, 11 Sep 2014 04:41:14 +0000 (13:41 +0900)]
Freestyle: Fix for missing quality control on line rendering in Cycles.

Freestyle was using the default Cycles rendering settings (e.g., the number
of samples) and users could not change them.  Now all render parameters
(except for film_transparent) are inherited for Freestyle stroke rendering.

Problem report by Danny Grimm on Facebook, thanks!

7 years agoFix T41778: Crash on animate boids xith a goal
Campbell Barton [Thu, 11 Sep 2014 02:49:46 +0000 (12:49 +1000)]
Fix T41778: Crash on animate boids xith a goal

No need to copy/restore entire object struct (just to read location)

7 years agoFix crash in BLI_kdtree_range_search
Campbell Barton [Thu, 11 Sep 2014 02:34:30 +0000 (12:34 +1000)]
Fix crash in BLI_kdtree_range_search

Called memcpy with a NULL pointer,
causing the following NULL check to get optimized away.

7 years agoFix crash in project-from view without a brush or active object
Campbell Barton [Wed, 10 Sep 2014 13:02:31 +0000 (23:02 +1000)]
Fix crash in project-from view without a brush or active object

7 years agoText3d: assert for <0 len text
Campbell Barton [Wed, 10 Sep 2014 13:01:22 +0000 (23:01 +1000)]
Text3d: assert for <0 len text

also add operator to test blacklist

7 years agoText3D: fixes to selection
Campbell Barton [Wed, 10 Sep 2014 11:08:40 +0000 (21:08 +1000)]
Text3D: fixes to selection

- clamp selection on entering editmode (Python may have changed).
- BKE_vfont_select_get no longer succeeds with an empty selection
  this caused many operators to go ahead and operate on zero size array.

7 years agoFix crash in active_paint_texture_index callback
Campbell Barton [Wed, 10 Sep 2014 11:56:45 +0000 (21:56 +1000)]
Fix crash in active_paint_texture_index callback

7 years agoFix T41767: Memory free problem when console area copy fail.
Bastien Montagne [Wed, 10 Sep 2014 11:14:29 +0000 (13:14 +0200)]
Fix T41767: Memory free problem when console area copy fail.

Nice little memleak!

Patch by reporter (randon (Dun Liang)) with minor own cleanup, thanks!

7 years agoFix two bugs with searchbox UI items.
Bastien Montagne [Wed, 10 Sep 2014 10:53:22 +0000 (12:53 +0200)]
Fix two bugs with searchbox UI items.

First one, reported by Sergey, was searchbox not closing when validating it (enter or LMB click)
without any active item (we need to enable escapecancel here, to close menu too).

Second one was SEARCH_MENU_UNLINK variant not unlinking at validation when no active item.

Thanks a bunch to Campbell for help here!

7 years agoFix T41112: Rotate manipulator (Trackball) + release confirm not working?
Anthony Edlin [Wed, 10 Sep 2014 09:59:21 +0000 (11:59 +0200)]
Fix T41112: Rotate manipulator (Trackball) + release confirm not working?

Usual same issue (unset property != set property to default value).

Review and minor edits by mont29 (Bastien Montagne).

7 years agoUI: Disable operator search menu setting an unset state key key-input
Campbell Barton [Wed, 10 Sep 2014 09:22:29 +0000 (19:22 +1000)]
UI: Disable operator search menu setting an unset state key key-input

7 years agoCancel edge-rip macro if no changes are made.
Campbell Barton [Wed, 10 Sep 2014 06:20:08 +0000 (16:20 +1000)]
Cancel edge-rip macro if no changes are made.

7 years agoFix for mesh-inset modifying hidden faces
Campbell Barton [Wed, 10 Sep 2014 06:02:24 +0000 (16:02 +1000)]
Fix for mesh-inset modifying hidden faces

7 years agoPartial fix T41749
Campbell Barton [Wed, 10 Sep 2014 05:01:39 +0000 (15:01 +1000)]
Partial fix T41749

2d & 3d cached text now draws pixel aligned now.

7 years agoPartial fix for T41749
Campbell Barton [Wed, 10 Sep 2014 03:34:17 +0000 (13:34 +1000)]
Partial fix for T41749

Tool-tips and header-text used a different pixel alignment from the rest of the UI.
This causes blurry text with multi-sample with NVidia.

Other text still needs the issue resolved (View3d info for eg)

7 years agoWM: Add utility wmOrtho2_*** funcs
Campbell Barton [Wed, 10 Sep 2014 03:24:31 +0000 (13:24 +1000)]
WM: Add utility wmOrtho2_*** funcs

Currently there are inconsistencies with pixel alignment.
but this commit has no functional changes.

- wmOrtho2_region_ui for UI/Text.
- wmOrtho2_region_pixelspace for 2D drawing.
- wmOrtho2_pixelspace - when the region isn't used.

7 years agoFix for rna2xml
Campbell Barton [Wed, 10 Sep 2014 01:06:18 +0000 (11:06 +1000)]
Fix for rna2xml

- follow references to Bone, Sequence, Node (non ID types) by name only.
  was causing infinite recursion.
- add support to skip individual class properties.

This can now write an entire blend-file.

7 years agoCurve: Remove assert in BKE_curve_bevelList_make
Campbell Barton [Wed, 10 Sep 2014 00:46:29 +0000 (10:46 +1000)]
Curve: Remove assert in BKE_curve_bevelList_make

Failed on any cyclic poly line.

7 years agoUsual UI messages fixes...
Bastien Montagne [Tue, 9 Sep 2014 17:55:11 +0000 (19:55 +0200)]
Usual UI messages fixes...

7 years agoFix crash reading ParticleEdit.is_editable
Campbell Barton [Tue, 9 Sep 2014 12:07:55 +0000 (22:07 +1000)]
Fix crash reading ParticleEdit.is_editable

7 years agoAdd flag for bmesh docs
Campbell Barton [Tue, 9 Sep 2014 12:07:31 +0000 (22:07 +1000)]
Add flag for bmesh docs

7 years agoFix T41445: Inset creates separated UV's
Campbell Barton [Tue, 9 Sep 2014 08:54:50 +0000 (18:54 +1000)]
Fix T41445: Inset creates separated UV's

7 years agoCleanup: const correctness, no change to generated code.
Campbell Barton [Tue, 9 Sep 2014 06:12:07 +0000 (16:12 +1000)]
Cleanup: const correctness, no change to generated code.

7 years agoremove invalid comments
Campbell Barton [Tue, 9 Sep 2014 02:21:28 +0000 (12:21 +1000)]
remove invalid comments

7 years agoWarn when --engine arg isn't found
Campbell Barton [Mon, 8 Sep 2014 15:44:01 +0000 (01:44 +1000)]
Warn when --engine arg isn't found

7 years agoCMake: Add missing WITH_OPENIMAGEIO define
Campbell Barton [Mon, 8 Sep 2014 15:43:25 +0000 (01:43 +1000)]
CMake: Add missing WITH_OPENIMAGEIO define

7 years agoFix crash happening with external engines and dependent objects in an invisible layers
Sergey Sharybin [Mon, 8 Sep 2014 14:36:40 +0000 (20:36 +0600)]
Fix crash happening with external engines and dependent objects in an invisible layers

7 years agoFix T41744: Hidden keymap properties uneditable
Bastien Montagne [Mon, 8 Sep 2014 11:09:24 +0000 (21:09 +1000)]
Fix T41744: Hidden keymap properties uneditable

For UI & operator toolbar this makes sense,
but for keymaps - hidden props can make an important difference.

7 years agoFix T41573: Compositing reroute converts floats to red color
Bastien Montagne [Mon, 8 Sep 2014 10:27:00 +0000 (12:27 +0200)]
Fix T41573: Compositing reroute converts floats to red color

At compo level, only skip data type conversion if both ends of a link do not require it.

Thanks to Lukas for advices and review.

7 years agoFix T41703: Blender crashes trying to load character file.
Bastien Montagne [Mon, 8 Sep 2014 09:49:55 +0000 (11:49 +0200)]
Fix T41703: Blender crashes trying to load character file.

Core of the issue is that pointcache handling in depsgraph were (re-) tagging
for update some objects on hidden layers, when all their dependencies remained

Since we do not want to update objects on hidden layers, take this data into account
when flushing pointcache.

Investigations and org patch by self, reviews, advices and final patch by sergey, many thanks! :)

7 years agoAttempt to fix compilation error on ubuntu linux
Sergey Sharybin [Mon, 8 Sep 2014 08:28:50 +0000 (14:28 +0600)]
Attempt to fix compilation error on ubuntu linux

7 years agoFix T41746: WPaint: gradient+mirror fails
Campbell Barton [Mon, 8 Sep 2014 08:01:06 +0000 (18:01 +1000)]
Fix T41746: WPaint: gradient+mirror fails

7 years agoFix building as Python module (manpage-generation)
Campbell Barton [Mon, 8 Sep 2014 01:22:40 +0000 (11:22 +1000)]
Fix building as Python module (manpage-generation)

7 years agoComment out SVM fresnel_conductor() function for now, still unused.
Thomas Dinges [Sun, 7 Sep 2014 19:13:00 +0000 (21:13 +0200)]
Comment out SVM fresnel_conductor() function for now, still unused.

7 years agoCycles / OSL: Add a conductive fresnel shader template.
Thomas Dinges [Sun, 7 Sep 2014 16:28:59 +0000 (18:28 +0200)]
Cycles / OSL: Add a conductive fresnel shader template.

This adds a fresnel conductive OSL preset to the Text Editor. Based on a patch by Lukas Stockner.
Differential revision:

See the differential for details.

7 years agoSeveral tweaks for Quick Smoke:
Thomas Dinges [Sun, 7 Sep 2014 15:01:24 +0000 (17:01 +0200)]
Several tweaks for Quick Smoke:

* Improved Cycles fire, patch by Gottfried Hofmann. Differential revision:

* Added Smoke + Fire type to the operator too.

* Cleanup.

7 years agoUpdate readme for Blender 2.72.
Thomas Dinges [Sun, 7 Sep 2014 14:37:53 +0000 (16:37 +0200)]
Update readme for Blender 2.72.

7 years agoFix T41737 using append from menu will result in error message
Andrea Weikert [Sun, 7 Sep 2014 12:56:21 +0000 (14:56 +0200)]
Fix T41737 using append from menu will result in error message

message in terminal was: RNA_boolean_get: WM_OT_append.relative_path not found.
Added check for existence of the relative path property which was removed from append
since it is not needed and used.

7 years agoSome updates for Quick Smoke / Cycles.
Thomas Dinges [Sun, 7 Sep 2014 13:26:12 +0000 (15:26 +0200)]
Some updates for Quick Smoke / Cycles.

* Add Density multiplier.
* Use Smoke color attribute.

Patch by Gottfried Hofmann, with some small tweaks by myself.
Differential revision:

7 years agoFix for line style shader nodes also shown in the Add menu of other shader types.
Tamito Kajiyama [Sun, 7 Sep 2014 13:15:18 +0000 (22:15 +0900)]
Fix for line style shader nodes also shown in the Add menu of other shader types.

Problem report by Nahuel Belich through Facebook, thanks!

7 years agoFix T41740: Different behaviour of custom hotkey
Bastien Montagne [Sun, 7 Sep 2014 12:45:05 +0000 (14:45 +0200)]
Fix T41740: Different behaviour of custom hotkey

Quick fix, this is actually a demonstration of why we should use modal keymaps!
We can give any event to *start* the op, but then hard-code how to *end* it... tsk.

7 years agoFix T41419: Quick Smoke doesn´t work with Cycles
Thomas Dinges [Sun, 7 Sep 2014 03:15:26 +0000 (05:15 +0200)]
Fix T41419: Quick Smoke doesn´t work with Cycles

Now the Quick Smoke operator creates a basic node setup for smoke and fire. This could be made more fancy still, but that's for later. :)

7 years agoNo need for try/except in D766
Campbell Barton [Sun, 7 Sep 2014 02:05:44 +0000 (12:05 +1000)]
No need for try/except in D766

7 years agoCycles: Several fixes for Presets.
Thomas Dinges [Sun, 7 Sep 2014 02:03:23 +0000 (04:03 +0200)]
Cycles: Several fixes for Presets.

* Fix caustic properties, was not updated.
* Remove wrong items, leftovers from panel splitting.
* Add missing items. Even if the bundled presets do not set those, a user expects that all properties inside the panel are taken into account, when adding a new preset.

7 years agoCycles: Fix Caustic tooltips.
Thomas Dinges [Sat, 6 Sep 2014 23:35:20 +0000 (01:35 +0200)]
Cycles: Fix Caustic tooltips.

Now that the option has been reversed, the tooltips should be changed too.
Thanks to David Black, for bringing this up!

7 years agoFix T40507: Blender Internal Render's Gather don't use node's emit color.
Bastien Montagne [Sat, 6 Sep 2014 20:50:31 +0000 (22:50 +0200)]
Fix T40507: Blender Internal Render's Gather don't use node's emit color.

Node was simply ignored by occ shading (noted as TODO), though it's a mere matter
of a very few lines of code, nowadays... Just copied from similar task in bake code.

7 years agoPy Mathutils: add `invert_safe()` and `inverted_safe()` to `Matrix`.
Bastien Montagne [Sat, 6 Sep 2014 12:54:08 +0000 (14:54 +0200)]
Py Mathutils: add `invert_safe()` and `inverted_safe()` to `Matrix`.

Those two mimic our BLI invert_m4_m4_safe - they add a small offset to diagonal values,
in case org matrix is degenerated, and if still non-invertible, return identity matrix.

Org patch by me, final enhanced version by ideasman42, many thanks!

7 years agoFix T41709: Bump not rendered correctly behind transparency using Branched Path Tracing
Sergey Sharybin [Sat, 6 Sep 2014 12:16:38 +0000 (18:16 +0600)]
Fix T41709: Bump not rendered correctly behind transparency using Branched Path Tracing

7 years agoCycles: Workaround cuda 6.5 compiler bug with sm_50
Sergey Sharybin [Sat, 6 Sep 2014 09:10:17 +0000 (15:10 +0600)]
Cycles: Workaround cuda 6.5 compiler bug with sm_50

7 years agoFix T41730: Knife Cut fails on concave faces
Campbell Barton [Sat, 6 Sep 2014 08:32:49 +0000 (18:32 +1000)]
Fix T41730: Knife Cut fails on concave faces

7 years agoKnife: remove redundant allocations
Campbell Barton [Sat, 6 Sep 2014 08:28:33 +0000 (18:28 +1000)]
Knife: remove redundant allocations

7 years agoCycles: Fix for the BSDF evaluation init
Sergey Sharybin [Sat, 6 Sep 2014 08:30:58 +0000 (14:30 +0600)]
Cycles: Fix for the BSDF evaluation init

7 years agoMath Lib: Add copy_m2_m2, unit_m2, zero_m2
Campbell Barton [Sat, 6 Sep 2014 01:19:34 +0000 (11:19 +1000)]
Math Lib: Add copy_m2_m2, unit_m2, zero_m2

7 years agoKnife: no need to find the face-loops
Campbell Barton [Fri, 5 Sep 2014 06:24:46 +0000 (16:24 +1000)]
Knife: no need to find the face-loops

Just check if verts are used in the face.

7 years agoCycles: Split caustics option, to allow separate control for Reflection and Refractio...
Thomas Dinges [Fri, 5 Sep 2014 18:39:35 +0000 (20:39 +0200)]
Cycles: Split caustics option, to allow separate control for Reflection and Refraction caustics.

This way artists can only disable/enable refraction or reflection caustics.
See Cycles logs for an example:

Differential revision:

7 years agoCycles: Initial support for volume ray visibility.
Thomas Dinges [Fri, 5 Sep 2014 14:17:24 +0000 (16:17 +0200)]
Cycles: Initial support for volume ray visibility.

This adds a new "Volume Scatter" option to the "Ray Visibility" panels and can be used to e.g. exclude lamps from having an influence on the volume. See release logs for an example:

Differential revision:

7 years agoCleanup:
Antony Riakiotakis [Fri, 5 Sep 2014 13:48:03 +0000 (15:48 +0200)]

Move projection paint data ensure function to projective texture
painting. Also, cleanup draw data when generating a new image for
painting in image paint mode.

7 years agoFix T41723, different tints in texture painting.
Antony Riakiotakis [Fri, 5 Sep 2014 13:46:10 +0000 (15:46 +0200)]
Fix T41723, different tints in texture painting.

Blend brush color with texture before converting to srgb

7 years agoFix T41721: Muting render layer input nodes has no effect
Sergey Sharybin [Fri, 5 Sep 2014 10:01:52 +0000 (16:01 +0600)]
Fix T41721: Muting render layer input nodes has no effect

7 years agoDisable msvc runtime fma3 use in an attempt to fix msvc 2013 + windows 7 issues.
Martijn Berger [Fri, 5 Sep 2014 09:09:54 +0000 (11:09 +0200)]
Disable msvc runtime fma3 use in an attempt to fix msvc 2013 + windows 7 issues.
MS report:

7 years agoFix uninitialized variable use
Campbell Barton [Fri, 5 Sep 2014 00:58:44 +0000 (10:58 +1000)]
Fix uninitialized variable use

7 years agoCleanup: de-duplicate link/append props
Campbell Barton [Fri, 5 Sep 2014 00:16:11 +0000 (10:16 +1000)]
Cleanup: de-duplicate link/append props

7 years agoFix broken maya/max keyconfigs (again) after link/append separation.
Bastien Montagne [Thu, 4 Sep 2014 18:32:58 +0000 (20:32 +0200)]
Fix broken maya/max keyconfigs (again) after link/append separation.

7 years agoFix T41716, crash with image mode when painting without materials.
Antony Riakiotakis [Thu, 4 Sep 2014 18:23:03 +0000 (20:23 +0200)]
Fix T41716, crash with image mode when painting without materials.

* As always, make sure all slots of the object have a material

7 years agoFix T41715 fill tools not respecting alpha lock
Antony Riakiotakis [Thu, 4 Sep 2014 18:04:03 +0000 (20:04 +0200)]
Fix T41715 fill tools not respecting alpha lock

7 years agoSeparate operators for Link and Append.
Andrea Weikert [Thu, 4 Sep 2014 17:35:18 +0000 (19:35 +0200)]
Separate operators for Link and Append.

Since the choice to link or append has been removed in the file browser operator panel,
there was no way to tell whether as a user you were linking or appending.
To fix this the proposed patch separates the operators.

Reviewers: campbellbarton, carter2422, venomgfx

Subscribers: fsiddi

Maniphest Tasks: T41593

Differential Revision:

7 years agoFix T41714: Maya and 3DS keymaps throw error when.
Bastien Montagne [Thu, 4 Sep 2014 17:17:57 +0000 (19:17 +0200)]
Fix T41714: Maya and 3DS keymaps throw error when.

Change in SEQUENCER_OT_select's left_right parameter...

7 years agoAttempt to solve T41708,
Antony Riakiotakis [Thu, 4 Sep 2014 15:21:01 +0000 (17:21 +0200)]
Attempt to solve T41708,

Refresh always when clicking on a palette color (state here may be same
as state of button, not causing a refresh as it should)

7 years agoMetastrips: disallow making a metastrip with only one strip present.
Antony Riakiotakis [Thu, 4 Sep 2014 14:59:18 +0000 (16:59 +0200)]
Metastrips: disallow making a metastrip with only one strip present.

7 years agoFix T41713: Lattice - Influence vertexgroup in curve modifier gets ignored
Bastien Montagne [Thu, 4 Sep 2014 14:43:52 +0000 (16:43 +0200)]
Fix T41713: Lattice - Influence vertexgroup in curve modifier gets ignored

This was never implemented, actually... Was also the occasion to rework a bit
`curve_deform_verts()`, code there was sometimes needlessly complicated and slowish
(like getting weight from dm vertex per vertex, instead of whole array at once...).

7 years agoFix related to previous commit: do not store panels (state, position, etc.) in defaul...
Bastien Montagne [Thu, 4 Sep 2014 13:03:03 +0000 (15:03 +0200)]
Fix related to previous commit: do not store panels (state, position, etc.) in default startup.

In this case, we want to use defaults as defined by UI code (among other, from order of registering),
there is no point in storing those data in factory startup.

7 years agoFix T41704: 2.71.6 no longer reading user ui panel arrangement from earlier saved...
Bastien Montagne [Thu, 4 Sep 2014 12:38:29 +0000 (14:38 +0200)]
Fix T41704: 2.71.6 no longer reading user ui panel arrangement from earlier saved blend files.

This reverts rB52c06440d8e51c8661a679bcb33742666ce8dbf9 and rBe40d8258bb46926a1aecf51236822532397993f3
(tabname is old 2.4x tabed panels system, *not* new 2.7x tool tabs!).

Also disabled (#idef'ed) everything regarding tabname/tabed panels for now, we may even remove it completely,
would make things clearer imho.

Note files saved with 2.71.6 up till now would have two versions of some panels in store (with two different
values for their tabname), can give some order oddities in those cases, which have to be fixed by hand...