blender.git
7 years ago* fix for error in shape transfer (wrong var name).
Campbell Barton [Thu, 2 Feb 2012 05:11:42 +0000 (05:11 +0000)]
* fix for error in shape transfer (wrong var name).
* fix for error alligning object to the view when no space was set.

also added blenderplayer start to CTest operator blacklist.

7 years agointernal cleanup, check.
Campbell Barton [Thu, 2 Feb 2012 04:59:30 +0000 (04:59 +0000)]
internal cleanup, check.

* remove duplicate operator, wasnt used.
* added check for duplicate types for CTest.

7 years agofix [#29666] Duplicate entries in bpy.types
Campbell Barton [Thu, 2 Feb 2012 04:43:35 +0000 (04:43 +0000)]
fix [#29666] Duplicate entries in bpy.types

Python operator subclasses and operator types each get their own SRNA, causing double ups for bpy.types.__dir__()

From the operator type - these share names.
* ot->ext.srna
* ot->srna

Note that this conflict is still there, this only disables 'ot->ext.srna' from being included in dir(bpy.types).

7 years agoFix for possible memory leak on creation of a vector using Vector.Range.
Andrew Hale [Thu, 2 Feb 2012 01:07:04 +0000 (01:07 +0000)]
Fix for possible memory leak on creation of a vector using Vector.Range.
It was possible to allocate an array of size<2 which would then raise an error on vector creation without freeing.

Fix to ensure the behaviour of Vector.Range was the same as for builtin range() function. When specifying 3 arguments, the step argument wasn't being used to correctly calculate the vector size.

Minor formatting edits for error messages.

7 years agoFixed typo in tracking context creation. Wasn't harmful because because of definition...
Sergey Sharybin [Wed, 1 Feb 2012 19:36:39 +0000 (19:36 +0000)]
Fixed typo in tracking context creation. Wasn't harmful because because of definition value,
but better avoid such confusing assignment.

7 years agoCamera tracking: regression fixed after recent frame postprocessing refactor
Sergey Sharybin [Wed, 1 Feb 2012 19:06:21 +0000 (19:06 +0000)]
Camera tracking: regression fixed after recent frame postprocessing refactor

No-proxied frames using for 2D tracking used to be putting to cache which lead
to extra memory usage which shouldn't happen.

7 years agoFix #30045: mesh.uv_textures.new() not returning correct layer when a layer with
Brecht Van Lommel [Wed, 1 Feb 2012 18:25:13 +0000 (18:25 +0000)]
Fix #30045: mesh.uv_textures.new() not returning correct layer when a layer with
the requested name already exists.

7 years agoFix #29104: keyframing motion blur samples did not work, made these non-animateable
Brecht Van Lommel [Wed, 1 Feb 2012 18:25:01 +0000 (18:25 +0000)]
Fix #29104: keyframing motion blur samples did not work, made these non-animateable
now like some other render settings.

7 years agoMovie Clip Editor: proxy sizes for original and undistortted footages are now control...
Sergey Sharybin [Wed, 1 Feb 2012 18:08:37 +0000 (18:08 +0000)]
Movie Clip Editor: proxy sizes for original and undistortted footages are now controlling separately

7 years agoFix: Bicubic bump mapping does not work for UVs outside the 0,1 range.
Antony Riakiotakis [Wed, 1 Feb 2012 17:47:13 +0000 (17:47 +0000)]
Fix: Bicubic bump mapping does not work for UVs outside the 0,1 range.

This issue is caused by texelFetch which does not take wrapping options into account as it uses unnormalized uv coordinates to access a texel. A hack was made to do manual wrapping in the shader. This is acceptable because texture wrap mode is always treated as "repeat" elsewhere in 3D view in blender.

Thanks to Morten Mikkelsen for pointing out the cause of the issue and providing the fix.

7 years agoFix #30047: Bake from multires crashes if run while sculpt mode is active
Sergey Sharybin [Wed, 1 Feb 2012 16:56:48 +0000 (16:56 +0000)]
Fix #30047: Bake from multires crashes if run while sculpt mode is active

Issue was caused by incorrect level used for lowres DM.

7 years agoOptional offset for fluid cache frame reading.
Lukas Toenne [Wed, 1 Feb 2012 15:58:26 +0000 (15:58 +0000)]
Optional offset for fluid cache frame reading.

This was a request by Daniel Salazar. It adds a new frame offset variable to fluid sim settings, which can be used to display baked fluid sims at different times. Eventually this could be replaced by real NLA strips for cached data, but until then this is a simple way to have more flexible cache result usage.

Not strictly a BCon3 patch, but after IRC discussion with Genscher, ZanQdo and kaito decided to commit it anyway, since it's a small feature and makes fluid sim a bit more usable. Similar patch for point cache (particles, smoke, cloth) is being worked on as well.

7 years agoCycles: material pass index button was missing from material properties still.
Brecht Van Lommel [Wed, 1 Feb 2012 13:38:23 +0000 (13:38 +0000)]
Cycles: material pass index button was missing from material properties still.

7 years agoFix #30028: VSE Paste Strip Crash
Sergey Sharybin [Wed, 1 Feb 2012 08:35:16 +0000 (08:35 +0000)]
Fix #30028: VSE Paste Strip Crash

Crash was caused by attempting to create strip text from a missed sound datablock.
Actual error happened when this sound datablock was missed, but crash isn't nice
anyway and there were no way to repair scene.

7 years agoEnable image and alpha outputs for image nodes by default. These were made unavailabl...
Lukas Toenne [Wed, 1 Feb 2012 07:44:19 +0000 (07:44 +0000)]
Enable image and alpha outputs for image nodes by default. These were made unavailable for render layer nodes with the Combined pass disabled, but the same function also disabled them for image nodes. Fix for bug #30040.

7 years agofix [#29433] Incorrect drawing of Circle/Axes/Cross on Particles when Display set...
Campbell Barton [Wed, 1 Feb 2012 06:26:48 +0000 (06:26 +0000)]
fix [#29433] Incorrect drawing of Circle/Axes/Cross on Particles when Display set to that AND Size/Vel/Num/Health also selected

7 years agoPrevious fix for [#29484] wasn't working right (did work in report file though).
Campbell Barton [Wed, 1 Feb 2012 05:59:50 +0000 (05:59 +0000)]
Previous fix for [#29484] wasn't working right (did work in report file though).

this now shares code with RNA's 'pchan.matrix = matrix'

tested with parent scale/rot/translation

7 years agofix [#29484] Visual keying bone with local location disabled
Campbell Barton [Wed, 1 Feb 2012 05:04:51 +0000 (05:04 +0000)]
fix [#29484] Visual keying bone with local location disabled

7 years agofix for error found while looking into bug [#29998].
Campbell Barton [Wed, 1 Feb 2012 04:11:19 +0000 (04:11 +0000)]
fix for error found while looking into bug [#29998].

rotation limits can exceed 90deg.

7 years agoFixes to Python matrices str function.
Andrew Hale [Wed, 1 Feb 2012 01:42:36 +0000 (01:42 +0000)]
Fixes to Python matrices str function.
1) The width of columns was incorrectly determined on windows, fixed by increasing the size of the dummy buf.
2) Added additional brackets to string for consistent formatting

7 years agoadded note in docs about not beaing able to create new data by calling the class...
Campbell Barton [Tue, 31 Jan 2012 22:37:36 +0000 (22:37 +0000)]
added note in docs about not beaing able to create new data by calling the class direct.

7 years agoFix bicubic map sampling to convert the sampled color to monochrome before using...
Antony Riakiotakis [Tue, 31 Jan 2012 22:12:33 +0000 (22:12 +0000)]
Fix bicubic map sampling to convert the sampled color to monochrome before using it to calculate the derivative.

7 years agoremove old code and use macro for latt_bp() function
Campbell Barton [Tue, 31 Jan 2012 21:56:22 +0000 (21:56 +0000)]
remove old code and use macro for latt_bp() function

7 years agocalc_curve_deform was using axis range of 1-6, but other parts of the code use 0...
Campbell Barton [Tue, 31 Jan 2012 21:32:06 +0000 (21:32 +0000)]
calc_curve_deform was using axis range of 1-6, but other parts of the code use 0-5. (confusion here casued an error in the code).

make calc_curve_deform use 0-5 too, only minor changes needed.

7 years agofix incorrect neg axis check for the curve deform modifier's boundbox.
Campbell Barton [Tue, 31 Jan 2012 21:20:30 +0000 (21:20 +0000)]
fix incorrect neg axis check for the curve deform modifier's boundbox.

7 years agofix [#30037] Curve Modifier doesn't work within -X -Y -Z translation in such cases?
Campbell Barton [Tue, 31 Jan 2012 21:06:52 +0000 (21:06 +0000)]
fix [#30037] Curve Modifier doesn't work within -X -Y -Z translation in such cases?

the curve modifier was applying the offet between the mesh and the curve object twice.
for positive axis it was (offset+offser), for neg axis (offset-offset) --- giving no offset,
in both cases not very useful.

7 years agofix inconsistancy with curve deform bounds being set differently when vertex groups...
Campbell Barton [Tue, 31 Jan 2012 20:48:48 +0000 (20:48 +0000)]
fix inconsistancy with curve deform bounds being set differently when vertex groups were used.

7 years agominor cleanup made while looking into bug report (having vector size in comments...
Campbell Barton [Tue, 31 Jan 2012 20:38:03 +0000 (20:38 +0000)]
minor cleanup made while looking into bug report (having vector size in comments is silly, may as well have in declaration)

7 years agoImplemented general functions to store view context like viewport width/height
Sergey Sharybin [Tue, 31 Jan 2012 18:33:31 +0000 (18:33 +0000)]
Implemented general functions to store view context like viewport width/height
and projection matrix, so operators which depends on such things can easily save
settings in operator properties in invoke and then reuse them in exec callback.

This will fix: #24767: Knife tool last operations panel doesn't cause changes even though F6 pop-up does.
               #27129: Problem with knife cuts/midpoint type in quad view

Usage is pretty simple:
- From operator template declaration function call ED_view3d_operator_properties_viewmat()
  to register all needed properties in operator.
- From invoke callback call ED_view3d_operator_properties_viewmat_set to
  store all needed settings in operator properties().
- To access this settings from exec callback, use function
  ED_view3d_operator_properties_viewmat_get().

Additional change:
added function apply_project_float() which does the same as
project_float() but accepts actual values for viewport width/height and
projection matrix.

7 years agofix own error [#29634] 'Find Missing Files' breaks good links
Campbell Barton [Tue, 31 Jan 2012 18:00:41 +0000 (18:00 +0000)]
fix own error [#29634] 'Find Missing Files' breaks good links

7 years agoHide internal property of knife_cut operator
Sergey Sharybin [Tue, 31 Jan 2012 16:24:02 +0000 (16:24 +0000)]
Hide internal property of knife_cut operator

7 years agoFix #28011: Dropdown lists to add Brick elements in Game Logic view miss letters...
Sergey Sharybin [Tue, 31 Jan 2012 15:59:52 +0000 (15:59 +0000)]
Fix #28011: Dropdown lists to add Brick elements in Game Logic view miss letters if zoomed small

Now fonts in popup lists will also be scaled together with panel from which they're displaying.

7 years agoFix #30011 & #30027: cycles division by zero evaluating BSDF with zero weights,
Brecht Van Lommel [Tue, 31 Jan 2012 15:59:30 +0000 (15:59 +0000)]
Fix #30011 & #30027: cycles division by zero evaluating BSDF with zero weights,
showed up as NaN on GPU render.

7 years agoFix #30034: bug in multiple importance sampling + transparency, would
Brecht Van Lommel [Tue, 31 Jan 2012 14:57:46 +0000 (14:57 +0000)]
Fix #30034: bug in multiple importance sampling + transparency, would
give slightly wrong lighting behind transparent objects.

7 years agoCache limiter will now work properly with limits >= 4Gb
Sergey Sharybin [Tue, 31 Jan 2012 11:11:56 +0000 (11:11 +0000)]
Cache limiter will now work properly with limits >= 4Gb

7 years agoapply back changes made since moving this file.
Campbell Barton [Tue, 31 Jan 2012 05:02:24 +0000 (05:02 +0000)]
apply back changes made since moving this file.

7 years agosvn cp \
Campbell Barton [Tue, 31 Jan 2012 04:59:57 +0000 (04:59 +0000)]
svn cp \
 https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/python/generic/noise_py_api.c@r42248 \
 https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/python/mathutils/mathutils_noise.c

7 years agoprevious move lost history on this file, restoring next commit.
Campbell Barton [Tue, 31 Jan 2012 04:58:06 +0000 (04:58 +0000)]
previous move lost history on this file, restoring next commit.

7 years agoAction constraint transform channel was listing X Scale as Z Scale,
Nathan Vegdahl [Tue, 31 Jan 2012 04:23:49 +0000 (04:23 +0000)]
Action constraint transform channel was listing X Scale as Z Scale,
resulting in two Z Scale listings in the menu.  Fixed.

7 years agofix [#30025] Blender crash when using python to load a blend file and import an obj...
Campbell Barton [Tue, 31 Jan 2012 03:54:51 +0000 (03:54 +0000)]
fix [#30025] Blender crash when using python to load a blend file and import an obj file

7 years agoFix #30031: Build modifier crashes when applied to bezier object
Sergey Sharybin [Mon, 30 Jan 2012 20:44:08 +0000 (20:44 +0000)]
Fix #30031: Build modifier crashes when applied to bezier object

Just missed check for modifier type.

7 years agoFixing a typo in Clip ui...
Bastien Montagne [Mon, 30 Jan 2012 20:41:36 +0000 (20:41 +0000)]
Fixing a typo in Clip ui...

7 years agoFix #30030: Tapered and beveled text won't update in realtime
Sergey Sharybin [Mon, 30 Jan 2012 19:55:30 +0000 (19:55 +0000)]
Fix #30030: Tapered and beveled text won't update in realtime

Was missed dependency in depsgraph.

7 years agoFix #30026: errors rendering material with ambient 0 and AO/env/indirect light.
Brecht Van Lommel [Mon, 30 Jan 2012 19:47:30 +0000 (19:47 +0000)]
Fix #30026: errors rendering material with ambient 0 and AO/env/indirect light.
It would skip rendering the latter if ambient was 0, however this is not actually
used in adding the contribution from these.

7 years agoFix #30019: Copy rotation from a vertex group
Sergey Sharybin [Mon, 30 Jan 2012 19:46:15 +0000 (19:46 +0000)]
Fix #30019: Copy rotation from a vertex group

It was incorrect behavior of contarget_get_mesh_mat in cases when
object's Y axis is co-linear to average vertex group normal.
Use object's X axis for plane definition in such cases.

7 years agoFix #30009: cycles translucent BSDF + environment importance sampling not
Brecht Van Lommel [Mon, 30 Jan 2012 18:34:01 +0000 (18:34 +0000)]
Fix #30009: cycles translucent BSDF + environment importance sampling not
working correct.

7 years agoFix #30016: cycles crash with compute device set to GPU but not GPU device
Brecht Van Lommel [Mon, 30 Jan 2012 15:33:28 +0000 (15:33 +0000)]
Fix #30016: cycles crash with compute device set to GPU but not GPU device
available.

7 years agoFix #28733, #29885: fix missing scene in context in python. The window manager
Brecht Van Lommel [Mon, 30 Jan 2012 15:12:51 +0000 (15:12 +0000)]
Fix #28733, #29885: fix missing scene in context in python. The window manager
would indirectly clear it when clearing the window from the context. This makes
some sense when we support multiple scenes properly, but currently there's still
many places assuming there is a single active scene, so keep it available to
avoid crashes.

7 years agoFix wrong uv editor Border Select Pinned name in menu.
Brecht Van Lommel [Mon, 30 Jan 2012 14:28:45 +0000 (14:28 +0000)]
Fix wrong uv editor Border Select Pinned name in menu.

7 years agofile selector - entering and empty path on *nix would ask to create a new dir.
Campbell Barton [Mon, 30 Jan 2012 10:04:27 +0000 (10:04 +0000)]
file selector - entering and empty path on *nix would ask to create a new dir.

7 years agodisplay keyblock mute in the shape key list.
Campbell Barton [Mon, 30 Jan 2012 09:49:30 +0000 (09:49 +0000)]
display keyblock mute in the shape key list.

Realize this is bcon3 but this is was very bad IMHO.
- button adjusting key block was in between 2 object settings - which is misleading/confusing.
- you needed to click through all shapes to check which was muted, currently you's assume 1.0 means the shape is enabled.

7 years agoFix #29976: Carve Boolenas crasher with Solidify
Sergey Sharybin [Mon, 30 Jan 2012 09:19:38 +0000 (09:19 +0000)]
Fix #29976: Carve Boolenas crasher with Solidify

Issue was caused by union policy needed to deal with cases when operand intersects
two or more intersecting meshes of another operand.

Changed this policy to run union operation only if there's actual intersection
between two meshes of the same object. Should work in general but it's still
possible to make it behave incorrect -- for example object consist of two groups
if concentric cubes which intersects each other.

7 years agoFix #30021: Crash happens when rotating markers
Sergey Sharybin [Mon, 30 Jan 2012 09:10:58 +0000 (09:10 +0000)]
Fix #30021: Crash happens when rotating markers

7 years agoFix #30020: Movie Clip Editor Crashed with panel size changed
Sergey Sharybin [Mon, 30 Jan 2012 09:05:26 +0000 (09:05 +0000)]
Fix #30020: Movie Clip Editor Crashed with panel size changed

7 years agoRemoved check for active node in edited node group to allow node group editing toggle...
Lukas Toenne [Mon, 30 Jan 2012 09:00:54 +0000 (09:00 +0000)]
Removed check for active node in edited node group to allow node group editing toggle. This enables closing an empty node group again (after removing all nodes or when empty group is added via menu). Fix for bug #30018.

7 years agoMake Image and Alpha outputs in render layer node 'unavailable' when the Combined...
Lukas Toenne [Mon, 30 Jan 2012 08:48:11 +0000 (08:48 +0000)]
Make Image and Alpha outputs in render layer node 'unavailable' when the Combined pass is not active in the render layer. Fix for bug #29999.

The internal code for render layers node is unchanged, since the buffer is created anyway. Also noticed that, while unavailable sockets and links to/from them are not displayed, they are still used in execution, which could lead to unexpected results. But that's a more general problem with the way (pseudo-)dynamic sockets are simply flagged with SOCK_UNAVAIL.

7 years agoFix #29993: Boolean modifier crashes Blender
Sergey Sharybin [Mon, 30 Jan 2012 08:45:12 +0000 (08:45 +0000)]
Fix #29993: Boolean modifier crashes Blender

Crash was caused by error in Carve triangulator. Fixed by upgrading Carve library.

7 years agopydoc cleanup + remove unused bge.logic constants
Dalai Felinto [Mon, 30 Jan 2012 06:47:01 +0000 (06:47 +0000)]
pydoc cleanup + remove unused bge.logic constants
+ adding PINGPONG as action actuator constant in rst

7 years agofix [#30017] Make Dupli-Face needs active mesh object
Campbell Barton [Sun, 29 Jan 2012 21:28:04 +0000 (21:28 +0000)]
fix [#30017] Make Dupli-Face needs active mesh object

7 years agoFixed for cloth modifier when it's applied after deformation modifier.
Sergey Sharybin [Sun, 29 Jan 2012 16:55:57 +0000 (16:55 +0000)]
Fixed for cloth modifier when it's applied after deformation modifier.

7 years agoFix for [#30015] Keyframed Resolution Unpredictable
Thomas Dinges [Sun, 29 Jan 2012 10:21:28 +0000 (10:21 +0000)]
Fix for [#30015] Keyframed Resolution Unpredictable
* Disabled possibility to keyframe render resolution, percentage and border render properties. Animating them does not makes much sense. Discussed with Sergey in IRC.

7 years agoRelease cycle:
Thomas Dinges [Sat, 28 Jan 2012 13:53:17 +0000 (13:53 +0000)]
Release cycle:
* Moving on to BCon3: Beta.

7 years agoFixed typo in a tooltip
Sergey Sharybin [Sat, 28 Jan 2012 08:45:51 +0000 (08:45 +0000)]
Fixed typo in a tooltip

7 years agoDynamic Paint:
Miika Hamalainen [Fri, 27 Jan 2012 17:44:56 +0000 (17:44 +0000)]
Dynamic Paint:
* Fix: Brush didn't paint particles that were hidden by the display percentage setting.

7 years agoAlways assume isFinalCals is truth when applying constructive modifiers on curves
Sergey Sharybin [Fri, 27 Jan 2012 14:17:59 +0000 (14:17 +0000)]
Always assume isFinalCals is truth when applying constructive modifiers on curves
for viewport display.

It saves plenty of memory when using subsurf modifier which result is getting
converted from CCGDM to CDDM without any benefit. It also syncs behavior of
modifiers with mesh.

Need to keep an eye on constructive modifiers when in edit mode.

Discovered this when was looking into #29973.

7 years agoCycles: another fix for CUDA render passes, needed to align float4 passes.
Brecht Van Lommel [Fri, 27 Jan 2012 13:58:32 +0000 (13:58 +0000)]
Cycles: another fix for CUDA render passes, needed to align float4 passes.

7 years agoFixed some possible issues and access non-initialized variable in Carve BOP interface.
Sergey Sharybin [Fri, 27 Jan 2012 08:17:53 +0000 (08:17 +0000)]
Fixed some possible issues and access non-initialized variable in Carve BOP interface.

Discovered when was investigating some crashes caused by Carve's triangulator.

7 years agoMinor fix for CD_TYPE_AS_MASK macro: shift operator uses the left
Nicholas Bishop [Fri, 27 Jan 2012 08:15:30 +0000 (08:15 +0000)]
Minor fix for CD_TYPE_AS_MASK macro: shift operator uses the left
operand's type for the result, so cast 1 to CustomDataMask.

7 years agoFix #30000: Boolean modifier messing up multi material
Sergey Sharybin [Fri, 27 Jan 2012 08:04:03 +0000 (08:04 +0000)]
Fix #30000: Boolean modifier messing up multi material

Issue was caused by resetting face's mat_nr to zero if there's no material
map sent to ConvertCSGDescriptorsToDerivedMesh. In case of boolean modifier
we can't use such map because we can't affect on materials present in object.

So the only way which can give reasonable result is:
- Dot change mat_nr for faces from left operand (they should be fine, because
  materials aren't deleting by modifier)
- For faces from right operand check if needed material exists in left operand
  and if so, use it's index as new mat_nr.
- If there are materials in right operand which doesn't exist in left operand,
  they'll be changed to first material from left operand.

7 years agoFix [#29884] Splash screen only displays "r43"
Nathan Letwory [Fri, 27 Jan 2012 07:35:57 +0000 (07:35 +0000)]
Fix [#29884] Splash screen only displays "r43"
Based on patch by perfection cat

Removed the unnecessary char * juggling.

7 years agoAction Constraint GUI - Refinements and Clarification
Joshua Leung [Fri, 27 Jan 2012 01:30:58 +0000 (01:30 +0000)]
Action Constraint GUI - Refinements and Clarification

While looking at a bug report, I found that the current GUI for the Action
Constraint actually didn't make sense, mixing up settings so that it wasn't
clear which settings corresponded to which others. This commit cleans up the
layout into a clearer two-column design to have a "from" -> "to" layout, making
all the
relationships between things clear.

For more details see http://aligorith.blogspot.com/2012/01/action-constraint-
gui-revised.html

7 years agoCycles: disable environment importance sampling code for CUDA cards with
Brecht Van Lommel [Thu, 26 Jan 2012 19:45:59 +0000 (19:45 +0000)]
Cycles: disable environment importance sampling code for CUDA cards with
compute model < 2.x, to avoid running out of memory in the compiler.

7 years agoCycles: render passes for CUDA cards with compute model >= 2.x.
Brecht Van Lommel [Thu, 26 Jan 2012 19:07:01 +0000 (19:07 +0000)]
Cycles: render passes for CUDA cards with compute model >= 2.x.

7 years agoFix orthogonality check for mat3 and mat4
Sv. Lockal [Thu, 26 Jan 2012 17:11:43 +0000 (17:11 +0000)]
Fix orthogonality check for mat3 and mat4

7 years agoFix #29957: Texture "Generate" mapping work as global with cloth modifier
Sergey Sharybin [Thu, 26 Jan 2012 17:03:30 +0000 (17:03 +0000)]
Fix #29957: Texture "Generate" mapping work as global with cloth modifier

Make Cloth modifier deformation only so now it applies on orco dm properly.

7 years agoCycles: fixes for OpenCL build after pass changes, patch by Daniel Genrich.
Brecht Van Lommel [Thu, 26 Jan 2012 15:37:33 +0000 (15:37 +0000)]
Cycles: fixes for OpenCL build after pass changes, patch by Daniel Genrich.

7 years agoColor channels used for tracking is now a part of default tracking settings and also...
Sergey Sharybin [Thu, 26 Jan 2012 15:33:16 +0000 (15:33 +0000)]
Color channels used for tracking is now a part of default tracking settings and also a part of presets.

7 years agoMovie clip editor: default tracking settings can be copied from active track now
Sergey Sharybin [Thu, 26 Jan 2012 15:04:25 +0000 (15:04 +0000)]
Movie clip editor: default tracking settings can be copied from active track now

7 years agoFix #29960: fields option should not be used for external engine rendering.
Brecht Van Lommel [Thu, 26 Jan 2012 14:55:46 +0000 (14:55 +0000)]
Fix #29960: fields option should not be used for external engine rendering.

7 years agoFix #29966: cycles elapsed time not resetting in viewport after changes.
Brecht Van Lommel [Thu, 26 Jan 2012 14:55:39 +0000 (14:55 +0000)]
Fix #29966: cycles elapsed time not resetting in viewport after changes.

7 years agoCycles: fix issues rendering second render layer passes, and avoid unnecessary
Brecht Van Lommel [Thu, 26 Jan 2012 14:55:25 +0000 (14:55 +0000)]
Cycles: fix issues rendering second render layer passes, and avoid unnecessary
clear of buffer.

7 years agoMovie clip editor: curves view shouldn't jump back to top when click on it
Sergey Sharybin [Thu, 26 Jan 2012 13:13:48 +0000 (13:13 +0000)]
Movie clip editor: curves view shouldn't jump back to top when click on it

Also it should now re-store position after toggling it.

7 years agoFix #29958: Search Menu keeps hiding first character(s) after long input
Sergey Sharybin [Thu, 26 Jan 2012 12:48:36 +0000 (12:48 +0000)]
Fix #29958: Search Menu keeps hiding first character(s) after long input

- ui_check_but() in ui_textedit_move() is necessary because this function clips
  but->drawstring to fit text entry widget and it confuses cursor movement stuff.
  ui_check_but copies editstring to drawstring, so displaystring would be clipped
  again in correct way.
- If the whole drawstring fits widget, no need to set button's offset.

7 years agoFix #29895 Fast Alt-Mousewheel toggling of Mapping Modes scrubs timeline
Sergey Sharybin [Thu, 26 Jan 2012 12:44:31 +0000 (12:44 +0000)]
Fix #29895 Fast Alt-Mousewheel toggling of Mapping Modes scrubs timeline

Issue was caused by changing button state to EXIT, so there's no active button just after
applying Alt-Wheel event. Setting this state is needed to prevent button trigger cancel
callback when mouse is leaving hovered menu button.

Using the same "post activate" trick used by Tab button allows to make prevent canceling
button and makes this button active again after applying all handlers.

There's still issues with Alt-Scroll if changing active element in menu leads to interface
changes (like file format in render buttons) -- in this case button simple doesn't receive
wheel events and it's actually not connected to this issue.

7 years agoMore curves view improvements for clip editor:
Sergey Sharybin [Thu, 26 Jan 2012 11:49:38 +0000 (11:49 +0000)]
More curves view improvements for clip editor:

- Renamed graph_jump_to_current_frame to graph_center_current_frame
  which makes more sense.
- Curve view now can be locked to time cursor (Lock to Time Cursor in
  Display panel or L button in curve view). Not sure if offset from
  locked position will make much sense here.
- Added hotkey for solving -- Shift-S.

7 years agoPossible fix for implicit declaration of av_rescale_q on some platforms.
Sergey Sharybin [Thu, 26 Jan 2012 11:16:49 +0000 (11:16 +0000)]
Possible fix for implicit declaration of av_rescale_q on some platforms.

7 years agoFix implicit declaration of guardedalloc functions in avi's endian.c.
Sergey Sharybin [Thu, 26 Jan 2012 10:59:31 +0000 (10:59 +0000)]
Fix implicit declaration of guardedalloc functions in avi's endian.c.
Discovered by debian building system.

7 years agoFix build on debian ports that differs from generic i386/x86_64 like kFreeBSD
Sergey Sharybin [Thu, 26 Jan 2012 10:36:36 +0000 (10:36 +0000)]
Fix build on debian ports that differs from generic i386/x86_64 like kFreeBSD

Patch by Kevin Roy, thanks!

7 years agoMovie clip editor: graph view now can be toggled using Z key
Sergey Sharybin [Thu, 26 Jan 2012 09:53:58 +0000 (09:53 +0000)]
Movie clip editor: graph view now can be toggled using Z key

7 years agoTracks curves fixes and improvements:
Sergey Sharybin [Thu, 26 Jan 2012 09:29:49 +0000 (09:29 +0000)]
Tracks curves fixes and improvements:

- Use proper poll functions for tracks curve operators.
- Darken frames outside of scene frame range in curves view.
- Implemented view all operator.
- Implemented jump to current frame operator.

7 years agoReplace hard-coded structures in selection callbacks in view3d_select with typedef...
Sergey Sharybin [Thu, 26 Jan 2012 08:12:12 +0000 (08:12 +0000)]
Replace hard-coded structures in selection callbacks in view3d_select with typedef-ed structures.

Should be no functional changes, but this discovered inconsistency in structures
used for armature circle selection, not sure how harmful this were, but it's not
nice to have such inconsistencies. Anyway, it's resolved now.

7 years agoFix for layer toggling always sticking to extend policy.
Sergey Sharybin [Thu, 26 Jan 2012 07:33:14 +0000 (07:33 +0000)]
Fix for layer toggling always sticking to extend policy.

Reported by Dalai in IRC, thanks for pointing to issue.

7 years agoFix #29991: Broken Hotkeys for rotation in custom Maya-Navigation. >rev43375
Sergey Sharybin [Thu, 26 Jan 2012 07:18:26 +0000 (07:18 +0000)]
Fix #29991: Broken Hotkeys for rotation in custom Maya-Navigation. >rev43375

Issue was caused by incorrect operator property set in revision 43376.

7 years agoadded support for USB Spaceball5000, also a partial attempt to accept button presses...
Mike Erwin [Thu, 26 Jan 2012 03:27:10 +0000 (03:27 +0000)]
added support for USB Spaceball5000, also a partial attempt to accept button presses from unidentified 3D mice (for ancient serial devices)

7 years agodisable toggle option for BGE boolean property, not sure why this was set.
Campbell Barton [Thu, 26 Jan 2012 01:46:16 +0000 (01:46 +0000)]
disable toggle option for BGE boolean property, not sure why this was set.

7 years agofix [#29987] scene.frame_set method doesn't take in account camera change done via...
Campbell Barton [Wed, 25 Jan 2012 22:13:08 +0000 (22:13 +0000)]
fix [#29987] scene.frame_set method doesn't take in account camera change done via markers

7 years agohrmf, fix for fix [#29988] Segfault when unwrap default cube with smart project ...
Campbell Barton [Wed, 25 Jan 2012 22:06:53 +0000 (22:06 +0000)]
hrmf, fix for fix [#29988] Segfault when unwrap default cube with smart project / follow active quads

I think that we need a check here for thick wrapped strings but for now we dont have any thick wrapped strings with default values so comment it.

7 years agoFix #29989: Ctrl + T to show seconds in timeline, python error
Sergey Sharybin [Wed, 25 Jan 2012 21:23:34 +0000 (21:23 +0000)]
Fix #29989: Ctrl + T to show seconds in timeline, python error

Issue seems to be caused by refactoring from rev43376.

7 years agoCycles: Render Passes
Brecht Van Lommel [Wed, 25 Jan 2012 17:23:52 +0000 (17:23 +0000)]
Cycles: Render Passes

Currently supported passes:
* Combined, Z, Normal, Object Index, Material Index, Emission, Environment,
  Diffuse/Glossy/Transmission x Direct/Indirect/Color

Not supported yet:
* UV, Vector, Mist

Only enabled for CPU devices at the moment, will do GPU tweaks tommorrow,
also for environment importance sampling.

Documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes

7 years agoFix #29892: Properties of objects in nested custom collections stop being animatable...
Sergey Sharybin [Wed, 25 Jan 2012 16:14:24 +0000 (16:14 +0000)]
Fix #29892: Properties of objects in nested custom collections stop being animatable once an object get added to an unrelated custom collection.

Issue was caused by attempting to find rna path in all property collections
which lead to overwritting already found path.