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

8 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.

8 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 ;)

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

8 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()

8 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.

8 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.

8 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.

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

8 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

8 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.

8 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

8 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.

8 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

8 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.

8 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'

8 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.

8 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"

8 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.

8 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.

8 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).

8 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.

8 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

8 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.

8 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

8 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.

8 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.

8 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)

8 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:

8 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.

8 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)

8 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.

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

8 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)

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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)

8 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.

8 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).

8 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!).

8 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.

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

8 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).

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

8 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.

8 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).

8 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

8 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.

8 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.

8 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)

8 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.

8 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.

8 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.

8 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.

8 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?

8 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)

8 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.

8 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.

8 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.)

8 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.

8 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".

8 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.

8 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...

8 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.

8 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

8 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.

8 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).

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

8 years agofix for building on linux with gcc4.7, an error was caused by undefining __cplusplus...
Campbell Barton [Wed, 4 Apr 2012 10:54:56 +0000 (10:54 +0000)]
fix for building on linux with gcc4.7, an error was caused by undefining __cplusplus, so as to work with mingw4.4

this was added in r23608 so hopefully we can get buy now without it - or only undefine this in mingw if the problem still exists (cant test now).

8 years agouse 2.4x tooltip colors
Campbell Barton [Wed, 4 Apr 2012 06:02:10 +0000 (06:02 +0000)]
use 2.4x tooltip colors

8 years agoupdate themes for new settings + theme update script.
Campbell Barton [Wed, 4 Apr 2012 05:42:36 +0000 (05:42 +0000)]
update themes for new settings + theme update script.

8 years agoswitching shape keys in editmode needs to recalc normals.
Campbell Barton [Wed, 4 Apr 2012 03:32:41 +0000 (03:32 +0000)]
switching shape keys in editmode needs to recalc normals.

8 years agoChanged BM_mesh_bm_from_me to copy customdata layout for empty meshes.
Joseph Eagar [Wed, 4 Apr 2012 01:35:27 +0000 (01:35 +0000)]
Changed BM_mesh_bm_from_me to copy customdata layout for empty meshes.

8 years agouse 'const float' when passing readonly colors, and include array size.
Campbell Barton [Wed, 4 Apr 2012 01:02:15 +0000 (01:02 +0000)]
use 'const float' when passing readonly colors, and include array size.

8 years agofix [#30797] Shape keys on linked duplicate get corrupted
Campbell Barton [Wed, 4 Apr 2012 00:45:40 +0000 (00:45 +0000)]
fix [#30797] Shape keys on linked duplicate get corrupted

8 years agofix for reconstructing shape keys (found when looking into bug [#30797], but not...
Campbell Barton [Wed, 4 Apr 2012 00:02:48 +0000 (00:02 +0000)]
fix for reconstructing shape keys (found when looking into bug [#30797], but not a fix for this bug).

8 years agorename MPoly vars called mface or mf, to avoid confusion with MFace types.
Campbell Barton [Tue, 3 Apr 2012 23:40:24 +0000 (23:40 +0000)]
rename MPoly vars called mface or mf, to avoid confusion with MFace types.

8 years agoFix #30796: uv vertex coordinates panel in uv editor incorrectly taking into
Brecht Van Lommel [Tue, 3 Apr 2012 19:08:06 +0000 (19:08 +0000)]
Fix #30796: uv vertex coordinates panel in uv editor incorrectly taking into
account selected uvs from hidden faces.

8 years agoFix bug #30778, sculpt w/ modifiers + undo causes collapse of vertices
Nicholas Bishop [Tue, 3 Apr 2012 18:41:40 +0000 (18:41 +0000)]
Fix bug #30778, sculpt w/ modifiers + undo causes collapse of vertices

Was caused by earlier refactoring of undo, used index array
before it gets initialized. Fixed by swapping order of copying.

Also changed normals calculation on undo restore to operate on
tessellated data (which sculpt still uses), fixes console warning
print.

8 years agoFix #30795: draw other objects in uv editor not working.
Brecht Van Lommel [Tue, 3 Apr 2012 17:26:57 +0000 (17:26 +0000)]
Fix #30795: draw other objects in uv editor not working.

8 years agoFix [#30665] UV-Editor: UV -> Copy Mirrored UV coords: mesh.faces_mirror_uv op now...
Bastien Montagne [Tue, 3 Apr 2012 17:19:58 +0000 (17:19 +0000)]
Fix [#30665] UV-Editor: UV -> Copy Mirrored UV coords: mesh.faces_mirror_uv op now uses poly/loops (bmesh todo).

8 years agoFix #30791: BMEdge.is_manifold also returned true for edges with only one face
Brecht Van Lommel [Tue, 3 Apr 2012 17:09:47 +0000 (17:09 +0000)]
Fix #30791: BMEdge.is_manifold also returned true for edges with only one face
attached to it. A manifold edge should have exactly 2 faces attached to it,
sticking to the standard definition for "manifold".

8 years agoPopup menu layout inherits context store from button.
Lukas Toenne [Tue, 3 Apr 2012 15:18:59 +0000 (15:18 +0000)]
Popup menu layout inherits context store from button.

When adding extra context data in a layout using uiLayoutSetContextPointer, this info was not inherited by popup menus generated in this layout. While operators from regular buttons work fine, the data is missing in operators from menus and such. This patch copies the bContextStore from buttons to the new uiLayout used for popups.

8 years agoFix #30789: cycles still taking into account textured solid option when it should
Brecht Van Lommel [Tue, 3 Apr 2012 14:08:04 +0000 (14:08 +0000)]
Fix #30789: cycles still taking into account textured solid option when it should
have no effect.

8 years agoFix #28279: Shift S used twice in maya keyconfig
Sergey Sharybin [Tue, 3 Apr 2012 13:35:00 +0000 (13:35 +0000)]
Fix #28279: Shift S used twice in maya keyconfig

It looks to be non-maintained keymap anymore, this commit only resolves
keymap conflict changing snap menu to ctrl-shift-s, no more global
changes to not break muscule memory so close to release.

8 years agofix [#30340] bpy.ops.pose.select_hierarchy() doesn't work on disconnected parents...
Campbell Barton [Tue, 3 Apr 2012 12:20:44 +0000 (12:20 +0000)]
fix [#30340] bpy.ops.pose.select_hierarchy() doesn't work on disconnected parents/children

8 years agoavoid confusion with image 'Edit Externally' operator, disallow editing of packed...
Campbell Barton [Tue, 3 Apr 2012 12:02:32 +0000 (12:02 +0000)]
avoid confusion with image 'Edit Externally' operator, disallow editing of packed images, resolves bug [#30506].

8 years agoMake sure Multilayer EXR from other apps are read in as multilayer.
Nathan Letwory [Tue, 3 Apr 2012 11:53:38 +0000 (11:53 +0000)]
Make sure Multilayer EXR from other apps are read in as multilayer.

8 years agofix [#30608] Regression: BMesh merge broke customdata int/float/string layers
Campbell Barton [Tue, 3 Apr 2012 11:19:58 +0000 (11:19 +0000)]
fix [#30608] Regression: BMesh merge broke customdata int/float/string layers

8 years agorna/py api - rename layers with polygon prefix, since there are edge and vertex layer...
Campbell Barton [Tue, 3 Apr 2012 11:10:26 +0000 (11:10 +0000)]
rna/py api - rename layers with polygon prefix, since there are edge and vertex layers too.

8 years agoFixed mistake made in threaded EXR commit.
Sergey Sharybin [Tue, 3 Apr 2012 09:11:26 +0000 (09:11 +0000)]
Fixed mistake made in threaded EXR commit.