blender-staging.git
7 years agomisc changes from trunk (avoid confusion since these were not intentional differences)
Campbell Barton [Sun, 19 Feb 2012 18:41:30 +0000 (18:41 +0000)]
misc changes from trunk (avoid confusion since these were not intentional differences)

7 years agosvn merge ^/trunk/blender -r44235:44250
Campbell Barton [Sun, 19 Feb 2012 17:59:30 +0000 (17:59 +0000)]
svn merge ^/trunk/blender -r44235:44250

7 years agoFix #30230, Crash after importing collada file
Juha Mäki-Kanto [Sun, 19 Feb 2012 17:55:09 +0000 (17:55 +0000)]
Fix #30230, Crash after importing collada file

On collada import a -1 layer_index from CustomData_get_layer_index (CD_MTFACE) was used.
This then managed to overwrite last mface's data with uv-set's name so at least it gave a clue where to look for :]

7 years agofix for bug where particle system would fail when the original mesh had no tessface's
Campbell Barton [Sun, 19 Feb 2012 17:44:36 +0000 (17:44 +0000)]
fix for bug where particle system would fail when the original mesh had no tessface's

7 years agosync some changes with trunk and rename bmeshutils.c
Campbell Barton [Sun, 19 Feb 2012 17:11:40 +0000 (17:11 +0000)]
sync some changes with trunk and rename bmeshutils.c

7 years agorebane files to match trunk.
Campbell Barton [Sun, 19 Feb 2012 16:54:53 +0000 (16:54 +0000)]
rebane files to match trunk.

7 years agoMore pose armature code factorization:
Bastien Montagne [Sun, 19 Feb 2012 11:09:44 +0000 (11:09 +0000)]
More pose armature code factorization:
* New armature_mat_bone_to_pose, which is just the reverse of armature_mat_pose_to_bone (currently used by armature evaluation code only, but might be used by constraints space conversion code too, see note below).
* Found another place where another (a bit erroneous) pose_to_bone code existed (apply_targetless_ik(), in transform_conversion.c, used by "auto ik" option), replaced it by a call to armature_mat_pose_to_bone.

