blender.git
8 years agoMerged changes in the trunk up to revision 45383.
Tamito Kajiyama [Wed, 4 Apr 2012 00:50:41 +0000 (00:50 +0000)]
Merged changes in the trunk up to revision 45383.

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.

8 years agofix [#30786] bmesh: select linked not ignoring hidden verts/edges/faces (part 2)
Campbell Barton [Tue, 3 Apr 2012 07:35:50 +0000 (07:35 +0000)]
fix [#30786] bmesh: select linked not ignoring hidden verts/edges/faces (part 2)

8 years agofix/workaround an error related to [#30735]
Campbell Barton [Tue, 3 Apr 2012 07:31:11 +0000 (07:31 +0000)]
fix/workaround an error related to [#30735]

when a single face in a loop is hidden, loop cut will subdivide edges on both sides.
creating an edge between the hidden faces.

without this workaround the edge ends up hidden and selected.

added a check in BM_mesh_validate() for hidden/selected elements.

8 years agofix [#30735] bmesh: loop-cut cuts faces isolated by hidden faces
Campbell Barton [Tue, 3 Apr 2012 06:12:04 +0000 (06:12 +0000)]
fix [#30735] bmesh: loop-cut cuts faces isolated by hidden faces

8 years agoBM_mesh_esubdivideflag was adjusting the totedgesel variable when this is handled...
Campbell Barton [Tue, 3 Apr 2012 06:05:43 +0000 (06:05 +0000)]
BM_mesh_esubdivideflag was adjusting the totedgesel variable when this is handled by selection functions.

8 years agor45338 added multithreaded OpenEXR loading. Path to pthread was missing.
Nathan Letwory [Tue, 3 Apr 2012 05:23:23 +0000 (05:23 +0000)]
r45338 added multithreaded OpenEXR loading. Path to pthread was missing.

8 years agopartial fix [#30777] python console utf-8 problem
Campbell Barton [Tue, 3 Apr 2012 03:17:49 +0000 (03:17 +0000)]
partial fix [#30777] python console utf-8 problem

backspace/del now doesn't split up multi-byte characters.
Ctlr+Backspace/Del now work for deleting whole words.

8 years agopatch [#30780] Transform operator leak in aborted edge slide mode
Campbell Barton [Tue, 3 Apr 2012 02:52:34 +0000 (02:52 +0000)]
patch [#30780] Transform operator leak in aborted edge slide mode
from Francisco De La Cruz (xercesblue)

8 years agopatch [#30779] Multiselect mode cause inconsistent selection growing
Campbell Barton [Tue, 3 Apr 2012 02:46:44 +0000 (02:46 +0000)]
patch [#30779] Multiselect mode cause inconsistent selection growing

from Francisco De La Cruz (xercesblue)

The test to use faces was incorrect since mixed vertex and edge mode would be treated as faces.

made own minor change.

8 years agofix [#30772] No more than two subdivions give correct result when adding an icosphere
Campbell Barton [Tue, 3 Apr 2012 02:38:27 +0000 (02:38 +0000)]
fix [#30772] No more than two subdivions give correct result when adding an icosphere

bug was introduced in r45297, which inadvertently broke testing for multiple flags at once.

added BM_elem_flag_test_bool() and BMO_elem_flag_test_bool() to get TRUE/FALSE results rather then the flag value.

8 years agofix for vertex group blend - wasn't functional since the deform verts were being...
Campbell Barton [Tue, 3 Apr 2012 02:16:27 +0000 (02:16 +0000)]
fix for vertex group blend - wasn't functional since the deform verts were being tken from a NULL array,

also made some other improvements
- make it work in weight paint vert sel mode (some unused code for this was in the function).
- add factor slider.
- add to weight paint toolbar.

8 years agobmesh iterators were passing the BMesh as data argument to BM_iter_new(), harmless...
Campbell Barton [Tue, 3 Apr 2012 00:28:38 +0000 (00:28 +0000)]
bmesh iterators were passing the BMesh as data argument to BM_iter_new(), harmless but incorrect.
replace these cases with iterator macro.

8 years agocode cleanup: BM_select_mode_set had loops over verts and edges but did nothing ...
Campbell Barton [Mon, 2 Apr 2012 23:17:56 +0000 (23:17 +0000)]
code cleanup: BM_select_mode_set had loops over verts and edges but did nothing (set 0 flags), turns out setting any flags isnt needed since flushing manages this so '#if 0' for now.

8 years agostyle cleanup: multi-line if's & whitespace.
Campbell Barton [Mon, 2 Apr 2012 22:40:02 +0000 (22:40 +0000)]
style cleanup: multi-line if's & whitespace.

8 years agostule cleanup: edits for files which were recently cleaned up.
Campbell Barton [Mon, 2 Apr 2012 22:26:00 +0000 (22:26 +0000)]
stule cleanup: edits for files which were recently cleaned up.

8 years agoFurther fix for #30769: cycles assigning image to wrong material form the
Brecht Van Lommel [Mon, 2 Apr 2012 19:38:26 +0000 (19:38 +0000)]
Further fix for #30769: cycles assigning image to wrong material form the
uv image editor.

8 years agoFix #30769: cycles showing wrong image from active face in the uv editor,
Brecht Van Lommel [Mon, 2 Apr 2012 16:30:01 +0000 (16:30 +0000)]
Fix #30769: cycles showing wrong image from active face in the uv editor,
with multiple material slots.

8 years agoFix #30776: image editor pan not using continuous grab if enabled.
Brecht Van Lommel [Mon, 2 Apr 2012 16:29:34 +0000 (16:29 +0000)]
Fix #30776: image editor pan not using continuous grab if enabled.

8 years agoFix #30398: Mesh objects with curve modifiers render in thier 'rest' position, not...
Sergey Sharybin [Mon, 2 Apr 2012 15:06:21 +0000 (15:06 +0000)]
Fix #30398: Mesh objects with curve modifiers render in thier 'rest' position, not thier 'pose' position

Do not recalculate curve's path if displist is building for orco -- in this
case modifiers are not applying on curve which makes path be calculated and
later used by dependent objects with it's non-modified state.

8 years agoExpand active scene's clip when linking scene.
Sergey Sharybin [Mon, 2 Apr 2012 13:56:39 +0000 (13:56 +0000)]
Expand active scene's clip when linking scene.

8 years agoSolve namespace conflicts for ole grumpy MinGW. It seems FLOAT is also defined in...
Antony Riakiotakis [Mon, 2 Apr 2012 13:48:20 +0000 (13:48 +0000)]
Solve namespace conflicts for ole grumpy MinGW. It seems FLOAT is also defined in a windef.h header.

8 years agoFix #30767: VSE timeline marker update
Sergey Sharybin [Mon, 2 Apr 2012 12:37:03 +0000 (12:37 +0000)]
Fix #30767: VSE timeline marker update

Patch by Dan Eicher, thanks!

8 years agoHopefully last change to matrix orthogonal check, touches Py API only
Sergey Sharybin [Mon, 2 Apr 2012 12:36:00 +0000 (12:36 +0000)]
Hopefully last change to matrix orthogonal check, touches Py API only

- is_orthogonal now checks matrix in the same way as it's defined
  by linear algebra, meaning that it'll use is_orhonormal C check
- Added is_orthogonal_axis_vectors to check if vectors which defines
  axises are orthogonal

8 years agoFix #30770: missing node editor redraw when changing active material by clicking
Brecht Van Lommel [Mon, 2 Apr 2012 11:51:36 +0000 (11:51 +0000)]
Fix #30770: missing node editor redraw when changing active material by clicking
on face in edit mode.

8 years agowrap RNA's RNA_property_collection_clear from python.
Campbell Barton [Mon, 2 Apr 2012 11:28:26 +0000 (11:28 +0000)]
wrap RNA's RNA_property_collection_clear from python.

8 years agoMultithreaded EXR files loading
Sergey Sharybin [Mon, 2 Apr 2012 11:04:24 +0000 (11:04 +0000)]
Multithreaded EXR files loading

Use multithreaded loading of EXR files which is enabling by call of
setGlobalThreadCount function from OpenEXR library to set up number
of used threads to number of system threads which speeds up loading
high-resolution files on multi-core / multi-cpu systems and allows
to work with high-resolution sequences in clip editor and sequencer.

8 years agofix for a bug with Ctrl+Click extrude in curve editmode, it would use the wrong handl...
Campbell Barton [Mon, 2 Apr 2012 10:20:10 +0000 (10:20 +0000)]
fix for a bug with Ctrl+Click extrude in curve editmode, it would use the wrong handle type in some cases.
also make it re-calculate the handle locations which is much more useful.

8 years agofix problem with select invert - flush selection.
Campbell Barton [Mon, 2 Apr 2012 09:07:02 +0000 (09:07 +0000)]
fix problem with select invert - flush selection.

previously this wasnt needed because doing an undo push would flush the selection.

8 years agoadding back boundary inset support. was disabled because at one point it was unstable.
Campbell Barton [Mon, 2 Apr 2012 08:58:26 +0000 (08:58 +0000)]
adding back boundary inset support. was disabled because at one point it was unstable.

8 years agofix [#30758] bmesh: unable to rip a single vertex
Campbell Barton [Mon, 2 Apr 2012 08:35:12 +0000 (08:35 +0000)]
fix [#30758] bmesh: unable to rip a single vertex

this also adds the ability to rip disconnected face fans apart which is handy.

8 years agoConstraint UI:
Thomas Dinges [Mon, 2 Apr 2012 07:54:12 +0000 (07:54 +0000)]
Constraint UI:
* Adjust "no py constraint" message to be a bit more meaningful.

8 years agoMinor UI messages fix...
Bastien Montagne [Mon, 2 Apr 2012 06:56:16 +0000 (06:56 +0000)]
Minor UI messages fix...

8 years agocode cleanup: replace inline axis angle conversion with axis_angle_to_mat3()
Campbell Barton [Mon, 2 Apr 2012 06:43:16 +0000 (06:43 +0000)]
code cleanup: replace inline axis angle conversion with axis_angle_to_mat3()

8 years agostyle cleanup
Campbell Barton [Mon, 2 Apr 2012 06:26:52 +0000 (06:26 +0000)]
style cleanup

8 years agopatch [#30721] Fly Operator Stack Corruption
Campbell Barton [Mon, 2 Apr 2012 05:34:58 +0000 (05:34 +0000)]
patch [#30721] Fly Operator Stack Corruption
from Jason Wilkins (jwilkins)

slight change to fix in patch.

8 years agofix [#30768] Project from View UV map tool includes hidden geometry r45323
Campbell Barton [Mon, 2 Apr 2012 04:45:44 +0000 (04:45 +0000)]
fix [#30768] Project from View UV map tool includes hidden geometry r45323

select all could select hidden faces, now BM_mesh_elem_flag_enable/disable_all takes an argument to skip hidden elements.

8 years agofix - extrude could create hidden faces when the only connected face to an edge was...
Campbell Barton [Mon, 2 Apr 2012 03:51:16 +0000 (03:51 +0000)]
fix - extrude could create hidden faces when the only connected face to an edge was hidden, the hidden setting would be copied to the newly created face.

8 years agocode cleanup:
Campbell Barton [Mon, 2 Apr 2012 02:41:28 +0000 (02:41 +0000)]
code cleanup:
  always use if (...) even if the macros dont require it (confuses parsers)
  define macros without the ';'s included.

8 years agostyle cleanup
Campbell Barton [Mon, 2 Apr 2012 01:57:56 +0000 (01:57 +0000)]
style cleanup

8 years agoReverting some style changes from r45305.
Nicholas Bishop [Sun, 1 Apr 2012 15:25:07 +0000 (15:25 +0000)]
Reverting some style changes from r45305.

See discussion here:
http://lists.blender.org/pipermail/bf-committers/2012-April/036098.html

8 years agoPartial fix [#30744] BMesh: Particle system face/volume emission doesn't work if...
Bastien Montagne [Sun, 1 Apr 2012 15:02:19 +0000 (15:02 +0000)]
Partial fix [#30744] BMesh: Particle system face/volume emission doesn't work if there is a constructive modifier earlier.

When ORIGSPACE is added, it is now a loop data, so we need to mark tessdata as dirty too. Also fixed DM_ensure_tessface to check DM_DIRTY_TESS_CDLAYERS flag!

This fixes problems with subsurf + dynapaint + particles, however, some modifiers, like remesh, seems to create a new dm from scratch, hence loosing completely those CD layers… Note this bug already existed in 2.62, so this is not a regression.

8 years agofix for [#30738] Shading smooth/flat instability
Andrea Weikert [Sun, 1 Apr 2012 10:36:54 +0000 (10:36 +0000)]
fix for [#30738] Shading smooth/flat instability

Committing patch from Francisco De La Cruz ([#30753] Shade smooth not preserved when toggling editmode)
Thanks for researching this and providing fix.

8 years agoFix for is_orthogonal check which in fact was checking for orthonormal matrix.
Sergey Sharybin [Sun, 1 Apr 2012 00:14:41 +0000 (00:14 +0000)]
Fix for is_orthogonal check which in fact was checking for orthonormal matrix.
Separated it into two functions so now it'll be clear if check happens for
orthonormal or just orthogonal.

8 years agoMerged changes in the trunk up to revision 45308.
Tamito Kajiyama [Sat, 31 Mar 2012 22:09:43 +0000 (22:09 +0000)]
Merged changes in the trunk up to revision 45308.

Conflicts resolved:
source/blender/editors/interface/resources.c
source/blender/editors/mesh/editmesh_select.c
source/blender/editors/space_view3d/drawobject.c

8 years agoFixing kyrgyz language (code is ky_KG, just ky does not work...).
Bastien Montagne [Sat, 31 Mar 2012 14:22:22 +0000 (14:22 +0000)]
Fixing kyrgyz language (code is ky_KG, just ky does not work...).

These keycodes are a mess, and impossible to test them all under linux, as you always have to install the corresponding locales... :(

8 years agoSmall array modifier performance improvement.
Nicholas Bishop [Sat, 31 Mar 2012 12:29:41 +0000 (12:29 +0000)]
Small array modifier performance improvement.

Transform vertices directly rather than using BMOp.

8 years agoMinor code cleanups for bmo_dupe.c.
Nicholas Bishop [Sat, 31 Mar 2012 12:29:17 +0000 (12:29 +0000)]
Minor code cleanups for bmo_dupe.c.

8 years agostyle cleanup: text editor
Campbell Barton [Sat, 31 Mar 2012 04:24:02 +0000 (04:24 +0000)]
style cleanup: text editor

8 years agocode cleanup: use uppercase defines and change drawFCurveFade into static function.
Campbell Barton [Sat, 31 Mar 2012 04:04:58 +0000 (04:04 +0000)]
code cleanup: use uppercase defines and change drawFCurveFade into static function.

8 years agocode cleanup: use uppercase for defines and dont end macro's with ;
Campbell Barton [Sat, 31 Mar 2012 03:36:15 +0000 (03:36 +0000)]
code cleanup: use uppercase for defines and dont end macro's with ;

8 years agomove debug flag into its own global var (G.debug), split up debug options.
Campbell Barton [Sat, 31 Mar 2012 00:59:17 +0000 (00:59 +0000)]
move debug flag into its own global var (G.debug), split up debug options.
  --debug
  --debug-ffmpeg
  --debug-python
  --debug-events
  --debug-wm

This makes debug output easier to read - event debug prints would flood output too much before.

For convenience:
  --debug-all turns all debug flags on (works as --debug did before).

also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.

8 years agoFix bug 30195, Array modifier fails to merge vertices.
Nicholas Bishop [Fri, 30 Mar 2012 17:30:56 +0000 (17:30 +0000)]
Fix bug 30195, Array modifier fails to merge vertices.

All cases should work now -- that's adjacent duplicate merging,
first-last duplicate merging, and start/end cap merging. A lot of
complexity really, wonder if it might not be better to just do a full
"remove doubles" rather than try to match pre-BMesh behavior exactly.

8 years agoFor BMesh functions that test flags, add enabled/disabled variants.
Nicholas Bishop [Fri, 30 Mar 2012 17:30:49 +0000 (17:30 +0000)]
For BMesh functions that test flags, add enabled/disabled variants.

8 years agoAdd BMO function to append to a buffer slot.
Nicholas Bishop [Fri, 30 Mar 2012 17:30:24 +0000 (17:30 +0000)]
Add BMO function to append to a buffer slot.

8 years agoImage editor: shortcuts 1-key to 8-key for switching between render slots, patch
Brecht Van Lommel [Fri, 30 Mar 2012 16:09:12 +0000 (16:09 +0000)]
Image editor: shortcuts 1-key to 8-key for switching between render slots, patch
by Damir Prebeg.

Also changed back J-key slot switching to only cycle through used slots, not used
slots + 1. This is much more useful to compare two renders easily, rather than being
shown an empty slot each time.

8 years agoNode socket values now only have soft limits, rather than hard limits, so you
Brecht Van Lommel [Fri, 30 Mar 2012 16:09:05 +0000 (16:09 +0000)]
Node socket values now only have soft limits, rather than hard limits, so you
can type in any value, and only when sliding the number value there is a limit.
It was already possible to assign any value to a socket with node linking, so
this shouldn't cause any new issues.

Also raised the limits on the math nodes, with a patch by Agustin Benavidez.

8 years agoFix #30708: pressing escape in the color picker popup did not reset to the previous...
Brecht Van Lommel [Fri, 30 Mar 2012 16:08:48 +0000 (16:08 +0000)]
Fix #30708: pressing escape in the color picker popup did not reset to the previous color.

8 years agoFix out-of-date slot type sizes.
Nicholas Bishop [Fri, 30 Mar 2012 13:49:32 +0000 (13:49 +0000)]
Fix out-of-date slot type sizes.

The BMO_OPSLOT_TYPEINFO array was out of date, the last two entries
were off by one. Updated with correct values and added comments to
make it easier to match up in future.

Also changed the alloc string for mapping slot's ghash to something
more descriptive than "bemsh op".

8 years agoFix [#30709] Renaming a bone renames all drivers' targets using a bone of that name...
Bastien Montagne [Fri, 30 Mar 2012 13:04:29 +0000 (13:04 +0000)]
Fix [#30709] Renaming a bone renames all drivers' targets using a bone of that name, regardless of the armature.

This fix adds a "ref_id" ID pointer to BKE_all_animdata_fix_paths_rename() & co, which is the ID against which prefix+oldName/NewName is "applied", currently only used for drivers' bones targets. Just pass NULL to get same behavior as previously. A bit annoying to make such a change for such a specific case, but there seems to be no other way to go... :/

8 years agopatch to add __deepcopy__ to mathutils types, this is no different to __copy__, excep...
Campbell Barton [Fri, 30 Mar 2012 11:35:58 +0000 (11:35 +0000)]
patch to add __deepcopy__ to mathutils types, this is no different to __copy__, except some py utilities expect __deepcopy__ to exist, so better have them.

8 years agoAdded new command-line arguments --debug-ffmpeg and --debug-libmv to
Sergey Sharybin [Fri, 30 Mar 2012 10:37:49 +0000 (10:37 +0000)]
Added new command-line arguments --debug-ffmpeg and --debug-libmv to
be able to see debug prints coming from FFmpeg or libmv independently
of general blender debug messages.

8 years agoCamera tracking refactoring:
Sergey Sharybin [Fri, 30 Mar 2012 10:37:39 +0000 (10:37 +0000)]
Camera tracking refactoring:

- Deduplicate patetrn sampling used in esm and lmicklt trackers and
  move SamplePattern to image/sample.h - Move computation of Pearson
  product-moment correlation into own function in new file image/correlation.h
  so all trackers can use it to check final correlation.
- Remove SAD tracker. It's almost the same as brute tracker, with only two differences:
  1. It does brute search of affine transformation which in some cases helps to track
     rotating features 2. It didn't use common tracker api which probably gave some
     speed advantage, but lead to a real headache to use it together with other
     trackers leading to duplicated code in blender side.
- Switch blenedr to use brute tracker instead of sad tracker which tracking made
  source code much more simple to follow.

8 years agoCleanup: move tracking settings to be just after Track panel which makes it easier to
Sergey Sharybin [Fri, 30 Mar 2012 10:37:20 +0000 (10:37 +0000)]
Cleanup: move tracking settings to be just after Track panel which makes it easier to
control things during tracking.

8 years agostyle cleanup
Campbell Barton [Fri, 30 Mar 2012 10:00:20 +0000 (10:00 +0000)]
style cleanup

8 years agofix [#30732] bmesh: loop select continues through hidden sections.
Campbell Barton [Fri, 30 Mar 2012 09:27:54 +0000 (09:27 +0000)]
fix [#30732] bmesh: loop select continues through hidden sections.

8 years agopartial fix for [#30732] bmesh: loop select continues through hidden sections.
Campbell Barton [Fri, 30 Mar 2012 08:43:47 +0000 (08:43 +0000)]
partial fix for [#30732] bmesh: loop select continues through hidden sections.

loop cut and edge ring select still need to be fixed.

8 years agominor speedup converting a BMesh to a Mesh - avoid loop over all faces to count how...
Campbell Barton [Fri, 30 Mar 2012 06:45:13 +0000 (06:45 +0000)]
minor speedup converting a BMesh to a Mesh - avoid loop over all faces to count how many loops to use, since BMesh stores totloop.

also use camel case for UndoMesh (convention)

8 years agofix [#30643] Crasher on entering edit mode with VBOs enabled
Campbell Barton [Fri, 30 Mar 2012 06:11:59 +0000 (06:11 +0000)]
fix [#30643] Crasher on entering edit mode with VBOs enabled

8 years agoupdated add mesh template for bmesh. thanks to PKHG for initial conversion.
Campbell Barton [Fri, 30 Mar 2012 05:43:33 +0000 (05:43 +0000)]
updated add mesh template for bmesh. thanks to PKHG for initial conversion.

8 years agofix for finding the python exception line number when running a script in the text...
Campbell Barton [Fri, 30 Mar 2012 05:26:08 +0000 (05:26 +0000)]
fix for finding the python exception line number when running a script in the text editor.

- filename comparison was invalid
- was stopping on the first traceback, which would reference the caller but not the error line (when the error was in a function).

8 years agofix [#30729]
Campbell Barton [Fri, 30 Mar 2012 03:33:42 +0000 (03:33 +0000)]
fix [#30729]

custom property add/remove wasnt doing an undo push.

8 years agostyle cleanup: interface
Campbell Barton [Fri, 30 Mar 2012 01:51:25 +0000 (01:51 +0000)]
style cleanup: interface

8 years agofix for unhiding faces showing invalid normals.
Campbell Barton [Fri, 30 Mar 2012 01:11:11 +0000 (01:11 +0000)]
fix for unhiding faces showing invalid normals.

8 years agofix [#30725] BMesh - Select Linked ignores faces
Campbell Barton [Fri, 30 Mar 2012 00:58:29 +0000 (00:58 +0000)]
fix [#30725] BMesh - Select Linked ignores faces

8 years agofix [#30718] Selecting vertices, edges, faces and undoing - results in wrong header...
Campbell Barton [Fri, 30 Mar 2012 00:23:22 +0000 (00:23 +0000)]
fix [#30718] Selecting vertices, edges, faces and undoing - results in wrong header status info

converting mesh to bmesh resulted in incorrect stats.

8 years agosupport for opengl rendering in the sequencer (header icons as with 3D view).
Campbell Barton [Thu, 29 Mar 2012 23:33:50 +0000 (23:33 +0000)]
support for opengl rendering in the sequencer (header icons as with 3D view).

while opengl could be used for display you couldn't output it to a file.

extended the existing opengl render operator to optionally take input from the sequencer.

notes:
- doesn't redraw in the viewport yet (only output in terminal)
- doesn't do OSA

8 years agoSmall fix for r45256, AKEY (de)selection not working.
Nicholas Bishop [Thu, 29 Mar 2012 23:14:09 +0000 (23:14 +0000)]
Small fix for r45256, AKEY (de)selection not working.

Added call to BM_mesh_select_mode_flush on entering edit mode.

8 years agoSmall code cleanups related to arrays.
Nicholas Bishop [Thu, 29 Mar 2012 23:13:44 +0000 (23:13 +0000)]
Small code cleanups related to arrays.

* Added helpful comment on 'keepverts' slot of bmop finddoubles.
* Removed unused macro 'E' from MOD_array.

8 years agostyle cleanup: render
Campbell Barton [Thu, 29 Mar 2012 22:42:32 +0000 (22:42 +0000)]
style cleanup: render

8 years agostyle cleanup: minor change and remove redundant casts
Campbell Barton [Thu, 29 Mar 2012 22:35:12 +0000 (22:35 +0000)]
style cleanup: minor change and remove redundant casts

8 years agostyle cleanup: sequencer
Campbell Barton [Thu, 29 Mar 2012 22:26:11 +0000 (22:26 +0000)]
style cleanup: sequencer

8 years agoFix "First Last" merge option in array modifier (partial fix for bug 30195)
Nicholas Bishop [Thu, 29 Mar 2012 20:58:25 +0000 (20:58 +0000)]
Fix "First Last" merge option in array modifier (partial fix for bug 30195)

8 years agoAdd stub for ED_mesh_calc_tessface to get blenderplayer compiling again.
Antony Riakiotakis [Thu, 29 Mar 2012 17:17:39 +0000 (17:17 +0000)]
Add stub for ED_mesh_calc_tessface to get blenderplayer compiling again.

8 years agoFix #30717: Bmesh Branch manipulator bug (Maya Keymaps)
Sergey Sharybin [Thu, 29 Mar 2012 15:50:51 +0000 (15:50 +0000)]
Fix #30717: Bmesh Branch manipulator bug (Maya Keymaps)

Issue was caused by storing operator properties for VIEW3D_OT_enable_manipulator