blender.git
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.

7 years agoSmoke: Use better standards for inflow
Daniel Genrich [Fri, 6 Apr 2012 12:50:46 +0000 (12:50 +0000)]
Smoke: Use better standards for inflow
a) Set particle system for inflow to " show unborn"
b) Set particle system for inflow to lifetime = 1

7 years agobmesh minor change - avoid increasing array sizes one by one and use iterator macros.
Campbell Barton [Fri, 6 Apr 2012 11:50:16 +0000 (11:50 +0000)]
bmesh minor change - avoid increasing array sizes one by one and use iterator macros.

7 years agoAnimation version patching for Absolute Shape Keys ("speed" curve ->
Joshua Leung [Fri, 6 Apr 2012 11:45:45 +0000 (11:45 +0000)]
Animation version patching for Absolute Shape Keys ("speed" curve ->
"eval_time") now works

7 years agoFix [#30832] Weight on Bevel modifier has no effect for edges with weight.
Francisco De La Cruz [Fri, 6 Apr 2012 11:24:42 +0000 (11:24 +0000)]
Fix [#30832] Weight on Bevel modifier has no effect for edges with weight.

Added missing CD_BWEIGHT layer for the modifier's DerivedMesh.

7 years agoWindows x64 / Scons:
Thomas Dinges [Fri, 6 Apr 2012 10:57:22 +0000 (10:57 +0000)]
Windows x64 / Scons:
* Enable WITH_BF_OPENJPEG per default, it was enabled for 32 bit systems, why not on x64?
* This brings back JPEG 2000 support for win x64.

7 years agooption to have inset face select the interior faces (mango request)
Campbell Barton [Fri, 6 Apr 2012 10:33:45 +0000 (10:33 +0000)]
option to have inset face select the interior faces (mango request)

7 years agoGhost:
Thomas Dinges [Fri, 6 Apr 2012 10:24:15 +0000 (10:24 +0000)]
Ghost:
* Typo fix, preventing mingw to compile.
Found by XercesBlue in IRC:

7 years agocode cleanup: add doxygen headers to bmesh operator files, also add own include so...
Campbell Barton [Fri, 6 Apr 2012 09:21:19 +0000 (09:21 +0000)]
code cleanup: add doxygen headers to bmesh operator files, also add own include so definitions dont get out of sync.

7 years agosome pedantic load time speedup by not loading modules (math and subprocess in this...
Campbell Barton [Fri, 6 Apr 2012 08:04:31 +0000 (08:04 +0000)]
some pedantic load time speedup by not loading modules (math and subprocess in this case)

7 years agofix crash with stack memory usage for the knife tool.
Campbell Barton [Fri, 6 Apr 2012 06:17:52 +0000 (06:17 +0000)]
fix crash with stack memory usage for the knife tool.
knife cutting ~25000 faces would crash with 8mb stack set.

fix by removing generic iterators in functions which do recursive calls.

7 years agoremove unused theme color
Campbell Barton [Fri, 6 Apr 2012 05:54:13 +0000 (05:54 +0000)]
remove unused theme color

7 years agoupdate python keywords (remove exec, print, add nonlocal)
Campbell Barton [Fri, 6 Apr 2012 05:53:01 +0000 (05:53 +0000)]
update python keywords (remove exec, print, add nonlocal)

7 years agocode cleanup: header cleanup, remove commented workaround for mingw since its no...
Campbell Barton [Fri, 6 Apr 2012 04:46:47 +0000 (04:46 +0000)]
code cleanup: header cleanup, remove commented workaround for mingw since its no longer needed.

7 years agospherical panoramic fix
Dalai Felinto [Thu, 5 Apr 2012 22:06:45 +0000 (22:06 +0000)]
spherical panoramic fix
note: this was never correct and not a single soul bothered noticing that.
not really a surprise, this mode is more for debug than for anything else.
to test go to (game engine) Render -> Dome Mode -> Spherical Panorama

thanks to Aldo Zang to help me spotting the problem.

7 years agoFix windows compile error in previous commit.
Brecht Van Lommel [Thu, 5 Apr 2012 16:23:47 +0000 (16:23 +0000)]
Fix windows compile error in previous commit.

7 years agoCycles / OpenCL:
Thomas Dinges [Thu, 5 Apr 2012 16:19:51 +0000 (16:19 +0000)]
Cycles / OpenCL:
* Enable __KERNEL_SHADING__ per default for OpenCL.
This enables basic shading (color, emission, textures...) for AMD cards.

You need the latest AMD catalyst driver in order to have this work.

7 years agoCycles: add rejection of inf/nan samples, in principle these should not happen
Brecht Van Lommel [Thu, 5 Apr 2012 15:17:45 +0000 (15:17 +0000)]
Cycles: add rejection of inf/nan samples, in principle these should not happen
but this makes it more reliable for now.

Also add an integrator "Clamp" option, to clamp very light samples to a maximum
value. This will reduce accuracy but may help reducing noise and speed up
convergence.

7 years agoDO not store Flipped flag for pose paste operator in operator redo storage,
Sergey Sharybin [Thu, 5 Apr 2012 15:05:49 +0000 (15:05 +0000)]
DO not store Flipped flag for pose paste operator in operator redo storage,
so mixing pasteing flipped and non-flipped will work properly.

7 years agoFix #30804: nodetree.links.new() incorrectly disconnected or allowed to connect
Brecht Van Lommel [Thu, 5 Apr 2012 14:17:42 +0000 (14:17 +0000)]
Fix #30804: nodetree.links.new() incorrectly disconnected or allowed to connect
multiple links to a socket when the arguments were passed in order:
(input socket, output socket) instead of (output socket, input socket)

7 years agoFix for setting active UV, vertex colors and probably shape keys from python API.
Sergey Sharybin [Thu, 5 Apr 2012 13:01:41 +0000 (13:01 +0000)]
Fix for setting active UV, vertex colors and probably shape keys from python API.

It was an error how index of requested layer was searching: iterating used to start
from the beginning of data layers datablock, not from index at which requested
layer type actually begins.

7 years agofix for memory leak when using the bmesh python api - would allocate customdata layer...
Campbell Barton [Thu, 5 Apr 2012 12:51:17 +0000 (12:51 +0000)]
fix for memory leak when using the bmesh python api - would allocate customdata layers and overwrite them when converting a mesh to a bmesh (without freeing).

7 years agoMore i18n minor fixes:
Bastien Montagne [Thu, 5 Apr 2012 12:32:49 +0000 (12:32 +0000)]
More i18n minor fixes:
*Moved portuguese to its right place (alphabetical order).
*Commented out (in menu) four languages for which we have no translation at all yet: Dutch, Korean, Romanian and Ukrainian (easy to bring them back as soon as we have some translation!).

7 years agoUI files:
Thomas Dinges [Thu, 5 Apr 2012 09:52:03 +0000 (09:52 +0000)]
UI files:
* Naming convention fixes and one if / elif fix.

7 years agoupdated man page
Campbell Barton [Thu, 5 Apr 2012 09:41:55 +0000 (09:41 +0000)]
updated man page

7 years agoReadme and Release Log Links:
Thomas Dinges [Thu, 5 Apr 2012 09:27:53 +0000 (09:27 +0000)]
Readme and Release Log Links:
* Update to 2.63
* Update readme with proper links to 2.6 Manual, remove Solaris OS (no official builds from our side).

7 years agoAdding turkish (tr_TR) language.
Bastien Montagne [Thu, 5 Apr 2012 09:13:32 +0000 (09:13 +0000)]
Adding turkish (tr_TR) language.

7 years agopatch [#30812] Couple operator tooltip proposals (editmesh_tools.c)
Campbell Barton [Thu, 5 Apr 2012 07:05:44 +0000 (07:05 +0000)]
patch [#30812] Couple operator tooltip proposals (editmesh_tools.c)
from Sebastian Nell (codemanx), with some edits.

7 years agoSmall improvement to bmo icosphere primitive: instead of calling n times the subdivid...
Bastien Montagne [Thu, 5 Apr 2012 06:47:14 +0000 (06:47 +0000)]
Small improvement to bmo icosphere primitive: instead of calling n times the subdivide bmo with one cut, call it once, with the right number of cuts (which is (2^(n-1)) - 1).

7 years agofix [#30806] Mirror Hair Particles Bug, Complete Crash
Campbell Barton [Thu, 5 Apr 2012 06:26:18 +0000 (06:26 +0000)]
fix [#30806] Mirror Hair Particles Bug, Complete Crash

7 years agothere was no way to reset timing for absolute shape keys, add an operator to do so.
Campbell Barton [Thu, 5 Apr 2012 06:10:15 +0000 (06:10 +0000)]
there was no way to reset timing for absolute shape keys, add an operator to do so.

7 years agoadding shape key blocks to absolute shape keys would not set the position (which...
Campbell Barton [Thu, 5 Apr 2012 05:51:26 +0000 (05:51 +0000)]
adding shape key blocks to absolute shape keys would not set the position (which is odd since its the only time they are used).

also re-sort the shape keys after adding them in for absolute keyblocks.

7 years agofix for error moving absolute shape keys up/down (their position would become out...
Campbell Barton [Thu, 5 Apr 2012 05:38:52 +0000 (05:38 +0000)]
fix for error moving absolute shape keys up/down (their position would become out of order)

7 years ago- fix error with conflusing key/keyblock in the shape template UI - absolute keyblock...
Campbell Barton [Thu, 5 Apr 2012 05:25:20 +0000 (05:25 +0000)]
- fix error with conflusing key/keyblock in the shape template UI - absolute keyblocks would always be greyed out.
- fix mistake setting wrong variable in unlikely case of curve having no bezier or point array set.

7 years agoreport [#30814] Absolute Shape Keys not working in 2.6
Campbell Barton [Thu, 5 Apr 2012 05:05:18 +0000 (05:05 +0000)]
report [#30814] Absolute Shape Keys not working in 2.6

This report points out thet absolute shape keys are unusable.

The problem is there was no way to adjust the play time of a shape key (all absolte shape keys would start at frame zero with no way to change the speed).

Added an 'eval_time' property to the key block that works like the curve path evaluation time, so the time in the keyblock can be controlled.

7 years agoThis fixes BGE bugs #30484 (Frame rate increases very high after game engine start...
Mitchell Stokes [Thu, 5 Apr 2012 03:05:02 +0000 (03:05 +0000)]
This fixes BGE bugs #30484 (Frame rate increases very high after game engine start with record animation enabled) and #29449 (Record Animation runs 1000+ fps on Mac OSX 10.6.8 64bit). The problem was, recording animation was forcing "fixed time", which always advances the engine one frame instead of advancing based on time passed. This means that "fixed time" runs at full speed. Now fixed time is disabled when recording animation.

7 years agofix [#30788] Weight paint mode draws mask single sided only when selected.
Campbell Barton [Thu, 5 Apr 2012 02:23:00 +0000 (02:23 +0000)]
fix [#30788] Weight paint mode draws mask single sided only when selected.

error with recent refactoring.

7 years agofix [#30817] Toolshelf delete vs X menu don't match? Bug/Inconsistancy?
Campbell Barton [Thu, 5 Apr 2012 01:55:49 +0000 (01:55 +0000)]
fix [#30817] Toolshelf delete vs X menu don't match? Bug/Inconsistancy?

7 years agopartial fix [#30813] Small UI glitch with high DPI value in menus
Campbell Barton [Thu, 5 Apr 2012 01:49:28 +0000 (01:49 +0000)]
partial fix [#30813] Small UI glitch with high DPI value in menus

fix provided by Julien Enche (trap).

also corrected some 2.4x theme colors (selected file, outliner and image background)

7 years agoadjust limited dissolve to take face angle into account when dissolving vertices...
Campbell Barton [Thu, 5 Apr 2012 01:20:32 +0000 (01:20 +0000)]
adjust limited dissolve to take face angle into account when dissolving vertices between manifold edges.

stops artifact with zig-zag patterns between _almost_ planer faces.

7 years agoYet another windef.h compile fix for MinGW for game engine/video textures with ffmpeg...
Antony Riakiotakis [Wed, 4 Apr 2012 17:18:01 +0000 (17:18 +0000)]
Yet another windef.h compile fix for MinGW for game engine/video textures with ffmpeg. Looks like there is some redefinition of LONG , DWORD etc. Changing the order of inclusion resolves the issue.

7 years agoFix bug [#30810] Blender crashes with Array modifier
Nicholas Bishop [Wed, 4 Apr 2012 16:35:13 +0000 (16:35 +0000)]
Fix bug [#30810] Blender crashes with Array modifier

When merging bmesh customdata, memset the new blocks to
zero. Otherwise can contain junk values (some layer types with
pointers like MDeformVert can then crash.)

7 years agoFix #30710: cycles wrong render time after pause/unpause in viewport.
Brecht Van Lommel [Wed, 4 Apr 2012 16:11:44 +0000 (16:11 +0000)]
Fix #30710: cycles wrong render time after pause/unpause in viewport.

7 years agoFix #30803: shader node Mapping location property conflicted with based class
Brecht Van Lommel [Wed, 4 Apr 2012 16:11:39 +0000 (16:11 +0000)]
Fix #30803: shader node Mapping location property conflicted with based class
location property (for the node editor), now renamed to "translation".

7 years agoFix #30811: glsl error in material draw mode, due to recent commit.
Brecht Van Lommel [Wed, 4 Apr 2012 16:11:10 +0000 (16:11 +0000)]
Fix #30811: glsl error in material draw mode, due to recent commit.

7 years agoVector blur compo node: raising hard limit for Blur factor to 20 (soft, UI limit...
Bastien Montagne [Wed, 4 Apr 2012 15:43:39 +0000 (15:43 +0000)]
Vector blur compo node: raising hard limit for Blur factor to 20 (soft, UI limit remains at 2), usefull in some "special effects" case, though results can become strange in some cases...

7 years agoUpdate to i18n font: a few small cyrillic letters were missing...
Bastien Montagne [Wed, 4 Apr 2012 15:39:48 +0000 (15:39 +0000)]
Update to i18n font: a few small cyrillic letters were missing...

Found by Chingis Jumaliev, which did a first edit, I completed it from current Debian’s droidsans version, now cyrillic should be complete.

7 years agofix [#30809] Limited dissolve leaves edges behind
Campbell Barton [Wed, 4 Apr 2012 15:10:20 +0000 (15:10 +0000)]
fix [#30809] Limited dissolve leaves edges behind

7 years agoadd option not to delete edges/verts when joining faces, needed so we can loop over...
Campbell Barton [Wed, 4 Apr 2012 14:48:10 +0000 (14:48 +0000)]
add option not to delete edges/verts when joining faces, needed so we can loop over edges and join them without having to check if they have been removed.

7 years agoreplace relative imports with absolute imports so scritps can be executed directly...
Campbell Barton [Wed, 4 Apr 2012 14:39:52 +0000 (14:39 +0000)]
replace relative imports with absolute imports so scritps can be executed directly (live editing).

7 years agoFix blenderplayer compile.
Miika Hamalainen [Wed, 4 Apr 2012 10:55:55 +0000 (10:55 +0000)]
Fix blenderplayer compile.