blender.git
7 years agoAdd GHASH_ITER macro
Nicholas Bishop [Sun, 29 Apr 2012 16:09:28 +0000 (16:09 +0000)]
Add GHASH_ITER macro

7 years agostyle cleanup: whitespace / commas
Campbell Barton [Sun, 29 Apr 2012 15:47:02 +0000 (15:47 +0000)]
style cleanup: whitespace / commas

7 years agoBugfix [#28826] Show Hidden button in Dopesheet and Graph Editor doesn't quite
Joshua Leung [Sun, 29 Apr 2012 15:05:19 +0000 (15:05 +0000)]
Bugfix [#28826] Show Hidden button in Dopesheet and Graph Editor doesn't quite
work

Show Hidden was handled by the same filtering function as Only Selected, but the
filters were being tested incorrectly (or to be precise, only Only Selected was
being considered).

This meant that it was only possible to show F-Curves belonging to hidden data
if that data happened to be selected first.

7 years agoCycles: missed merging this file from tomato branch, for normal output in node.
Brecht Van Lommel [Sun, 29 Apr 2012 14:23:50 +0000 (14:23 +0000)]
Cycles: missed merging this file from tomato branch, for normal output in node.

7 years agoBugfix [#31128] Vertex Slide can't be aborted with ESC key
Joshua Leung [Sun, 29 Apr 2012 13:58:43 +0000 (13:58 +0000)]
Bugfix [#31128] Vertex Slide can't be aborted with ESC key

7 years agoRemove variables tagged as unused. Easier to synchronize with current patches and...
Sergey Sharybin [Sun, 29 Apr 2012 13:45:31 +0000 (13:45 +0000)]
Remove variables tagged as unused. Easier to synchronize with current patches and makes
patches easier to read when variables are creating or e-using, but not un-commenting.

7 years agoBugfix [#31029] Select all in view3D don't update the graph editor immediately
Joshua Leung [Sun, 29 Apr 2012 13:24:10 +0000 (13:24 +0000)]
Bugfix [#31029] Select all in view3D don't update the graph editor immediately

One-liner fix. The code was assuming that editor.refresh() would do a
editor.redraw() too (like for Dopesheet), but that wasn't the case.

7 years agoCode cleanups - whitespace
Joshua Leung [Sun, 29 Apr 2012 13:20:28 +0000 (13:20 +0000)]
Code cleanups - whitespace

7 years agoquiet unused warnings
Campbell Barton [Sun, 29 Apr 2012 13:19:22 +0000 (13:19 +0000)]
quiet unused warnings

7 years agoPose armature cleanup: remove old commented code replaced by use of new generic pchan...
Bastien Montagne [Sun, 29 Apr 2012 13:18:59 +0000 (13:18 +0000)]
Pose armature cleanup: remove old commented code replaced by use of new generic pchan_to_pose_mat().

After two months, think we can get rid of it, it’s in svn anyway if we ever need it!

7 years agomingw32 compiles again
Joshua Leung [Sun, 29 Apr 2012 13:00:00 +0000 (13:00 +0000)]
mingw32 compiles again

"__force_inline" keyword used in Cycles header is not defined

7 years agowireframe option to crase edges at the hub, much nicer subsurf
Campbell Barton [Sun, 29 Apr 2012 12:33:56 +0000 (12:33 +0000)]
wireframe option to crase edges at the hub, much nicer subsurf

7 years agoCamera tracking: backport refactoring made in local branches with masking and dopeshe...
Sergey Sharybin [Sun, 29 Apr 2012 12:32:26 +0000 (12:32 +0000)]
Camera tracking: backport refactoring made in local branches with masking and dopesheet view into trunk

Mostly related on changes in poll functions for tracking operators and some changes
to how interface is initializing for different view types.

7 years agoFix Cycles to compile again on AMD OpenCL devices.
Daniel Genrich [Sun, 29 Apr 2012 12:20:06 +0000 (12:20 +0000)]
Fix Cycles to compile again on AMD OpenCL devices.

7 years agobmesh: new wireframe tool
Campbell Barton [Sun, 29 Apr 2012 10:44:00 +0000 (10:44 +0000)]
bmesh: new wireframe tool

- makes wireframe from faces.
- options similar to inset (even offset, relative scale)
- copies face settings and loops (uvs, vcolors)
- optionally replaces the existing geometry.

7 years ago- Tag unused variables
Sergey Sharybin [Sun, 29 Apr 2012 09:34:51 +0000 (09:34 +0000)]
- Tag unused variables
- Use (void) instead () for function declarations without arguments

7 years agocompile fixes:
Nathan Letwory [Sun, 29 Apr 2012 00:44:49 +0000 (00:44 +0000)]
compile fixes:

* near and far var names confused mingw64, renamed
* mingw defines a macro named DrawText, confusing the DrawText function usage from KX_FontObject.

7 years agoAlso updating CMakeLists.txt.
Joerg Mueller [Sat, 28 Apr 2012 23:40:38 +0000 (23:40 +0000)]
Also updating CMakeLists.txt.

7 years agofix pthread path for windows builds
Nathan Letwory [Sat, 28 Apr 2012 23:15:34 +0000 (23:15 +0000)]
fix pthread path for windows builds

7 years agoFix for windows compile.
Joerg Mueller [Sat, 28 Apr 2012 22:59:55 +0000 (22:59 +0000)]
Fix for windows compile.

7 years agoSmoke: Support for moving obstacles. (Merge from Smoke2 branch)
Daniel Genrich [Sat, 28 Apr 2012 21:46:43 +0000 (21:46 +0000)]
Smoke: Support for moving obstacles. (Merge from Smoke2 branch)

Sponsored by the Blender Development Fund.
http://www.blender.org/blenderorg/blender-foundation/development-fund/

Remarks:
The original code was not designed to support moving obstacles so I had to introduce some velocity constraints into the code to prevent smoke from exploding. If this causes problems with "fire" emulation, please let me know.

7 years agobmesh api functions, not used yet:
Campbell Barton [Sat, 28 Apr 2012 18:39:37 +0000 (18:39 +0000)]
bmesh api functions, not used yet:
  BM_iter_elem_count_flag()
  BM_iter_mesh_count_flag()

7 years agoUser Preferences/ Themes
Thomas Dinges [Sat, 28 Apr 2012 17:16:38 +0000 (17:16 +0000)]
User Preferences/ Themes
* Tooltip section was there twice (User Interface category)
Issue introduced in r45092!

7 years agoCode and style cleanup in own modules in BKE and also mball module
Sergey Sharybin [Sat, 28 Apr 2012 16:49:00 +0000 (16:49 +0000)]
Code and style cleanup in own modules in BKE and also mball module

- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks)
- Make functions which are used by mball.c only static and remove their prototypes
  from public header file.

Further cleanup is coming.

7 years agostyle cleanup: editors / mesh & object
Campbell Barton [Sat, 28 Apr 2012 15:42:27 +0000 (15:42 +0000)]
style cleanup: editors / mesh & object

7 years agostyle cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_a...
Campbell Barton [Sat, 28 Apr 2012 15:14:16 +0000 (15:14 +0000)]
style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros.

7 years agoCorrection to recent commmit related on splitting audio channels: descriptions should...
Sergey Sharybin [Sat, 28 Apr 2012 15:05:35 +0000 (15:05 +0000)]
Correction to recent commmit related on splitting audio channels: descriptions shouldn't end with dot.

7 years agoCamera tracking: support of tripod motion solving
Sergey Sharybin [Sat, 28 Apr 2012 14:54:45 +0000 (14:54 +0000)]
Camera tracking: support of tripod motion solving

Expose option into interface to use modal solver which currently
supports only tripod motion.

This solver requires two tracks at least to reconstruct motion.
Using more tracks aren't improving solution in general, just adds
instability into solution and slows down things a lot.

Refirement of camera intrinsics was disabled due to it's not only
refines camera intrinsics but also adjusts camera position which
isn't necessary here

To use this solver just activate "Tripod Motion" checkbox in
solver panel.

Merged from tomato: svn merge ^/branches/soc-2011-tomato -r45622:45624 -r46036:46037

P.S. Quite experimental yet, requires more checking and probably
tweaks to prevent camera jumps when tracks apperars/disappears
from the screen.

7 years agoHopefully a fix for [#31097] glibc error when playing sound using BGE
Joerg Mueller [Sat, 28 Apr 2012 13:37:44 +0000 (13:37 +0000)]
Hopefully a fix for [#31097] glibc error when playing sound using BGE

7 years agoAudio:
Joerg Mueller [Sat, 28 Apr 2012 13:16:29 +0000 (13:16 +0000)]
Audio:

* Fix for [#31099] Audio in Meta-Strips Plays Beyond Strip Cut
* Adding a split files option to the mixdown operator which then renders each channel into a separate file

7 years agocode cleanup: remove editmesh code left hanging around thats already been ported...
Campbell Barton [Sat, 28 Apr 2012 12:23:05 +0000 (12:23 +0000)]
code cleanup: remove editmesh code left hanging around thats already been ported to bmesh, also remove main editmesh header.

7 years agopatch [#31104] Correct comment for mul_qt_v3
Campbell Barton [Sat, 28 Apr 2012 11:45:28 +0000 (11:45 +0000)]
patch [#31104] Correct comment for mul_qt_v3
from Bill Currie (taniwha)

7 years agocode cleanup: replace some long ELEM7 checks with macro OB_TYPE_SUPPORT_EDITMODE()
Campbell Barton [Sat, 28 Apr 2012 10:33:32 +0000 (10:33 +0000)]
code cleanup: replace some long ELEM7 checks with macro OB_TYPE_SUPPORT_EDITMODE()

7 years agoCamera tracking: if there's no image for current frame display default grid
Sergey Sharybin [Sat, 28 Apr 2012 10:09:58 +0000 (10:09 +0000)]
Camera tracking: if there's no image for current frame display default grid
and allow to interact with tracks for operators which doesn't require image.

Merged from tomato branch: svn merge ^/branches/soc-2011-tomato -r45624:45625

7 years agoFix #31117: Segfault when removing Meshdeform Modifier
Sergey Sharybin [Sat, 28 Apr 2012 09:32:55 +0000 (09:32 +0000)]
Fix #31117: Segfault when removing Meshdeform Modifier

7 years agoFix: #31095: Incorrect clamping of labels for multibyte languages
Sergey Sharybin [Sat, 28 Apr 2012 09:21:16 +0000 (09:21 +0000)]
Fix: #31095: Incorrect clamping of labels for multibyte languages

7 years agoCycles: fix for CUDA build.
Brecht Van Lommel [Sat, 28 Apr 2012 09:10:20 +0000 (09:10 +0000)]
Cycles: fix for CUDA build.

7 years agoPoint Cache: allow baking external smoke caches. This needs to be cleaned up
Brecht Van Lommel [Sat, 28 Apr 2012 09:00:11 +0000 (09:00 +0000)]
Point Cache: allow baking external smoke caches. This needs to be cleaned up
a bit, I couldn't fully understand how the External setting is supposed to
work to make further changes, but this should make it work at least.

7 years agoAddons: "persistent" parameter for addon_utils.enable(), so that you can enable
Brecht Van Lommel [Sat, 28 Apr 2012 09:00:09 +0000 (09:00 +0000)]
Addons: "persistent" parameter for addon_utils.enable(), so that you can enable
addons from a startup script and keep them enabled after loading .blend files.

7 years agoCycles: merging features from tomato branch.
Brecht Van Lommel [Sat, 28 Apr 2012 08:53:59 +0000 (08:53 +0000)]
Cycles: merging features from tomato branch.

=== BVH build time optimizations ===

* BVH building was multithreaded. Not all building is multithreaded, packing
  and the initial bounding/splitting is still single threaded, but recursive
  splitting is, which was the main bottleneck.

* Object splitting now uses binning rather than sorting of all elements, using
  code from the Embree raytracer from Intel.
  http://software.intel.com/en-us/articles/embree-photo-realistic-ray-tracing-kernels/

* Other small changes to avoid allocations, pack memory more tightly, avoid
  some unnecessary operations, ...

These optimizations do not work yet when Spatial Splits are enabled, for that
more work is needed. There's also other optimizations still needed, in
particular for the case of many low poly objects, the packing step and node
memory allocation.

BVH raytracing time should remain about the same, but BVH build time should be
significantly reduced, test here show speedup of about 5x to 10x on a dual core
and 5x to 25x on an 8-core machine, depending on the scene.

=== Threads ===

Centralized task scheduler for multithreading, which is basically the
CPU device threading code wrapped into something reusable.

Basic idea is that there is a single TaskScheduler that keeps a pool of threads,
one for each core. Other places in the code can then create a TaskPool that they
can drop Tasks in to be executed by the scheduler, and wait for them to complete
or cancel them early.

=== Normal ====

Added a Normal output to the texture coordinate node. This currently
gives the object space normal, which is the same under object animation.

In the future this might become a "generated" normal so it's also stable for
deforming objects, but for now it's already useful for non-deforming objects.

=== Render Layers ===

Per render layer Samples control, leaving it to 0 will use the common scene
setting.

Environment pass will now render environment even if film is set to transparent.

Exclude Layers" added. Scene layers (all object that influence the render,
directly or indirectly) are shared between all render layers. However sometimes
it's useful to leave out some object influence for a particular render layer.
That's what this option allows you to do.

=== Filter Glossy ===

When using a value higher than 0.0, this will blur glossy reflections after
blurry bounces, to reduce noise at the cost of accuracy. 1.0 is a good
starting value to tweak.

Some light paths have a low probability of being found while contributing much
light to the pixel. As a result these light paths will be found in some pixels
and not in others, causing fireflies. An example of such a difficult path might
be a small light that is causing a small specular highlight on a sharp glossy
material, which we are seeing through a rough glossy material. With path tracing
it is difficult to find the specular highlight, but if we increase the roughness
on the material the highlight gets bigger and softer, and so easier to find.

Often this blurring will be hardly noticeable, because we are seeing it through
a blurry material anyway, but there are also cases where this will lead to a
loss of detail in lighting.

7 years agobump commit count, mingw32 -> mingw64
Nathan Letwory [Sat, 28 Apr 2012 08:47:37 +0000 (08:47 +0000)]
bump commit count, mingw32 -> mingw64

7 years agoAdd MingW as "platform"
Nathan Letwory [Sat, 28 Apr 2012 08:45:55 +0000 (08:45 +0000)]
Add MingW as "platform"

7 years agoStyle cleanup in own compositor nodes
Sergey Sharybin [Sat, 28 Apr 2012 08:43:24 +0000 (08:43 +0000)]
Style cleanup in own compositor nodes

7 years ago* UI fix for last commit, forgot to remove the plugin text strings.
Thomas Dinges [Sat, 28 Apr 2012 08:32:00 +0000 (08:32 +0000)]
* UI fix for last commit, forgot to remove the plugin text strings.

7 years agocode cleanup:
Campbell Barton [Sat, 28 Apr 2012 08:29:20 +0000 (08:29 +0000)]
code cleanup:
- replace inline face UV center calc.
- use const float[3] for mesh and uv functions.
- remove unused define

7 years agoPlugin system:
Thomas Dinges [Sat, 28 Apr 2012 08:27:09 +0000 (08:27 +0000)]
Plugin system:
* Remove RNA, Operator and UI for Texture and Sequence plugins.
Since 2.5x no effort has been done to bring that back, so there is simply no reason in keeping that code and the UI for that ;-)
* Low Level code still exists and is unchanged.

7 years agofix memory leak in BM_face_copy()
Campbell Barton [Sat, 28 Apr 2012 07:43:21 +0000 (07:43 +0000)]
fix memory leak in BM_face_copy()

note that this doesnt run when duplicating faces normally, only way to cause this bug I could find was to knife cut a 33+ sided ngon with multi-res applied.

also small improvement not to grow the array but allocate at once if needed.

7 years agofix for incorrect selection check in opencollada integration.
Campbell Barton [Sat, 28 Apr 2012 07:02:44 +0000 (07:02 +0000)]
fix for incorrect selection check in opencollada integration.

7 years agofix for crash when multires subdividing a mesh with no faces (new bug in bmesh grr!)
Campbell Barton [Sat, 28 Apr 2012 07:00:53 +0000 (07:00 +0000)]
fix for crash when multires subdividing a mesh with no faces (new bug in bmesh grr!)

7 years agoRelease Cycles for 2.64 begins.
Thomas Dinges [Sat, 28 Apr 2012 06:40:12 +0000 (06:40 +0000)]
Release Cycles for 2.64 begins.
* BCon1: Alpha.

7 years agostyle cleanup: changes to brace placement / newlines - for/while/if/switch
Campbell Barton [Sat, 28 Apr 2012 06:31:57 +0000 (06:31 +0000)]
style cleanup: changes to brace placement / newlines - for/while/if/switch

7 years agoSame mingw fix as for compile
Nathan Letwory [Sat, 28 Apr 2012 06:28:07 +0000 (06:28 +0000)]
Same mingw fix as for compile

7 years agoadd back lasso tool in the UV editor (Ctrl+LMB / Ctrl+Shift+LMB)
Campbell Barton [Sat, 28 Apr 2012 01:59:21 +0000 (01:59 +0000)]
add back lasso tool in the UV editor (Ctrl+LMB / Ctrl+Shift+LMB)

7 years agoChanges to get mingw buildslaves going.
Nathan Letwory [Fri, 27 Apr 2012 13:18:55 +0000 (13:18 +0000)]
Changes to get mingw buildslaves going.

7 years agofix for select flushing in UV-sync-selection mode (regression from 2.62), both border...
Campbell Barton [Fri, 27 Apr 2012 12:44:32 +0000 (12:44 +0000)]
fix for select flushing in UV-sync-selection mode (regression from 2.62), both border select and circle select failed in edge and vertex mode (though de-selecting worked ok).

7 years agoPatch by Jose Geraldo Brito
Jens Ole Wund [Fri, 27 Apr 2012 11:49:09 +0000 (11:49 +0000)]
Patch by Jose Geraldo Brito
Tracker 31061
It cures the stiff quad option and does not seem to harm.
Nowever the stiff quads behave strange in a ngom mesh.
I can imagine that other parts in the sofybody module may be broken by the ngon structure. Well ngons and softbodies are not relly friends:
negon wants less edges softbodies would work better if more structural edges were possible

7 years agofix for modal timer template, wasnt updated for changes to themes.
Campbell Barton [Fri, 27 Apr 2012 10:00:21 +0000 (10:00 +0000)]
fix for modal timer template, wasnt updated for changes to themes.

7 years agocode cleanup:
Campbell Barton [Fri, 27 Apr 2012 07:26:28 +0000 (07:26 +0000)]
code cleanup:
- move lasso functions into BLI (were in 3D view but UV editor needs access)
- remove unused UV functions (ones that assumed 3-4 sized UVs only)

7 years agocode cleanup: quiet msvc warnings
Campbell Barton [Fri, 27 Apr 2012 03:01:27 +0000 (03:01 +0000)]
code cleanup: quiet msvc warnings

7 years agocleanup msvc build flags, many were included more than once.
Campbell Barton [Fri, 27 Apr 2012 02:29:37 +0000 (02:29 +0000)]
cleanup msvc build flags, many were included more than once.
also make use of C_WARNINGS, CXX_WARNINGS as other platforms do.

7 years agorename WholeCharacter in C too, add pthreads include back for msvc which needs it. v2.63
Campbell Barton [Thu, 26 Apr 2012 18:18:09 +0000 (18:18 +0000)]
rename WholeCharacter in C too, add pthreads include back for msvc which needs it.

7 years agodon't have spaces in idnames, confuses py types:
Campbell Barton [Thu, 26 Apr 2012 18:07:15 +0000 (18:07 +0000)]
don't have spaces in idnames, confuses py types:
http://www.blender.org/documentation/blender_python_api_2_62_4/bpy.types.Whole%20Character.html

7 years agoremove pthread include for windows, after this was added I couldn't build anymore...
Campbell Barton [Thu, 26 Apr 2012 17:56:21 +0000 (17:56 +0000)]
remove pthread include for windows, after this was added I couldn't build anymore with mingw, gave and error with ./source/icons/winblender.rc

7 years agoAnd for sure we're in release stage now!
Sergey Sharybin [Thu, 26 Apr 2012 17:51:41 +0000 (17:51 +0000)]
And for sure we're in release stage now!

7 years agoRelease commit, 2.63!
Sergey Sharybin [Thu, 26 Apr 2012 17:49:48 +0000 (17:49 +0000)]
Release commit, 2.63!

Special thanks to Mango team for awesome splash screen!
And everybody else who made this release! :)

7 years agoFix crash clicking Render button in render layer compositing node. Actually
Brecht Van Lommel [Thu, 26 Apr 2012 17:48:07 +0000 (17:48 +0000)]
Fix crash clicking Render button in render layer compositing node. Actually
this crash could happen in other situations too, problem was a bug in the
jobs system. A job could be suspended, and the operator would stop before
the job was actually done since it was not marked as running.

7 years agoFix for undefined reference to abort() in outliner selection module
Sergey Sharybin [Thu, 26 Apr 2012 17:01:04 +0000 (17:01 +0000)]
Fix for undefined reference to abort() in outliner selection module

7 years agofix [#31113] bmesh.types.BMLayerCollection getter calculate key indices wrong (own...
Campbell Barton [Thu, 26 Apr 2012 16:32:30 +0000 (16:32 +0000)]
fix [#31113] bmesh.types.BMLayerCollection getter calculate key indices wrong (own fault)
also add check so layer.name won't crash incase the layer becomes invalid.

7 years agofix for bevel modifier creating invalid geometry - simply tell BM_face_split() to...
Campbell Barton [Thu, 26 Apr 2012 15:38:16 +0000 (15:38 +0000)]
fix for bevel modifier creating invalid geometry - simply tell BM_face_split() to check for doubles.

7 years agofix memory leak in validating mesh and remove unneeded knife operator settings store.
Campbell Barton [Thu, 26 Apr 2012 15:20:26 +0000 (15:20 +0000)]
fix memory leak in validating mesh and remove unneeded knife operator settings store.

7 years agoFix #31066: cycles keeps rendering in viewport after window closed.
Brecht Van Lommel [Thu, 26 Apr 2012 12:30:37 +0000 (12:30 +0000)]
Fix #31066: cycles keeps rendering in viewport after window closed.

7 years agoFix #31058: missing Simplify panel for cycles.
Brecht Van Lommel [Thu, 26 Apr 2012 12:13:26 +0000 (12:13 +0000)]
Fix #31058: missing Simplify panel for cycles.

7 years agoFix related to #31067: missing update when toggling Premultiply on a sequencer strip.
Brecht Van Lommel [Thu, 26 Apr 2012 12:13:22 +0000 (12:13 +0000)]
Fix related to #31067: missing update when toggling Premultiply on a sequencer strip.

7 years ago* Compile fix for recent Outliner header cleanup.
Thomas Dinges [Thu, 26 Apr 2012 11:48:36 +0000 (11:48 +0000)]
* Compile fix for recent Outliner header cleanup.

7 years agoMinor fix in response to Koji Iigura's mail. Own error, sorry about that (I tend...
Bastien Montagne [Thu, 26 Apr 2012 11:23:37 +0000 (11:23 +0000)]
Minor fix in response to Koji Iigura's mail. Own error, sorry about that (I tend to forget not all OS are utf-8 yet :/ ).

7 years agocode cleanup: bmesh comments/todos, no functional changes.
Campbell Barton [Thu, 26 Apr 2012 08:27:50 +0000 (08:27 +0000)]
code cleanup: bmesh comments/todos, no functional changes.

7 years agoFix OIIO dll copying for win32-mingw
Nathan Letwory [Thu, 26 Apr 2012 08:04:11 +0000 (08:04 +0000)]
Fix OIIO dll copying for win32-mingw

7 years agooutliner header cleanup (copy pasted headers when split up Im guessing)
Campbell Barton [Thu, 26 Apr 2012 05:17:54 +0000 (05:17 +0000)]
outliner header cleanup (copy pasted headers when split up Im guessing)

7 years agofix for memory leak in the knife tool
Campbell Barton [Thu, 26 Apr 2012 04:41:27 +0000 (04:41 +0000)]
fix for memory leak in the knife tool

7 years agoremoved unneeded fnmatch include from outliner, comment files as needing header cleanup.
Campbell Barton [Thu, 26 Apr 2012 04:15:27 +0000 (04:15 +0000)]
removed unneeded fnmatch include from outliner, comment files as needing header cleanup.

7 years agofix for buffer overrun crash with saving scene name longer then 24 characters.
Campbell Barton [Thu, 26 Apr 2012 04:03:25 +0000 (04:03 +0000)]
fix for buffer overrun crash with saving scene name longer then 24 characters.
writing render info would try write= 64 length string into 24 length buffer.

updated py script to extract render info too.

7 years agobmesh: inset tool depth used bad normals for edge verts.
Campbell Barton [Thu, 26 Apr 2012 03:40:10 +0000 (03:40 +0000)]
bmesh: inset tool depth used bad normals for edge verts.

7 years agofix invalid memcpy() use in text editor (backspace would call memcpy with overlapping...
Campbell Barton [Thu, 26 Apr 2012 02:24:55 +0000 (02:24 +0000)]
fix invalid memcpy() use in text editor (backspace would call memcpy with overlapping source and destination).

7 years ago2.6 Ocean Modifier UI:
Thomas Dinges [Wed, 25 Apr 2012 18:12:41 +0000 (18:12 +0000)]
2.6 Ocean Modifier UI:
* Fix an alignment issue, column_flow layout apparently does not use the whole width, leaving a small gap on the right side. This should be fixed in the layout engine, but too close to release now.

7 years agofix for border de-selecting with sync selection
Campbell Barton [Wed, 25 Apr 2012 11:31:01 +0000 (11:31 +0000)]
fix for border de-selecting with sync selection

7 years agoEnable building of the installer with MinGW-w64, patch by Caleb Joseph (Dobz) thanks...
Antony Riakiotakis [Wed, 25 Apr 2012 11:15:55 +0000 (11:15 +0000)]
Enable building of the installer with MinGW-w64, patch by Caleb Joseph (Dobz) thanks a lot!

7 years agodisable bevel for release after discussion with brecht and sergey, this works far...
Campbell Barton [Wed, 25 Apr 2012 10:24:31 +0000 (10:24 +0000)]
disable bevel for release after discussion with brecht and sergey, this works far too poorly to be included in release.

7 years agotemp disable 'use last operator settings' - too unreliable, we keep getting reports...
Campbell Barton [Wed, 25 Apr 2012 10:09:31 +0000 (10:09 +0000)]
temp disable 'use last operator settings' - too unreliable, we keep getting reports in about some menu item not working right, will try have this ready by next release.

7 years agomesh.validate() / BKE_mesh_validate() --- functions now check for duplicate vertices...
Campbell Barton [Wed, 25 Apr 2012 07:23:20 +0000 (07:23 +0000)]
mesh.validate() / BKE_mesh_validate() --- functions now check for duplicate vertices used within the same polygon.
(which would crash otherwise)

7 years agoUpdate for startup.blend: remove vertex color layer from default cube
Sergey Sharybin [Wed, 25 Apr 2012 06:28:45 +0000 (06:28 +0000)]
Update for startup.blend: remove vertex color layer from default cube

Pardon for updating this so close to release, but it's annoying to have
such a layer and in some cases it leads to unwanted sideeffects.

This layer was added by accident when was fixing flags for brushes,
didn't notice entering vertex paint mode automatically creates
vertex color layer.

7 years agocode cleanup: typos and set gcc attributes for string formatting.
Campbell Barton [Wed, 25 Apr 2012 06:06:40 +0000 (06:06 +0000)]
code cleanup: typos and set gcc attributes for string formatting.

7 years agoSmall type fix for BMEditMesh.lastDataMask, should be 64-bit.
Nicholas Bishop [Wed, 25 Apr 2012 03:44:01 +0000 (03:44 +0000)]
Small type fix for BMEditMesh.lastDataMask, should be 64-bit.

7 years agofix [#31080], edge slide UV correction wasnt working for UVs surrounding the end...
Campbell Barton [Wed, 25 Apr 2012 02:46:32 +0000 (02:46 +0000)]
fix [#31080], edge slide UV correction wasnt working for UVs surrounding the end of the slide selection (one edge sliding on a grid for example).

7 years agocode cleanup: edge slide code had oddly named variables, added some comments and...
Campbell Barton [Wed, 25 Apr 2012 01:24:55 +0000 (01:24 +0000)]
code cleanup: edge slide code had oddly named variables, added some comments and renamed vars.

also made BM_elem_select_set() a function (was a macro calling a function).

7 years agondof: avoid potential buffer overflow in libspnav
Mike Erwin [Wed, 25 Apr 2012 01:24:29 +0000 (01:24 +0000)]
ndof: avoid potential buffer overflow in libspnav

7 years agonow vertex paint uses the same overrides as weight paint - so wire draw mode allows...
Campbell Barton [Tue, 24 Apr 2012 23:47:10 +0000 (23:47 +0000)]
now vertex paint uses the same overrides as weight paint - so wire draw mode allows vertex paint to be unlit (which is quite handy, previously you had to hide lamps).

7 years agostyle cleanup: no functional changes
Campbell Barton [Tue, 24 Apr 2012 22:50:49 +0000 (22:50 +0000)]
style cleanup: no functional changes

7 years agocode cleanup: no functional change - had both EDBM_editselection_* and BM_editselecti...
Campbell Barton [Tue, 24 Apr 2012 21:19:18 +0000 (21:19 +0000)]
code cleanup: no functional change - had both EDBM_editselection_* and BM_editselection_* funcs, replace EDBM_ funcs.

7 years agocode cleanup: dont use bmesh operator flags outside a bmesh operator, use hflag taggi...
Campbell Barton [Tue, 24 Apr 2012 20:33:39 +0000 (20:33 +0000)]
code cleanup: dont use bmesh operator flags outside a bmesh operator, use hflag tagging instead.

7 years agocode cleanup: rename UV functions to closer match bmesh api
Campbell Barton [Tue, 24 Apr 2012 19:59:06 +0000 (19:59 +0000)]
code cleanup: rename UV functions to closer match bmesh api