Notes:
* All those changes leave many #if 0 commented code, I will remove those in a few weeks.
* There is at least one other place where generic armature_mat_(pose_to_bone/bone_to_pose) functions should be usable: the space conversion function of constraints (constraint_mat_convertspace(), in BKE's constraint.c), but here I have some problems (old code is also somewhat erroneous, but using new one makes old rigs using bone space constraints wrong, e.g. sintel one, and it’s just impossible to make conversion code...). So I'll wait and investigate more for this one.

7 years agoReload movie clip to ensure all cache and prefetched Ffmpeg frames are properly
Sergey Sharybin [Sun, 19 Feb 2012 08:09:10 +0000 (08:09 +0000)]
Reload movie clip to ensure all cache and prefetched Ffmpeg frames are properly
updating after proxy building is finished.

7 years agoProxies: FFmpeg proxy builder wasn't taking image quality into account at all
Sergey Sharybin [Sun, 19 Feb 2012 08:02:05 +0000 (08:02 +0000)]
Proxies: FFmpeg proxy builder wasn't taking image quality into account at all
which made it using default quality settings which are really bad for camera
tracking (and perhaps for CSE too).

haven't found Jpeg quality setting for FFmpeg which will behave in the same way
as quality setting for image sequence, but seems that mapping image quality
from 1..100 UI range to 31..1 range of qmin/qmax gives expected result.

--
svn merge -r44228:44230 ^/branches/soc-2011-tomato

7 years agostyle cleanyp: split > 120 width lines.
Campbell Barton [Sun, 19 Feb 2012 06:00:20 +0000 (06:00 +0000)]
style cleanyp: split > 120 width lines.

7 years agofix for incorrect check to find largest axis (was checking Y twice, not Z).
Campbell Barton [Sun, 19 Feb 2012 05:17:55 +0000 (05:17 +0000)]
fix for incorrect check to find largest axis (was checking Y twice, not Z).

7 years agoreplace MIN2 / MAX2 with minf / maxf to avoid calling functions multiple times.
Campbell Barton [Sun, 19 Feb 2012 05:11:24 +0000 (05:11 +0000)]
replace MIN2 / MAX2 with minf / maxf to avoid calling functions multiple times.

7 years agofix for issue with bevel when the 2 edges form a straight line. this isnt really...
Campbell Barton [Sun, 19 Feb 2012 04:13:52 +0000 (04:13 +0000)]
fix for issue with bevel when the 2 edges form a straight line. this isnt really fixing the bigger problems but the error did show up baddly as an artifact.

7 years agosvn merge ^/trunk/blender -r44213:44235 --- fixes bmesh shading bug [#30125]
Campbell Barton [Sun, 19 Feb 2012 03:19:58 +0000 (03:19 +0000)]
svn merge ^/trunk/blender -r44213:44235   --- fixes bmesh shading bug [#30125]

7 years agoChange texface draw to always use glShadeModel(GL_SMOOTH), with texface draw.
Campbell Barton [Sun, 19 Feb 2012 03:10:11 +0000 (03:10 +0000)]
Change texface draw to always use glShadeModel(GL_SMOOTH), with texface draw.

without this each face would get a solid color, this is the same method used in object mode.

also copy BLI_array.h fix from bmesh branch.

7 years agoskip per face texface poly lookup while drawing when the layer isnt found.
Campbell Barton [Sun, 19 Feb 2012 02:54:50 +0000 (02:54 +0000)]
skip per face texface poly lookup while drawing when the layer isnt found.

also remove some unused code.

7 years agoleft print in by mistake
Campbell Barton [Sun, 19 Feb 2012 01:52:59 +0000 (01:52 +0000)]
left print in by mistake

7 years agoedit-derived-mesh had a table for vert/edge/face lookups - that were never used.
Campbell Barton [Sun, 19 Feb 2012 01:51:36 +0000 (01:51 +0000)]
edit-derived-mesh had a table for vert/edge/face lookups - that were never used.

removed these and replaced them with calls to BM_vert_at_index, BM_edge_at_index - which are not ideal but same as trunk does.

7 years agoFix rest of #27022, collada export: add bone parenting of objects
Juha Mäki-Kanto [Sat, 18 Feb 2012 16:55:41 +0000 (16:55 +0000)]
Fix rest of #27022, collada export: add bone parenting of objects

- SceneExporter collects a list of child-objects for armature-object and passes it onto ArmatureExporter
- SceneExporter's writeNodes is then called from ArmatureExporter for matching child-objects for bone.
- ArmatureExporter removes written child-objects from list, objects not exported as being bone parented are exported as direct children of the armature-node.
- Should play nice with current Second Life-compatibility.

A nicer implementation would require some design changes, will have to wait.

7 years agoWring scaling and precision error in previous commit.
Sergey Sharybin [Sat, 18 Feb 2012 16:42:19 +0000 (16:42 +0000)]
Wring scaling and precision error in previous commit.

7 years agoProxies: FFmpeg proxy builder wasn't taking image quality into account at all
Sergey Sharybin [Sat, 18 Feb 2012 16:23:34 +0000 (16:23 +0000)]
Proxies: FFmpeg proxy builder wasn't taking image quality into account at all
which made it using default quality settings which are really bad for camera
tracking (and perhaps for CSE too).

haven't found Jpeg quality setting for FFmpeg which will behave in the same way
as quality setting for image sequence, but seems that mapping image quality
from 1..100 UI range to 31..1 range of qmin/qmax gives expected result.

7 years agoCollada export: changes to joints/weights in skincontroller
Juha Mäki-Kanto [Sat, 18 Feb 2012 16:20:24 +0000 (16:20 +0000)]
Collada export: changes to joints/weights in skincontroller

- Collecting joints/weights in one place, it's easier to exclude zero weights or vertexgroups with no matching bone than trying to match same logic in multiple places.
- Still not exporting -1 joints for vertices without weights, but also not outputting -1 joint + weight for each vertexgroup without a matching bone.
- The exported weights are now normalized.

Last I tested this patch stopped 3ds Max crashing on import of file from #29465 (opencollada / internal .dae).

7 years agoMerging r44140 through r44226 from trunk into soc-2011-tomato
Sergey Sharybin [Sat, 18 Feb 2012 16:12:22 +0000 (16:12 +0000)]
Merging r44140 through r44226 from trunk into soc-2011-tomato

7 years agoMinor change collada export; don't even run the parentinv-test when ob->parent is...
Juha Mäki-Kanto [Sat, 18 Feb 2012 15:41:09 +0000 (15:41 +0000)]
Minor change collada export; don't even run the parentinv-test when ob->parent is NULL

7 years agoBGE bug #30173: ImageRender not working when initialized on frame 1. This was because...
Benoit Bolsee [Sat, 18 Feb 2012 15:25:31 +0000 (15:25 +0000)]
BGE bug #30173: ImageRender not working when initialized on frame 1. This was because the canvas display area was initialized on render frame 1, which happens after logic frame 1. Fixed in blender and player by initializing the area on canvas creation.

7 years agominor bmesh api changes.
Campbell Barton [Sat, 18 Feb 2012 11:44:30 +0000 (11:44 +0000)]
minor bmesh api changes.
- use SMOOTH flag for edges (removed sharp flag and inverted), gives us an extra flag slot available.
- rename BM_edge_is_nonmanifold --> BM_edge_is_manifold and invert result, BM_vert_is_nonmanifold too.

7 years agoRemesh modifier: extensive refactoring of the Octree class.
Nicholas Bishop [Sat, 18 Feb 2012 11:34:53 +0000 (11:34 +0000)]
Remesh modifier: extensive refactoring of the Octree class.

The changes mostly center around two new structures, InternalNode and
LeafNode. These provide an explicit representation of the Octree
nodes, which formerly were manipulated as opaque byte arrays.

A fair amount of commented out/unused code was also removed. This
includes the "CINDY" code, which may yet be useful, easy to bring back
if so.

There should be no difference in the output of the remesh modifier,
but memory usage may be slightly different. The flood fill bytes are
no longer optional; they will be allocated whether or not the 'remove
disconnect components' flag is set. The leaf node is probably not as
tightly packed due to alignment issues; this could be fixed with the
__attribute__((packed)) flag in gcc (probably there's an MSVC
equivalent), but not sure it's worth it. The internal nodes should
take up less space on 32-bit systems, allocating sizeof(pointer) now
rather than constant eight bytes.

These changes were made in persuit of bug #30158 (remesh crashes on
PowerPC). There's still a fair amount of bitwise stuff in the Octree,
so may still be endian issues and not yet sure if this fixes the bug,
but should be much easier to track down problems now.

7 years ago#collada animation import, bugfix #29082
Arystanbek Dyussenov [Sat, 18 Feb 2012 06:22:20 +0000 (06:22 +0000)]
#collada animation import, bugfix #29082

Fix skeletal animation import for <rotation>, <scale> and <translate> transform types.

Tested for correctness visually using Seymouranim2.dae from http://collada.org/owl and animated creatures from DKGamesModels folder (from private section of the same site). The results match the results in FXComposer-2.5.

Since this is a fix towards correct reading of collada, it shouldn't break existing compatibility with Second Life.

7 years agoremove function for testing selection (was only used in a few places)
Campbell Barton [Fri, 17 Feb 2012 21:49:24 +0000 (21:49 +0000)]
remove function for testing selection (was only used in a few places)

7 years agoremove OBJ export, better rely on the python exporter.
Campbell Barton [Fri, 17 Feb 2012 21:37:16 +0000 (21:37 +0000)]
remove OBJ export, better rely on the python exporter.

7 years agomore syncing smaller changes with trunk
Campbell Barton [Fri, 17 Feb 2012 21:32:30 +0000 (21:32 +0000)]
more syncing smaller changes with trunk

7 years agominor edits to sync up with trunk, remove crash save handler, this can be added later...
Campbell Barton [Fri, 17 Feb 2012 21:22:18 +0000 (21:22 +0000)]
minor edits to sync up with trunk, remove crash save handler, this can be added later if we need but isnt really apart of bmesh specifically.

7 years agosvn merge ^/trunk/blender -r44204:44213
Campbell Barton [Fri, 17 Feb 2012 21:07:18 +0000 (21:07 +0000)]
svn merge ^/trunk/blender -r44204:44213

7 years ago- Fixed linking errors of blender player with CMake and XDND enabled
Sergey Sharybin [Fri, 17 Feb 2012 20:59:21 +0000 (20:59 +0000)]
- Fixed linking errors of blender player with CMake and XDND enabled
- Rest of changes to make XDND switch-off-able: link against extern_xdnd only
  if XDND is enabled

7 years agosvn merge ^/trunk/blender -r44189:44204
Campbell Barton [Fri, 17 Feb 2012 20:56:25 +0000 (20:56 +0000)]
svn merge ^/trunk/blender -r44189:44204

7 years agoglog should now compile fine at FreeBSD 9 platform
Sergey Sharybin [Fri, 17 Feb 2012 20:53:34 +0000 (20:53 +0000)]
glog should now compile fine at FreeBSD 9 platform

7 years agoXDND support now can be disabled using WITH_GHOST_XDND=OFF with CMake and WITH_GHOST_...
Sergey Sharybin [Fri, 17 Feb 2012 20:51:39 +0000 (20:51 +0000)]
XDND support now can be disabled using WITH_GHOST_XDND=OFF with CMake and WITH_GHOST_XDND=False with SCons

Disabled on FreeBSD platforms due to some linking errors.

7 years agoremove section in gotcha's doc about matrix col/row order since this has been changed.
Campbell Barton [Fri, 17 Feb 2012 20:41:41 +0000 (20:41 +0000)]
remove section in gotcha's doc about matrix col/row order since this has been changed.

7 years agoFixed compilation error cased by recent refactor of include guard defines.
Sergey Sharybin [Fri, 17 Feb 2012 19:45:27 +0000 (19:45 +0000)]
Fixed compilation error cased by recent refactor of include guard defines.

7 years agopatch [#30227] Various MSVC (32-bit) Warning and Typo Fixes
Campbell Barton [Fri, 17 Feb 2012 19:21:47 +0000 (19:21 +0000)]
patch [#30227] Various MSVC (32-bit) Warning and Typo Fixes

made some small edits
- removed changes to AVI reading since the data types are apart of the format spec.
- absf -> abs for a double value in render code.

7 years agounify include guard defines, __$FILENAME__
Campbell Barton [Fri, 17 Feb 2012 18:59:41 +0000 (18:59 +0000)]
unify include guard defines, __$FILENAME__

without the underscores these clogged up the namespace for autocompleation which was annoying.

7 years agoUse BLF API to check whether translation is enabled, when possible!
Bastien Montagne [Fri, 17 Feb 2012 18:04:49 +0000 (18:04 +0000)]
Use BLF API to check whether translation is enabled, when possible!

7 years agoadd note to avoid confusion with angle_v3v3v3, also minor change with angle compariso...
Campbell Barton [Fri, 17 Feb 2012 17:47:10 +0000 (17:47 +0000)]
add note to avoid confusion with angle_v3v3v3, also minor change with angle comparison, convert constant values to radians (not resulting angle to deg).

7 years agoReturning magic _USE_MATH_DEFINES to esm tracker.
Sergey Sharybin [Fri, 17 Feb 2012 17:34:16 +0000 (17:34 +0000)]
Returning magic _USE_MATH_DEFINES to esm tracker.
Needed to make constants like M_E defined in msvc. Was occasionally
removed on moving main changes in libmv from patch files in blender
repo to won repo (rev44190).

7 years agoIn fact, snapping in particle edit mode also might make sense.
Sergey Sharybin [Fri, 17 Feb 2012 17:25:51 +0000 (17:25 +0000)]
In fact, snapping in particle edit mode also might make sense.
Pardon for extra noise..

7 years agoRevert part of own recent header cleanup: pivot and manipulators in fact makes sense...
Sergey Sharybin [Fri, 17 Feb 2012 17:22:37 +0000 (17:22 +0000)]
Revert part of own recent header cleanup: pivot and manipulators in fact makes sense in particle edit mode.

7 years agoReverting changes made to build systems when was upgrading OpenAL.
Sergey Sharybin [Fri, 17 Feb 2012 16:58:34 +0000 (16:58 +0000)]
Reverting changes made to build systems when was upgrading OpenAL.

Reverting to openal from creative because own builds doesn't deal with 3D sound.
Hopefully it wouldn't lead to crashes caused by ffmpeg+openal (for resolving which
libraries were updated to openal-soft).

7 years agoDrag-n-drop support on Linux
Sergey Sharybin [Fri, 17 Feb 2012 16:58:09 +0000 (16:58 +0000)]
Drag-n-drop support on Linux

This commit implements drag-n-drop support from external applications into Blender.
Used xdnd implementation from Paul Sheer.

7 years agoMinor fixes found while working on keyingsets.
Bastien Montagne [Fri, 17 Feb 2012 16:34:28 +0000 (16:34 +0000)]
Minor fixes found while working on keyingsets.

7 years agoFix #25649: Image editor paint icon missing until enter weight paint
Sergey Sharybin [Fri, 17 Feb 2012 16:06:32 +0000 (16:06 +0000)]
Fix #25649: Image editor paint icon missing until enter weight paint

Issue was caused by starting Icon Preview render job from two places:
- Texture buttons for small icon preview
- Properties panel in image editor for large icon of texture

This preview job is starting in suspended mode and if new instance of the same job is
starting, suspended job will be totally stopped. This is normally for cases when you're
changing different settings -- in this case you'd wouldn't want re-render be triggered
on every slide change.
But what we've have with brush preview is that two instances of this job were creating for
large and small icon separately, but because of described policy only one icon was rendered.

If suspended job is getting to be stopped, check if it was started for the same icon
resolution and if not, that resolution will be also rendered in new job.
So it'll be still minimal re-rendering happens, but in cases when job was started from
two places for different icon sizes it'll work just fine.

7 years agosvn merge ^/trunk/blender -r44136:44189
Campbell Barton [Fri, 17 Feb 2012 15:51:48 +0000 (15:51 +0000)]
svn merge ^/trunk/blender -r44136:44189

7 years agoCamera tracking: switch to own repo of libmv where most of patches are applied
Sergey Sharybin [Fri, 17 Feb 2012 15:39:32 +0000 (15:39 +0000)]
Camera tracking: switch to own repo of libmv where most of patches are applied
and which includes latest changes from Keir's branch.

Hopefully it'll make backporting of changes back to main libmv repo easier.

7 years agofa_PE is no valid language code (how comes no one noted that yet?), fa_IR seems the...
Bastien Montagne [Fri, 17 Feb 2012 12:27:58 +0000 (12:27 +0000)]
fa_PE is no valid language code (how comes no one noted that yet?), fa_IR seems the right one!

Else, persian was just unavailable on Linux (at least, on Debian...).

7 years agoFix for recent changes in 3D viewport header: object might be missed and in this
Sergey Sharybin [Fri, 17 Feb 2012 11:46:28 +0000 (11:46 +0000)]
Fix for recent changes in 3D viewport header: object might be missed and in this
case check for current mode isn't needed

7 years agoMissed this changes needed to fully support animation data in movie clips.
Sergey Sharybin [Fri, 17 Feb 2012 10:54:21 +0000 (10:54 +0000)]
Missed this changes needed to fully support animation data in movie clips.

Thanks to Joshua pointed into missed changes!

7 years agoOSX: since XCode 4.3 the developer directory is inside XCode.app bundle, so we handle...
Jens Verwiebe [Fri, 17 Feb 2012 10:44:21 +0000 (10:44 +0000)]
OSX: since XCode 4.3 the developer directory is inside XCode.app bundle, so we handle path according XCODE_VERSION now

7 years agoCamera tracking: configurable filter type for 2d stabilization
Sergey Sharybin [Fri, 17 Feb 2012 08:27:19 +0000 (08:27 +0000)]
Camera tracking: configurable filter type for 2d stabilization

--
svn merge -r44151:44152 ^/branches/soc-2011-tomato

7 years agoCamera tracking: run aspect correction before stabilizing shot
Sergey Sharybin [Fri, 17 Feb 2012 08:23:42 +0000 (08:23 +0000)]
Camera tracking: run aspect correction before stabilizing shot

This commit fixes image stopped being an orthogonal rectangle because of horizontal
scaling caused by pixel aspect ratio happening after rotating image which used to
make orthogonal angles from footage not actually orthogonal.

--
svn merge -r44150:44151 ^/branches/soc-2011-tomato

7 years agoCamera tracking: fixed issue when track used for rotation stabilization points to...
Sergey Sharybin [Fri, 17 Feb 2012 08:20:21 +0000 (08:20 +0000)]
Camera tracking: fixed issue when track used for rotation stabilization points to a freed memory after re-tracking this track.

--
svn merge -r44148:44149 ^/branches/soc-2011-tomato

7 years agoCamera tracking: fixed default value for pixel aspect which wasn't 1.0
Sergey Sharybin [Fri, 17 Feb 2012 08:19:14 +0000 (08:19 +0000)]
Camera tracking: fixed default value for pixel aspect which wasn't 1.0

--
svn merge -r44147:44148 ^/branches/soc-2011-tomato

7 years agoCamera tracking: fixed incorrect auto-scale calculation for 2d stabilization
Sergey Sharybin [Fri, 17 Feb 2012 08:17:46 +0000 (08:17 +0000)]
Camera tracking: fixed incorrect auto-scale calculation for 2d stabilization

--
svn merge -r44146:44147 ^/branches/soc-2011-tomato

7 years agoCamera tracking: fix for missing cache invalidation when disabling/enabling channels...
Sergey Sharybin [Fri, 17 Feb 2012 08:16:29 +0000 (08:16 +0000)]
Camera tracking: fix for missing cache invalidation when disabling/enabling channels for stabilized shot

--
svn merge -r44140:44141 ^/branches/soc-2011-tomato

7 years agoCamera tracking: animation datablock for MovieClip
Sergey Sharybin [Fri, 17 Feb 2012 08:13:45 +0000 (08:13 +0000)]
Camera tracking: animation datablock for MovieClip

Added AnimData block to MovieClip datablock which allows to animate different properties in clip.
Currently supports animation of stabilization influence only.

--
svn merge -r44129:44130 ^/branches/soc-2011-tomato

7 years agoBuild proxy from meta and image strips used resolution used for display,
Sergey Sharybin [Fri, 17 Feb 2012 07:32:18 +0000 (07:32 +0000)]
Build proxy from meta and image strips used resolution used for display,
not set by building job which leads to unusable proxies.

This change should resolve issues reported in #30229: Sequencer Meta strip Proxy Fails
and probably #30196 will work nicer too.

7 years agoCleanup of 3D viewport header in painting modes:
Sergey Sharybin [Fri, 17 Feb 2012 06:59:32 +0000 (06:59 +0000)]
Cleanup of 3D viewport header in painting modes:

- Hide Manipulate center points in sculpt and particle edit modes
- Hide 3D manipulators and orientation from sculpt mode
- Hide snap buttons in sculpt, weight, texture, vertex and particle painting modes

All this options weren't make sense in this modes and might only confuse user.

This will resolve issue #30180: 3D View header buttons and modes

7 years agofix [#30220] Knife Tool Leaks memory
Campbell Barton [Fri, 17 Feb 2012 05:33:23 +0000 (05:33 +0000)]
fix [#30220] Knife Tool Leaks memory

both crash and leak are fixed now.

7 years agofix [#30220] Knife Tool Crashes Blender
Campbell Barton [Fri, 17 Feb 2012 02:06:30 +0000 (02:06 +0000)]
fix [#30220] Knife Tool Crashes Blender

though there is still a memory leak, but it looks like the leak may be in BLI_smallhash.c, not knife code.

7 years agofix for error found while looking into #30221
Campbell Barton [Fri, 17 Feb 2012 00:08:52 +0000 (00:08 +0000)]
fix for error found while looking into #30221

macro needed parentheses.

7 years agocorrect for bad assumption in recent commit. angle_v3v3v3 was working as intended.
Campbell Barton [Thu, 16 Feb 2012 20:17:45 +0000 (20:17 +0000)]
correct for bad assumption in recent commit. angle_v3v3v3 was working as intended.

7 years agoRelease Cycle for 2.63:
Thomas Dinges [Thu, 16 Feb 2012 20:04:33 +0000 (20:04 +0000)]
Release Cycle for 2.63:
* BCon1, alpha.

7 years agofix for bug with adding icosphere in editmode (was normalizing the verts _after_...
Campbell Barton [Thu, 16 Feb 2012 19:58:40 +0000 (19:58 +0000)]
fix for bug with adding icosphere in editmode (was normalizing the verts _after_ translating them away from 0,0,0)

7 years agofix [#30208] Bmesh Edit Mode: Add Primitive keeps old verts selected.
Campbell Barton [Thu, 16 Feb 2012 19:33:46 +0000 (19:33 +0000)]
fix [#30208] Bmesh Edit Mode: Add Primitive keeps old verts selected.

cone depth was also incorrectly defaulting to 1.0

7 years agofix [#30141] Add primitive sets only the default name "Mesh"
Campbell Barton [Thu, 16 Feb 2012 19:13:04 +0000 (19:13 +0000)]
fix [#30141] Add primitive sets only the default name "Mesh"

7 years agofix for bug when dissolving faces.
Campbell Barton [Thu, 16 Feb 2012 19:00:31 +0000 (19:00 +0000)]
fix for bug when dissolving faces.

When removing an edge between 2 dissolved faces there was no check that a 3rd face was using the edge.
This way dissolving 2 faces could remove faces connected to the removed edges.

7 years agoSculpt/Paint UI: Add a new menu for brush options.
Nicholas Bishop [Thu, 16 Feb 2012 18:06:38 +0000 (18:06 +0000)]
Sculpt/Paint UI: Add a new menu for brush options.

For vertex/weight/texture paint, this has only the flags for using
unified size/strength. (Addresses TODO in code, before only sculpt
menu had these settings.)

For sculpt, moved the brush-related settings from the sculpt menu to
the brush menu.

Note that these menus are still very out of date (missing lots of
options), will address that in a different commit.

7 years agofix [#30209] "Tris to Quad" fails in some cases
Campbell Barton [Thu, 16 Feb 2012 17:43:23 +0000 (17:43 +0000)]
fix [#30209] "Tris to Quad" fails in some cases

dont join 2 triangles if the edge thet share has more then 2 face users.

7 years agomore knit-picky memory saving
Campbell Barton [Thu, 16 Feb 2012 16:44:10 +0000 (16:44 +0000)]
more knit-picky memory saving

don't store a flag array, (or pointer to a flag array) per BMLoop.
saves 4 pointers per quad - obviously, so this can add up a bit.

7 years agoSculpt UI: add missing sculpt options to menu
Nicholas Bishop [Thu, 16 Feb 2012 16:38:05 +0000 (16:38 +0000)]
Sculpt UI: add missing sculpt options to menu

7 years agoBugfix: update the sculpt menu to use the correct path to the unified paint settings.
Nicholas Bishop [Thu, 16 Feb 2012 16:33:50 +0000 (16:33 +0000)]
Bugfix: update the sculpt menu to use the correct path to the unified paint settings.

7 years agoTypo in previous own commit.
Sergey Sharybin [Thu, 16 Feb 2012 15:55:23 +0000 (15:55 +0000)]
Typo in previous own commit.

7 years agoClear PROP_TRANSLATE flag for Macro Operator's bl_label as well.
Sergey Sharybin [Thu, 16 Feb 2012 15:53:44 +0000 (15:53 +0000)]
Clear PROP_TRANSLATE flag for Macro Operator's bl_label as well.

7 years agoReverting changes in commit r43458.
Sergey Sharybin [Thu, 16 Feb 2012 15:53:30 +0000 (15:53 +0000)]
Reverting changes in commit r43458.

That was intended change to clear PROP_TRANSLATE flag from bl_label property of
operators, panels and menus (see rev40570)

If this flag leads to another issues it should be fixed in another way.

This fixes #30210: International Font Problem

7 years agoifdef out support for holes in faces.
Campbell Barton [Thu, 16 Feb 2012 15:38:16 +0000 (15:38 +0000)]
ifdef out support for holes in faces.
this can be added back easily but currently this cant be saved into DNA and most likly support wont be added soon.

saves memory in editmode: 20 bytes per face or 40 on 64bit systems (5 pointers).

7 years agominor style cleanup, use macros for first loop and far name changes.
Campbell Barton [Thu, 16 Feb 2012 15:13:29 +0000 (15:13 +0000)]
minor style cleanup, use macros for first loop and far name changes.

7 years agoTomato: configurable filter type for 2d stabilization
Sergey Sharybin [Thu, 16 Feb 2012 15:03:37 +0000 (15:03 +0000)]
Tomato: configurable filter type for 2d stabilization

7 years agoTomato: run aspect correction before stabilizing shot.
Sergey Sharybin [Thu, 16 Feb 2012 15:03:18 +0000 (15:03 +0000)]
Tomato: run aspect correction before stabilizing shot.

7 years agoTomato: fixed issue when track used for rotation stabilization points to a freed...
Sergey Sharybin [Thu, 16 Feb 2012 13:15:01 +0000 (13:15 +0000)]
Tomato: fixed issue when track used for rotation stabilization points to a freed memory after re-tracking this track.

7 years agoTomato: fixed default value for pixel aspect.
Sergey Sharybin [Thu, 16 Feb 2012 13:14:49 +0000 (13:14 +0000)]
Tomato: fixed default value for pixel aspect.

7 years agoTomato: fixed incorrect auto-scale calculation for 2d stabilization
Sergey Sharybin [Thu, 16 Feb 2012 13:14:28 +0000 (13:14 +0000)]
Tomato: fixed incorrect auto-scale calculation for 2d stabilization

7 years agobmesh todo. making an image local wasn't dealing with mesh polygon texface data.
Campbell Barton [Thu, 16 Feb 2012 12:19:02 +0000 (12:19 +0000)]
bmesh todo. making an image local wasn't dealing with mesh polygon texface data.

7 years agoffmpeg: take back 44142, conditional was wrong
Jens Verwiebe [Thu, 16 Feb 2012 11:52:02 +0000 (11:52 +0000)]
ffmpeg: take back 44142, conditional was wrong

7 years agosome minor refactoring for edge disk link's, typedef their own struct type.
Campbell Barton [Thu, 16 Feb 2012 11:48:09 +0000 (11:48 +0000)]
some minor refactoring for edge disk link's, typedef their own struct type.

7 years agostyle cleanup for code relating to BMLoop next/prev checks.
Campbell Barton [Thu, 16 Feb 2012 09:44:22 +0000 (09:44 +0000)]
style cleanup for code relating to BMLoop next/prev checks.

7 years agoffmpeg: only suppress loopfilter for .mov ( compatibility ), but keep for .avi (quality )
Jens Verwiebe [Thu, 16 Feb 2012 08:48:28 +0000 (08:48 +0000)]
ffmpeg: only suppress loopfilter for .mov ( compatibility ), but keep for .avi (quality )

7 years agoTomato: fix for missing cache invalidation when disabling/enabling channels for stabi...
Sergey Sharybin [Thu, 16 Feb 2012 07:45:01 +0000 (07:45 +0000)]
Tomato: fix for missing cache invalidation when disabling/enabling channels for stabilized shot

7 years agoMerging r44129 through r44139 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 16 Feb 2012 07:11:50 +0000 (07:11 +0000)]
Merging r44129 through r44139 from trunk into soc-2011-tomato

7 years agofix for replacing a generated image with a file, the image would stay generated.
Campbell Barton [Thu, 16 Feb 2012 04:21:40 +0000 (04:21 +0000)]
fix for replacing a generated image with a file, the image would stay generated.

not a show-stopper but confusing.

7 years agofix [#30201] bpy_extras.image_utils.load_image always returns placeholder
Campbell Barton [Thu, 16 Feb 2012 04:08:52 +0000 (04:08 +0000)]
fix [#30201] bpy_extras.image_utils.load_image always returns placeholder

in existing addons this only effects OBJ import.

interestingly even though this is a bug (in that its returning a placeholder when it should load the image), since the placeholder points to the correct path, the image will load correctly when refreshed, so the bug's not too bad.

7 years agosvn merge ^/trunk/blender -r44118:44136
Campbell Barton [Wed, 15 Feb 2012 18:32:08 +0000 (18:32 +0000)]
svn merge ^/trunk/blender -r44118:44136

7 years agoreadfile update after version/subversion bump
Dalai Felinto [Wed, 15 Feb 2012 18:17:31 +0000 (18:17 +0000)]
readfile update after version/subversion bump
Note, there is no need to leave doversion code outside a version/subversion nest.
e.g. having if version < 262   in a 2.61 file will make the code to double-run.
however this is the same case for the code nested outside the if versions ...
with the advantage of making ahoys/version bumping easier.

Ton himself was unaware of how we were doing this and suggested to get rid of the /* put subversion code here */ practise.