blender.git
7 years agocode cleanup: remove unused KeyBlock.adrcode
Campbell Barton [Thu, 12 Apr 2012 11:50:43 +0000 (11:50 +0000)]
code cleanup: remove unused KeyBlock.adrcode

7 years agoFix: cycles not using local 3d view camera when it is decoupled from the scene.
Brecht Van Lommel [Thu, 12 Apr 2012 11:42:18 +0000 (11:42 +0000)]
Fix: cycles not using local 3d view camera when it is decoupled from the scene.

7 years agolibmv: bundle new upstream version from own branch with rigid registration implementation
Sergey Sharybin [Thu, 12 Apr 2012 11:37:51 +0000 (11:37 +0000)]
libmv: bundle new upstream version from own branch with rigid registration implementation

Currently not used in blender code but is needed for some current work.

7 years agobmesh shape key conversion.
Campbell Barton [Thu, 12 Apr 2012 11:27:50 +0000 (11:27 +0000)]
bmesh shape key conversion.
- remove print for impossible error.
- add NULL check incase bmesh and mesh get out of sync (would crash if Basis key-block couldn't be found).

7 years agobmesh exit editmode: when a mesh shape-key customdata layer exists but the shape...
Campbell Barton [Thu, 12 Apr 2012 11:11:31 +0000 (11:11 +0000)]
bmesh exit editmode: when a mesh shape-key customdata layer exists but the shape-key-block isnt found, creating a shape key was allocated and inline - it didnt set the name or uid, Now use add_keyblock() as every other function does.

7 years agochange add_keyblock() not to sort keyblocks by time since this can be a problem when...
Campbell Barton [Thu, 12 Apr 2012 11:05:16 +0000 (11:05 +0000)]
change add_keyblock() not to sort keyblocks by time since this can be a problem when using the function in lower level parts of the code, instead add add_keyblock_ctime() which sets time and sorts on absolute shape keys.

7 years agoadd in a check for Mingw so 4.5 or older will error out on build.
Campbell Barton [Thu, 12 Apr 2012 09:10:10 +0000 (09:10 +0000)]
add in a check for Mingw so 4.5 or older will error out on build.

7 years agoTook out OpenMP refactor out by mistake
Antony Riakiotakis [Thu, 12 Apr 2012 08:45:26 +0000 (08:45 +0000)]
Took out OpenMP refactor out by mistake

7 years agoRevert changes that disable features on MinGW.
Antony Riakiotakis [Thu, 12 Apr 2012 08:36:07 +0000 (08:36 +0000)]
Revert changes that disable features on MinGW.

To compile on MinGW it is important to have the latest MinGW (gcc 4.6.2)

I have updated the instructions on the wiki to reflect this:  http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows/Environment

7 years agofix [#30907] Inset tool with Select Outer disabled does not allow translation of...
Campbell Barton [Thu, 12 Apr 2012 07:40:47 +0000 (07:40 +0000)]
fix [#30907] Inset tool with Select Outer disabled does not allow translation of new faces

inset with select-inner faces gave invalid selection.

also correct spelling in some comments.

7 years agodoxygen docs explaining whats going on with shape-key conversion.
Campbell Barton [Thu, 12 Apr 2012 06:52:50 +0000 (06:52 +0000)]
doxygen docs explaining whats going on with shape-key conversion.

7 years agocmake/mingw now builds with default configuration (needed to disable tiff/exr/cycles)
Campbell Barton [Thu, 12 Apr 2012 05:34:17 +0000 (05:34 +0000)]
cmake/mingw now builds with default configuration (needed to disable tiff/exr/cycles)

7 years agocode cleanup: remove duplicate define on windows.
Campbell Barton [Thu, 12 Apr 2012 03:10:36 +0000 (03:10 +0000)]
code cleanup: remove duplicate define on windows.

7 years agocode cleanup: quiet some mingw warnings.
Campbell Barton [Thu, 12 Apr 2012 02:50:21 +0000 (02:50 +0000)]
code cleanup: quiet some mingw warnings.

7 years agocode cleanup: avoid confusion with utfconv lib - was configuring this windows only...
Campbell Barton [Thu, 12 Apr 2012 02:37:28 +0000 (02:37 +0000)]
code cleanup: avoid confusion with utfconv lib - was configuring this windows only lib on non windows platforms (scons only).

7 years agocode cleanup: utfconv library had some quite confusing formatting, also cleared som...
Campbell Barton [Thu, 12 Apr 2012 02:15:33 +0000 (02:15 +0000)]
code cleanup: utfconv library had some quite confusing formatting, also cleared som warnings.

7 years agocode cleanup: remove unused var for windows and style edit (remove spaces between...
Campbell Barton [Thu, 12 Apr 2012 00:15:02 +0000 (00:15 +0000)]
code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]')

7 years agofix [#30771] Shapekeys: Basis shapekey is not kept in sync with "RealMesh"
Campbell Barton [Wed, 11 Apr 2012 15:59:50 +0000 (15:59 +0000)]
fix [#30771] Shapekeys: Basis shapekey is not kept in sync with "RealMesh"

behave the same as in 2.4x.

- merge BMesh / Pre-BMesh code shape key conversion code, old code was called as a fallback but merge instead.
- fix possible crash - new bmesh code was clamping the vertex index for the oldverts array by the new total number of verts.

7 years agobmesh shape key conversion on exiting editmode.
Campbell Barton [Wed, 11 Apr 2012 15:24:13 +0000 (15:24 +0000)]
bmesh shape key conversion on exiting editmode.

there were 2 blocks of code (both calculating the offset array), now move the fallback method into the main key conversions block.

7 years agobmesh exit editmode shape key conversion - split out 'keyblock --> customdata layer...
Campbell Barton [Wed, 11 Apr 2012 14:59:35 +0000 (14:59 +0000)]
bmesh exit editmode shape key conversion - split out 'keyblock --> customdata layer index' into its own function, makes code easier to follow.

7 years agobmesh shape key conversion when exiting editmode.
Campbell Barton [Wed, 11 Apr 2012 14:42:44 +0000 (14:42 +0000)]
bmesh shape key conversion when exiting editmode.
- avoid running old conversion code if its not needed.
- de-duplicate functionality which gets offsets from edits made in editmode.

7 years agolibmv: bundle new upstream version from own branch which should support
Sergey Sharybin [Wed, 11 Apr 2012 13:51:37 +0000 (13:51 +0000)]
libmv: bundle new upstream version from own branch which should support
compilation of glog on hurd platform.

7 years agoGame engine: pass string length to BLI_str_cursor_step_prev_utf8 rather than NULL
Sergey Sharybin [Wed, 11 Apr 2012 13:17:13 +0000 (13:17 +0000)]
Game engine: pass string length to BLI_str_cursor_step_prev_utf8 rather than NULL

That's what this function expect (but somehow does not use) and it gave compilation
error when using gcc-4.6.3 from debian linux.

7 years agowrite mesh selection history to the blend file. without this active edge/vert are...
Campbell Barton [Wed, 11 Apr 2012 11:52:21 +0000 (11:52 +0000)]
write mesh selection history to the blend file. without this active edge/vert are lost on UNDO.

7 years agocode cleanup: mselect conversion when creating a bmesh from a bmesh was overly verbose.
Campbell Barton [Wed, 11 Apr 2012 11:22:19 +0000 (11:22 +0000)]
code cleanup: mselect conversion when creating a bmesh from a bmesh was overly verbose.

7 years agopy rna/api: fix for error running RNA_property_collection_type_get on non collection...
Campbell Barton [Wed, 11 Apr 2012 10:35:09 +0000 (10:35 +0000)]
py rna/api: fix for error running RNA_property_collection_type_get on non collection property types.

7 years agoFix cycles opencl compile issue, fminf/fmaxf() was defined both as macro and function.
Brecht Van Lommel [Wed, 11 Apr 2012 09:07:28 +0000 (09:07 +0000)]
Fix cycles opencl compile issue, fminf/fmaxf() was defined both as macro and function.

7 years agoFix #30896: cycles mask layer not working for objects without material assigned.
Brecht Van Lommel [Wed, 11 Apr 2012 08:57:54 +0000 (08:57 +0000)]
Fix #30896: cycles mask layer not working for objects without material assigned.

7 years agofix [#30906] dict(prop) crashes if prop is a PropertyGroup with nested PropertyGroup
Campbell Barton [Wed, 11 Apr 2012 08:37:48 +0000 (08:37 +0000)]
fix [#30906] dict(prop) crashes if prop is a PropertyGroup with nested PropertyGroup

the ID of a python ID property can be NULL.

7 years agoFix #30895: uv editor snap selected to adjacent unselected not working correctly,
Brecht Van Lommel [Wed, 11 Apr 2012 08:37:38 +0000 (08:37 +0000)]
Fix #30895: uv editor snap selected to adjacent unselected not working correctly,
was apply to unselected uvs too.

7 years agoFix #30900: when opengl offscreen render failed, the wait cursor would incorrectly
Brecht Van Lommel [Wed, 11 Apr 2012 08:27:07 +0000 (08:27 +0000)]
Fix #30900: when opengl offscreen render failed, the wait cursor would incorrectly
stay visible. Patch by Justin Dailey.

7 years agoupdate for changes in the py api
Campbell Barton [Wed, 11 Apr 2012 08:22:31 +0000 (08:22 +0000)]
update for changes in the py api

7 years agocode cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
Campbell Barton [Wed, 11 Apr 2012 08:15:13 +0000 (08:15 +0000)]
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)

7 years agofix [#30897] UVEditor: Snap Cursor to Selected
Campbell Barton [Wed, 11 Apr 2012 07:47:09 +0000 (07:47 +0000)]
fix [#30897] UVEditor: Snap Cursor to Selected
was writing the 3rd component of a 2D vector.

7 years agoFix #30904: MovieClip.objects.new() segfault when no name is passed
Sergey Sharybin [Wed, 11 Apr 2012 07:35:04 +0000 (07:35 +0000)]
Fix #30904: MovieClip.objects.new() segfault when no name is passed

Made name property required for new().

7 years agoFix #30664: Texturepaint color does not match texture color (3D View vs UV/Image...
Sergey Sharybin [Tue, 10 Apr 2012 19:27:02 +0000 (19:27 +0000)]
Fix #30664: Texturepaint color does not match texture color (3D View vs UV/Image Editor)

Another regression since bmesh merge which was caused getting CD_MTFACE from
polys datablock instead of face datablock.

7 years agoSmoke: Fix for some non animated properties
Daniel Genrich [Tue, 10 Apr 2012 17:45:25 +0000 (17:45 +0000)]
Smoke: Fix for some non animated properties

7 years agoFix for recent commit that changed normal display buttons to use icons, the
Brecht Van Lommel [Tue, 10 Apr 2012 17:01:35 +0000 (17:01 +0000)]
Fix for recent commit that changed normal display buttons to use icons, the
vertex/face icons were swapped.

7 years agoFix #30698: python console nodetree paths were not accurate, now show ... like
Brecht Van Lommel [Tue, 10 Apr 2012 16:37:05 +0000 (16:37 +0000)]
Fix #30698: python console nodetree paths were not accurate, now show ... like
in some other cases to at least show these are not accurate.

7 years agoFix #30874: Single texture display in Edit Mode
Sergey Sharybin [Tue, 10 Apr 2012 16:28:26 +0000 (16:28 +0000)]
Fix #30874: Single texture display in Edit Mode

It was a regression since 2.62 caused by how texface is passing to drawParamsMapped
Previously it was used from CD layer but now it's getting copied from MexPoly
into a variable allocated in stack for function void emDM_drawFacesTex_common.

To set texture needed to draw particular face function set_draw_settings_cached
is used, which tries to not to copy texture into GPU when it's not needed (for
example, when drawing bunch of faces with the same texture) and one of condition
if texture should be updated in GPU was comparing address of texface passed to
this function and cached texface. But this address are exactly the sane and
points to a memory inside stack of emDM_drawFacesTex_common.

Fixed by cacheing texface content, not it's address.

7 years agoFix #30892: File > New is easy to hit accidentally, now it asks for confirmation.
Brecht Van Lommel [Tue, 10 Apr 2012 15:56:33 +0000 (15:56 +0000)]
Fix #30892: File > New is easy to hit accidentally, now it asks for confirmation.

7 years agoFix #30850: bevel tool only works on edges but tooltip indicated it worked on
Brecht Van Lommel [Tue, 10 Apr 2012 15:51:22 +0000 (15:51 +0000)]
Fix #30850: bevel tool only works on edges but tooltip indicated it worked on
vertices too, fixed tooltip. Also add bevel to edge menu since it works edge
based.

7 years agoFix properties editor, right click menu "Copy to Selected" not working for
Brecht Van Lommel [Tue, 10 Apr 2012 15:49:41 +0000 (15:49 +0000)]
Fix properties editor, right click menu "Copy to Selected" not working for
object modifier/constraint/physics properties. Now uses RNA path rather than
only properties on the object itself.

7 years agoCode cleanup: remove a bunch of unused code from this file.
Brecht Van Lommel [Tue, 10 Apr 2012 15:47:34 +0000 (15:47 +0000)]
Code cleanup: remove a bunch of unused code from this file.

7 years agoFix #30754: motion blur shutter was animateable while this is actually not
Brecht Van Lommel [Tue, 10 Apr 2012 15:43:42 +0000 (15:43 +0000)]
Fix #30754: motion blur shutter was animateable while this is actually not
supported.

7 years agomango request: option to draw background in front of all objects in the viewport.
Sergey Sharybin [Tue, 10 Apr 2012 14:59:06 +0000 (14:59 +0000)]
mango request: option to draw background in front of all objects in the viewport.
Should be really handy for painting clean plates.

7 years agoFix #30875: active uv texture layer not synced properly when switching from
Brecht Van Lommel [Tue, 10 Apr 2012 14:58:21 +0000 (14:58 +0000)]
Fix #30875: active uv texture layer not synced properly when switching from
edit to object mode.

7 years agoFix #30882: using an image sequence in the displace modifier did not update
Brecht Van Lommel [Tue, 10 Apr 2012 14:11:45 +0000 (14:11 +0000)]
Fix #30882: using an image sequence in the displace modifier did not update
properly in animation rendering.

7 years agoFix #30879: uv editor hide did not work with the mesh in vertex/edge select
Brecht Van Lommel [Tue, 10 Apr 2012 13:19:16 +0000 (13:19 +0000)]
Fix #30879: uv editor hide did not work with the mesh in vertex/edge select
mode, selection was not flushed down to faces.

7 years agofix [#30839] Blender crashes while open/close a scene and deletes .blend-file
Campbell Barton [Tue, 10 Apr 2012 13:10:44 +0000 (13:10 +0000)]
fix [#30839] Blender crashes while open/close a scene and deletes .blend-file

7 years agofix for too small MATHUTILS_TOT_CB when the game engine runs.
Campbell Barton [Tue, 10 Apr 2012 12:35:15 +0000 (12:35 +0000)]
fix for too small MATHUTILS_TOT_CB when the game engine runs.

7 years agouse space more efficiently for normal mesh panel buttons (icons for face/vert normal)
Campbell Barton [Tue, 10 Apr 2012 11:36:19 +0000 (11:36 +0000)]
use space more efficiently for normal mesh panel buttons (icons for face/vert normal)

7 years agoFix related to #30859: bmesh face splitting would set the first loop of the new
Joseph Eagar [Tue, 10 Apr 2012 11:07:02 +0000 (11:07 +0000)]
Fix related to #30859: bmesh face splitting would set the first loop of the new
faces to a loop quite different than the original first loop. This makes e.g.
duplifaces give rotated results after subdivide or loopcut.

Now it tries to find a first loop that is similar to the old one, to try to keep
the rotations the same.

7 years agoFix #30843: Blender Game in Metric Mode allows only a 10m Radius for Collision Bounds.
Sergey Sharybin [Tue, 10 Apr 2012 10:35:55 +0000 (10:35 +0000)]
Fix #30843: Blender Game in Metric Mode allows only a 10m Radius for Collision Bounds.

Now use soft limit of 0.01 .. 10.0 for radius but hard limit is 0.01 .. FLT_MAX

7 years agoupdate preview.blend so it doesn't need to convert from mfaces to mpolys every load.
Campbell Barton [Tue, 10 Apr 2012 09:22:39 +0000 (09:22 +0000)]
update preview.blend so it doesn't need to convert from mfaces to mpolys every load.

7 years agocode cleanup: replace (val >> 16) with macro RNA_SUBTYPE_UNIT_VALUE(val)
Campbell Barton [Tue, 10 Apr 2012 09:03:45 +0000 (09:03 +0000)]
code cleanup: replace (val >> 16) with macro RNA_SUBTYPE_UNIT_VALUE(val)

7 years agoAddress [#30842] Blenders Measurement Units set to Metric, makes some Precision Flaws.
Campbell Barton [Tue, 10 Apr 2012 08:33:30 +0000 (08:33 +0000)]
Address [#30842] Blenders Measurement Units set to Metric, makes some Precision Flaws.

use the same precision for location all over (2-5 was used), use define as 5.

also disallow boolean to have any subtype besides PROP_LAYER_MEMBER, some booleans had TRANSLATION / XYZ subtypes which don't make sense.

7 years agofix [#30848] Edge Selection fails when the following Conditions met:
Campbell Barton [Tue, 10 Apr 2012 07:30:08 +0000 (07:30 +0000)]
fix [#30848] Edge Selection fails when the following Conditions met:

summery: when both verts are outside the viewport

this is in fact a very old annoyance but good to resolve.
fix by doing segment/rectangle intersection between the edge and the viewport so it works when the both verts are outside the view.

7 years agofix for unit system incorrectly replacint 'um' (unicode 'u'). with meters.
Campbell Barton [Tue, 10 Apr 2012 02:51:24 +0000 (02:51 +0000)]
fix for unit system incorrectly replacint 'um' (unicode 'u'). with meters.

result was editing number buttons with um would give a python error.

7 years agoexpose double limit used by auto-merge, addresses bug [#30884]
Campbell Barton [Tue, 10 Apr 2012 01:45:22 +0000 (01:45 +0000)]
expose double limit used by auto-merge, addresses bug [#30884]

7 years agofix [#30878] Lightmap Pack > New Image does not work
Campbell Barton [Tue, 10 Apr 2012 00:56:38 +0000 (00:56 +0000)]
fix [#30878] Lightmap Pack > New Image does not work

7 years agouv editor: don't draw active face stipple when the face isn't visible (error from...
Campbell Barton [Tue, 10 Apr 2012 00:22:26 +0000 (00:22 +0000)]
uv editor: don't draw active face stipple when the face isn't visible (error from bmesh merge), also replace 'em->bm' with 'bm' var while drawing.

7 years agofix [#30880] Selected to Adjacent Unselected broken
Campbell Barton [Tue, 10 Apr 2012 00:09:54 +0000 (00:09 +0000)]
fix [#30880] Selected to Adjacent Unselected broken

7 years agoFix own mistake with kyrgyz iso code (did not seem to bother blender, though…).
Bastien Montagne [Mon, 9 Apr 2012 19:02:29 +0000 (19:02 +0000)]
Fix own mistake with kyrgyz iso code (did not seem to bother blender, though…).

7 years agoCycles/OpenCL:
Thomas Dinges [Mon, 9 Apr 2012 17:44:33 +0000 (17:44 +0000)]
Cycles/OpenCL:
* Reverted the general activation of __KERNEL_SHADING__.
Better to handle this in the device file. This way each platform gets specifically what it is capable of atm.

* Nvidia has Shading + Multi Closure
* AMD (Apple) has only Clay Render
* AMD (non Apple) has Basic Shading

7 years agoBugfix [#30835]: Cycles doesn't work with AMD Juniper GPU, compiller throws errors...
Daniel Genrich [Mon, 9 Apr 2012 15:31:31 +0000 (15:31 +0000)]
Bugfix [#30835]: Cycles doesn't work with AMD Juniper GPU, compiller throws errors. Thanks for reporting!

Problem: AMD does not like something like this.
float3 *a;
flaot b = a->x;

You need to circumvent this by using:
float3 *a;
float b = (*a).x;

7 years agoFix bug 30866: prevent 2-sided polygons from knife cuts.
Howard Trickey [Mon, 9 Apr 2012 12:50:43 +0000 (12:50 +0000)]
Fix bug 30866: prevent 2-sided polygons from knife cuts.
Blender bmesh code assumes there aren't any of those, so crashed
when trying to delete a vertex involved in one.

7 years agoParticle System UI:
Thomas Dinges [Mon, 9 Apr 2012 11:38:43 +0000 (11:38 +0000)]
Particle System UI:
* Negate label in the Vertex Groups panel was misleading to the string buttons, rather then the check boxes. Fixed it by having 2 columns.
Not ideal still, but better! :)

Issue reported by Tobias Kummer. Thanks!

7 years agoGame Engine:
Thomas Dinges [Mon, 9 Apr 2012 11:03:58 +0000 (11:03 +0000)]
Game Engine:
* Scons compile fix for svn 45479.

7 years agopatch [#30669] Inconsistency of Transform Operator Descriptions
Campbell Barton [Mon, 9 Apr 2012 09:52:12 +0000 (09:52 +0000)]
patch [#30669] Inconsistency of Transform Operator Descriptions
from Harley Acheson (harley)

7 years agoFixes for MovieClip strip user counter.
Sergey Sharybin [Mon, 9 Apr 2012 08:45:51 +0000 (08:45 +0000)]
Fixes for MovieClip strip user counter.
Currently copies behavior of clip and image editors:
- On file load, all strip will reference clip they're using
- On adding new strip, clip would be referenced only if it've got zero user
- On removing strip clip wouldn't be de-referenced to prevent clip editors
  pointing to zero-counted datablocks.
Not actually ideal from human beings point of view, but referencing/dereferencing
clip on each strip add/delete is getting crappy because of current logic of how
clip datablocks are referenced from clip editor (which is designed to work fine with
loading files without loading UI).

7 years agouse 'const float[3]' for derived mesh callback args.
Campbell Barton [Mon, 9 Apr 2012 07:06:06 +0000 (07:06 +0000)]
use 'const float[3]' for derived mesh callback args.

7 years agofix [#30852] Wrong Material ID applied for the new faces
Campbell Barton [Mon, 9 Apr 2012 05:17:07 +0000 (05:17 +0000)]
fix [#30852] Wrong Material ID applied for the new faces

7 years agofix [#30865] Crash when browsing last operators in outliner (or by Python API)
Campbell Barton [Mon, 9 Apr 2012 04:39:47 +0000 (04:39 +0000)]
fix [#30865] Crash when browsing last operators in outliner (or by Python API)

Operator descriptions can be NULL pointers,
fix this by making use of PROP_NEVER_NULL flag, when its not set, generated string funcs will test for NULL.

7 years agoFix bug [#30863] Array Modifier Start and End Cap cause crash when the Cap Object...
Nicholas Bishop [Mon, 9 Apr 2012 02:14:55 +0000 (02:14 +0000)]
Fix bug [#30863] Array Modifier Start and End Cap cause crash when the Cap Object has vertex group

Another crash with array caps, was caused by not making a deep enough
copy of CD field.

Also fixed the type of the 'mask' parameter, was int where it should
be 64-bit.

7 years agobugfix [#30760] edit text property bug
Dalai Felinto [Mon, 9 Apr 2012 01:42:44 +0000 (01:42 +0000)]
bugfix [#30760] edit text property bug
backspace was messing up with utf8 text.
hijacking Blender utf8 functions

tested in CMake but I think scons should work too. No idea about pure 'make'
Happy Easter ;)

7 years agoFixed compile error when building with WITH_LZMA and not WITH_LZO for pointcache...
Francisco De La Cruz [Mon, 9 Apr 2012 01:24:56 +0000 (01:24 +0000)]
Fixed compile error when building with WITH_LZMA and not WITH_LZO for pointcache compression.

7 years agoWarning Fixes - const correctness in unicode encoding, unused variables in blenlib...
Jason Wilkins [Mon, 9 Apr 2012 01:16:19 +0000 (01:16 +0000)]
Warning Fixes - const correctness in unicode encoding, unused variables in blenlib, and some type conversions

This is from a patch that is in the tracker, but it leaves out a fix of BLI_gzopen which needs more work.

7 years agoFix for [#30822] Foam Mapping for Ocean Modifier is out of sync in Blender Internal...
Bastien Montagne [Sun, 8 Apr 2012 19:50:00 +0000 (19:50 +0000)]
Fix for [#30822] Foam Mapping for Ocean Modifier is out of sync in Blender Internal Render.

We need both a new MLOOPUV and MTEXPOLY layers with generated geometry! For some reason, the loopuv alone seemed to work in 3D view, but definitively not in render.

7 years agoTiny fix for console warning, remove period from a description in Cycles.
Nicholas Bishop [Sun, 8 Apr 2012 16:19:13 +0000 (16:19 +0000)]
Tiny fix for console warning, remove period from a description in Cycles.

7 years agocode cleanup: remove unused imports/defines + other redundant code.
Campbell Barton [Sun, 8 Apr 2012 13:11:25 +0000 (13:11 +0000)]
code cleanup: remove unused imports/defines + other redundant code.

7 years agostyle cleanup: pep8 some C/style
Campbell Barton [Sun, 8 Apr 2012 08:09:37 +0000 (08:09 +0000)]
style cleanup: pep8 some C/style

7 years agocode cleanup:
Campbell Barton [Sun, 8 Apr 2012 07:34:09 +0000 (07:34 +0000)]
code cleanup:
- remove unused vars
- no need to hard code version number for collada.
- cleanup some typos in comments.
- movieclip_calc_length was passing arg which should be unsigned to BLI_stringdec()

7 years agoFix [#30853] "Merge At Last" is missing in multicomponent mode
Francisco De La Cruz [Sat, 7 Apr 2012 23:31:15 +0000 (23:31 +0000)]
Fix [#30853] "Merge At Last" is missing in multicomponent mode

Mode selection inverted in multicomponent mode including vertices.

7 years agoFix [#30855] Vertex Slide not using the active vertex
Francisco De La Cruz [Sat, 7 Apr 2012 19:53:39 +0000 (19:53 +0000)]
Fix [#30855] Vertex Slide not using the active vertex

Now uses the last selected vertex.
Also, snapping thresholds are now dynamic and the tool's operation should be more consistent with multiple edges selected on invocation.

7 years ago* Replace some more Blender 2.5x with Blender 2.6x and some code cleanup.
Thomas Dinges [Sat, 7 Apr 2012 18:39:29 +0000 (18:39 +0000)]
* Replace some more Blender 2.5x with Blender 2.6x and some code cleanup.

7 years agoCollada:
Thomas Dinges [Sat, 7 Apr 2012 18:32:53 +0000 (18:32 +0000)]
Collada:
* Save "Blender 2.6x" if built without BUILDINFO.

7 years agoScons:
Thomas Dinges [Sat, 7 Apr 2012 18:26:54 +0000 (18:26 +0000)]
Scons:
* Some code and comment cleanup
* Remove cmake equivalent variable comments
* Remove some non used parameters from config files and btools: WITH_BF_FMOD, BF_VERSION.
* Remove some commented non-used variables

7 years agoDisabling color channels for float images in clip editor now works fine.
Sergey Sharybin [Sat, 7 Apr 2012 16:59:06 +0000 (16:59 +0000)]
Disabling color channels for float images in clip editor now works fine.

7 years agoFixed deadlock on loading file without number group into movie clip editor
Sergey Sharybin [Sat, 7 Apr 2012 16:37:55 +0000 (16:37 +0000)]
Fixed deadlock on loading file without number group into movie clip editor

7 years agofix for passing float to RNA_def_property_ui_range() int argument.
Campbell Barton [Sat, 7 Apr 2012 15:46:26 +0000 (15:46 +0000)]
fix for passing float to RNA_def_property_ui_range() int argument.

7 years agoFix for reconstruction menu which still was using set_floor operator instead of set_plane
Sergey Sharybin [Sat, 7 Apr 2012 15:20:20 +0000 (15:20 +0000)]
Fix for reconstruction menu which still was using set_floor operator instead of set_plane

7 years agoFix [#30851] Mesh Editmode: Specials-menu lost "Subdivide smooth"
Thomas Dinges [Sat, 7 Apr 2012 14:04:52 +0000 (14:04 +0000)]
Fix [#30851] Mesh Editmode: Specials-menu lost "Subdivide smooth"

* Subdivide Smooth was missing in the edit mode specials menu since B-Mesh merge.

7 years agofix for vertex slide not taking object transformation into account.
Campbell Barton [Sat, 7 Apr 2012 13:42:00 +0000 (13:42 +0000)]
fix for vertex slide not taking object transformation into account.

also make the shortcut 'Shift+V'

7 years agocode cleanup: no functional changes
Campbell Barton [Sat, 7 Apr 2012 12:37:15 +0000 (12:37 +0000)]
code cleanup: no functional changes
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead.
- quiet warnings in editmesh_slide.c
- cleanup comments in bmesh and some other minor comment additions.

7 years agoAdded Vertex Slide: Slides a vertex along a selected and connected edge (Shift+Ctrl+V)
Francisco De La Cruz [Sat, 7 Apr 2012 03:15:20 +0000 (03:15 +0000)]
Added Vertex Slide: Slides a vertex along a selected and connected edge (Shift+Ctrl+V)
-
BMop: "vertslide vert=%e edge=%hfev distance_t=%f"

7 years agodont display any file as a preset in the menu (limit to *.py, *.xml)
Campbell Barton [Sat, 7 Apr 2012 02:19:11 +0000 (02:19 +0000)]
dont display any file as a preset in the menu (limit to *.py, *.xml)

backup files like .py~ for eg had their own menu entries which got annoying.

added optional filter_ext function callback argument to Menu.path_menu() to avoid displaying invalid types.

7 years agoTemporary gzopen fix for for Windows
Alexander Kuznetsov [Fri, 6 Apr 2012 21:11:10 +0000 (21:11 +0000)]
Temporary gzopen fix for for Windows
If we open file for write, we create a new file and close it. Therefore we have existing path for GetShortPathName.

Strangely zlib fails on gzclose if file descriptors are used.

7 years agoFix #30798: when linking a datablock, it got simply added to the back of the
Brecht Van Lommel [Fri, 6 Apr 2012 16:19:30 +0000 (16:19 +0000)]
Fix #30798: when linking a datablock, it got simply added to the back of the
list, now the linked datablocks are sorted by name too (but still appear after
the non-linked datablocks).

7 years agoCycles: fix nan's generated by glossy BSDF in some cases.
Brecht Van Lommel [Fri, 6 Apr 2012 16:08:14 +0000 (16:08 +0000)]
Cycles: fix nan's generated by glossy BSDF in some cases.