blender.git
8 years agobmesh py api:
Campbell Barton [Tue, 27 Mar 2012 10:30:10 +0000 (10:30 +0000)]
bmesh py api:
  added access to deform weights, access to weights acts like a python dict so you can do...

  print(group in dvert)
  dvert[group] = 0.5
  print(dvert[group])
  del dvert[group]
  print(dvert.items())

8 years agoFix bug 30696, circular mesh objects had wrong orientation.
Nicholas Bishop [Tue, 27 Mar 2012 10:28:06 +0000 (10:28 +0000)]
Fix bug 30696, circular mesh objects had wrong orientation.

Behavior now matches 2.62, circle, cone, and cylinder get first vertex
at 0 degrees.

Also fixed range for vertex property of add-cone and add-cylinder
operators, changed minumum from two to three.

8 years agoFix bug 29123, subdivide smooth distorts shape with numcuts > 1.
Nicholas Bishop [Tue, 27 Mar 2012 09:24:00 +0000 (09:24 +0000)]
Fix bug 29123, subdivide smooth distorts shape with numcuts > 1.

Three fixes:

* When smoothing a coord, the original position should be based off
  the unsmoothed subdivision (i.e. the vertex coord rather than the
  smoothed position in the shapekey)

* The normal of new vertices created by edge split must be updated
  (used the same interpolation as pre-bmesh here)

* The vertices created inside the subdivided face should use the
  subdivided coords from edges, so copy the shapekey coords back to
  vertex coords after subdividing edges

8 years agoPort Setup Tracking scene to bmesh api
Sergey Sharybin [Tue, 27 Mar 2012 09:10:05 +0000 (09:10 +0000)]
Port Setup Tracking scene to bmesh api

8 years agoMakeDupliFaces was using mesh.faces which was renamed to mesh.tessfaces.
Sergey Sharybin [Tue, 27 Mar 2012 08:59:36 +0000 (08:59 +0000)]
MakeDupliFaces was using mesh.faces which was renamed to mesh.tessfaces.
TODO about porting it to polys is still relevant.

8 years agoreload_sequence_new_file now works with movie clip strips as well
Sergey Sharybin [Tue, 27 Mar 2012 08:54:37 +0000 (08:54 +0000)]
reload_sequence_new_file now works with movie clip strips as well

8 years agominor code/style cleanup
Campbell Barton [Tue, 27 Mar 2012 05:03:23 +0000 (05:03 +0000)]
minor code/style cleanup

8 years agofix for undoMesh_to_editbtMesh not setting BMEditMesh.ob field.
Campbell Barton [Tue, 27 Mar 2012 04:54:52 +0000 (04:54 +0000)]
fix for undoMesh_to_editbtMesh not setting BMEditMesh.ob field.

error found by XercesBlue on IRC

8 years agostyle/name cleanup: have EDBM_* functions match our style guide and also match BM_...
Campbell Barton [Tue, 27 Mar 2012 04:46:52 +0000 (04:46 +0000)]
style/name cleanup: have EDBM_* functions match our style guide and also match BM_ function naming conventions

8 years agofix error in last commit
Campbell Barton [Tue, 27 Mar 2012 01:52:49 +0000 (01:52 +0000)]
fix error in last commit

8 years agobmesh todo, unlikly but possible - entering editmode with faces and no polys.
Campbell Barton [Tue, 27 Mar 2012 01:28:25 +0000 (01:28 +0000)]
bmesh todo, unlikly but possible - entering editmode with faces and no polys.

rather then printing a warning and failing - convert them to polys.

8 years agostyle cleanup: wm, mosyly adding space around ops
Campbell Barton [Tue, 27 Mar 2012 01:24:16 +0000 (01:24 +0000)]
style cleanup: wm, mosyly adding space around ops

8 years agouse cmake WITH_MOD_ * to exclude include paths which are not used.
Campbell Barton [Tue, 27 Mar 2012 00:17:57 +0000 (00:17 +0000)]
use cmake WITH_MOD_ * to exclude include paths which are not used.

8 years agofix [#30651] bpy.ops.object.mode_set(...) editmode removes faces.
Campbell Barton [Tue, 27 Mar 2012 00:01:35 +0000 (00:01 +0000)]
fix [#30651] bpy.ops.object.mode_set(...) editmode removes faces.

problem was that BMesh had tessellation call when undo pushes were called.

if python called an operator with no undo push, tessfaces would not be created.

fix this by making it the responsibility of each editmesh operator to re-tessellate, as it is with notifiers and depsgraph.
added EDBM_update_generic() function to add notifier, tag for depsgraph update and optionally re-tessellate.

8 years agoReturn back sfra property to Sequence structure to prevent data loose
Sergey Sharybin [Mon, 26 Mar 2012 22:36:32 +0000 (22:36 +0000)]
Return back sfra property to Sequence structure to prevent data loose
until things discussing in #30663 will be resolved.

8 years agoClean-up logic of behavior of refresh/reload operators in sequencer
Sergey Sharybin [Mon, 26 Mar 2012 22:26:30 +0000 (22:26 +0000)]
Clean-up logic of behavior of refresh/reload operators in sequencer

After discussion with Campbell we found much nicer solution which
keeps operation with data much more clear:

- Refresh Sequencer is totally harmless, do not touch actual data
  and just removes everything from cache
- Reload Strip will reload data and adjust it's length for all
  selected strips without affecting on length of strip itself
- Reload Strip and Adjust length will do the same but will also
  adjust length of strip itself.

8 years agoquiet some warnings for gcc 4.7
Campbell Barton [Mon, 26 Mar 2012 20:49:33 +0000 (20:49 +0000)]
quiet some warnings for gcc 4.7

8 years agostyle cleanup: py api
Campbell Barton [Mon, 26 Mar 2012 20:41:54 +0000 (20:41 +0000)]
style cleanup: py api

8 years agoFix for position of array-modifier end cap when not using a fixed count.
Nicholas Bishop [Mon, 26 Mar 2012 19:50:45 +0000 (19:50 +0000)]
Fix for position of array-modifier end cap when not using a fixed count.

Moved calculation of final offset so that correct count value has been set.

8 years agoFix run-time warning of freeing null pointer in array modifier.
Nicholas Bishop [Mon, 26 Mar 2012 19:44:25 +0000 (19:44 +0000)]
Fix run-time warning of freeing null pointer in array modifier.

8 years agoRenaming pt_BR to pt, as a recent reform [1] made most country speaking portugese...
Bastien Montagne [Mon, 26 Mar 2012 17:24:54 +0000 (17:24 +0000)]
Renaming pt_BR to pt, as a recent reform [1] made most country speaking portugese use a same, common version of it, which we want to use here.

[1] http://www.reformaortografica.com/

8 years agoFix for truncation of 64-bit CustomDataMasks.
Nicholas Bishop [Mon, 26 Mar 2012 16:25:21 +0000 (16:25 +0000)]
Fix for truncation of 64-bit CustomDataMasks.

Can't use GET_INT_FROM_POINTER anymore with CD masks, as this
truncates to 32-bit.

Bug: http://projects.blender.org/tracker/index.php?func=detail&aid=30680&group_id=9&atid=498
CR: http://codereview.appspot.com/5905059/

8 years agoStyle cleanup of movie cache module
Sergey Sharybin [Mon, 26 Mar 2012 16:04:10 +0000 (16:04 +0000)]
Style cleanup of movie cache module

8 years agoFix crash of Refresh Sequencer when some Movie / MovieClip strips doesn't have animat...
Sergey Sharybin [Mon, 26 Mar 2012 15:57:00 +0000 (15:57 +0000)]
Fix crash of Refresh Sequencer when some Movie / MovieClip strips doesn't have animation opened

8 years agoFix #30675: Default .blend should have clay strips brush
Sergey Sharybin [Mon, 26 Mar 2012 15:29:27 +0000 (15:29 +0000)]
Fix #30675: Default .blend should have clay strips brush

8 years agoDefault settings for new movie clip tracking now is the same as Default preset
Sergey Sharybin [Mon, 26 Mar 2012 14:30:30 +0000 (14:30 +0000)]
Default settings for new movie clip tracking now is the same as Default preset

8 years agoFix for segfault when building proxies in Sequencer.
Bastien Montagne [Mon, 26 Mar 2012 14:10:15 +0000 (14:10 +0000)]
Fix for segfault when building proxies in Sequencer.

8 years agoRequest from Mango team which will most probably expected by everyone:
Sergey Sharybin [Mon, 26 Mar 2012 13:48:45 +0000 (13:48 +0000)]
Request from Mango team which will most probably expected by everyone:

Refresh Sequencer button will now update lengths of strips as well.

8 years agoFix for own error in sequencer's Select menu (from r40658, makes me wonder if anyone...
Bastien Montagne [Mon, 26 Mar 2012 13:45:06 +0000 (13:45 +0000)]
Fix for own error in sequencer's Select menu (from r40658, makes me wonder if anyone uses that feature except me...), and update to Select Grouped op (taking into account new MovieClip strip type).

8 years ago- MovieClip strips now have got valid color for older saved files
Sergey Sharybin [Mon, 26 Mar 2012 13:36:22 +0000 (13:36 +0000)]
- MovieClip strips now have got valid color for older saved files
- Update Strip Length will now properly update lenght of movie clip
  strips created from movies before lenght was added there.

8 years agoFix for crash when adding image sequence movie clip into a sequencer
Sergey Sharybin [Mon, 26 Mar 2012 13:30:53 +0000 (13:30 +0000)]
Fix for crash when adding image sequence movie clip into a sequencer

8 years agoCycles: fix for ColorRamp node alpha output.
Brecht Van Lommel [Mon, 26 Mar 2012 13:21:43 +0000 (13:21 +0000)]
Cycles: fix for ColorRamp node alpha output.

8 years agoFix #30676: UV unwrap did not create UV map with proper default coordinates.
Brecht Van Lommel [Mon, 26 Mar 2012 13:21:13 +0000 (13:21 +0000)]
Fix #30676: UV unwrap did not create UV map with proper default coordinates.

8 years agoFix blenderplayer build, adding stub.
Brecht Van Lommel [Mon, 26 Mar 2012 12:45:28 +0000 (12:45 +0000)]
Fix blenderplayer build, adding stub.

8 years agoCycles: add ColorRamp node.
Brecht Van Lommel [Mon, 26 Mar 2012 12:45:14 +0000 (12:45 +0000)]
Cycles: add ColorRamp node.

8 years agoFix [#30684] Bmesh AddTorus.execute failure.
Bastien Montagne [Mon, 26 Mar 2012 12:43:48 +0000 (12:43 +0000)]
Fix [#30684] Bmesh AddTorus.execute failure.

Done BMESH_TODO (use polys/loops instead of tessfaces).

8 years agoFix #30647: Error in wire drawing of subsurf
Sergey Sharybin [Mon, 26 Mar 2012 12:20:46 +0000 (12:20 +0000)]
Fix #30647: Error in wire drawing of subsurf

Patch by Nicholas Bishop, thanks!

8 years agofix [#30257] bmesh: Rip "V" don't work on end vertex
Campbell Barton [Mon, 26 Mar 2012 12:02:41 +0000 (12:02 +0000)]
fix [#30257] bmesh: Rip "V" don't work on end vertex

added option to edgesplit bmesh operator to take tagged vertices as well so an edge at a boundary can split without splitting off the boundary vertex.

the behavior/speed of the edge split modifier and tool remainss the same, this is only used for rip.

8 years agoFix #30430: Can only alt+scroll image buffer slot once
Sergey Sharybin [Mon, 26 Mar 2012 11:44:03 +0000 (11:44 +0000)]
Fix #30430: Can only alt+scroll image buffer slot once

Issue was caused by mapping old buttons to new buttons. Render slot button in header
holds RenerResult for particular slot, but in N-panel it holds RenderResult from RenderEngine.
So what was happening is: switching render slot to empty slot makes slot button in header
contain NULL as button function's argument, but old button holds RenderResult for rendered
image, so this two buttons aren't equal and so button isn't getting activated and no scrolling
happens.
Making slot button hold RenderResult directly from RenderEngine (as it's happening with
buttons in N-panel) makes old->new buttons mapping work correct and it's possible
to alt-scroll smoothly

8 years agoFix #30671: Reset to default values bug
Sergey Sharybin [Mon, 26 Mar 2012 10:33:37 +0000 (10:33 +0000)]
Fix #30671: Reset to default values bug

8 years agofix [#30598] Bad 3D view display & render with smooth mesh
Campbell Barton [Mon, 26 Mar 2012 09:38:38 +0000 (09:38 +0000)]
fix [#30598] Bad 3D view display & render with smooth mesh

Sergey's suggestion - just call calc normals fixes.

8 years agoFix for object solver possible pointing to a freed memory when removing
Sergey Sharybin [Mon, 26 Mar 2012 09:36:19 +0000 (09:36 +0000)]
Fix for object solver possible pointing to a freed memory when removing
movie clip data block from python/

8 years agostyle cleanup: use NULL rather than 0 for raytrace code.
Campbell Barton [Mon, 26 Mar 2012 08:58:17 +0000 (08:58 +0000)]
style cleanup: use NULL rather than 0 for raytrace code.

8 years agofix [#30653] Wrong image at UV/Image Editor window
Campbell Barton [Mon, 26 Mar 2012 08:10:12 +0000 (08:10 +0000)]
fix [#30653] Wrong image at UV/Image Editor window

render results would be displayed on loading new files if the scene names matches, now free render-results so as not to display stale data - also saves some memory.

8 years agofix for possible crash - freed scene was being used for render result lookup when...
Campbell Barton [Mon, 26 Mar 2012 08:06:13 +0000 (08:06 +0000)]
fix for possible crash - freed scene was being used for render result lookup when 'Load UI' was disabled.

8 years agoSetup tracking scene works again now
Sergey Sharybin [Mon, 26 Mar 2012 07:51:47 +0000 (07:51 +0000)]
Setup tracking scene works again now

8 years agofix for possible crash using freed ObCenter pointer when loaing a blend file without...
Campbell Barton [Mon, 26 Mar 2012 07:28:31 +0000 (07:28 +0000)]
fix for possible crash using freed ObCenter pointer when loaing a blend file without loading the UI.

8 years agostyle cleanup: python api
Campbell Barton [Mon, 26 Mar 2012 06:55:09 +0000 (06:55 +0000)]
style cleanup: python api

8 years agoMinor fixes to recent new UI messages.
Bastien Montagne [Mon, 26 Mar 2012 06:20:59 +0000 (06:20 +0000)]
Minor fixes to recent new UI messages.

8 years agofix [#30658] existing uv mesh coordinates not copied to new created uv map
Campbell Barton [Mon, 26 Mar 2012 05:28:00 +0000 (05:28 +0000)]
fix [#30658] existing uv mesh coordinates not copied to new created uv map

8 years agodisallow adding tessfaces to a mesh with polygons (only allowed case is creating...
Campbell Barton [Mon, 26 Mar 2012 04:32:04 +0000 (04:32 +0000)]
disallow adding tessfaces to a mesh with polygons (only allowed case is creating a new mesh with tessfaces and later converting to polygons, which wont work if polygons exist)

8 years agosetting the active texture layer from python would get the UV layer out of sync....
Campbell Barton [Mon, 26 Mar 2012 04:23:18 +0000 (04:23 +0000)]
setting the active texture layer from python would get the UV layer out of sync. (entering editmode would show the wrong UV layer)

8 years agostyle cleanup: editors/mesh - mostly whitespace around operators
Campbell Barton [Mon, 26 Mar 2012 02:56:48 +0000 (02:56 +0000)]
style cleanup: editors/mesh - mostly whitespace around operators

8 years agofix [#30657] New UV layers created with Mesh.uv_textures.new reset previous ones.
Campbell Barton [Mon, 26 Mar 2012 02:39:05 +0000 (02:39 +0000)]
fix [#30657] New UV layers created with Mesh.uv_textures.new reset previous ones.

adding UV's from python was resetting the active UV layer but not setting the new layer to active, resetting existing UV's.

8 years agorename lattice influence to strength from r45144 (other deform modifiers call it...
Campbell Barton [Mon, 26 Mar 2012 00:42:21 +0000 (00:42 +0000)]
rename lattice influence to strength from r45144 (other deform modifiers call it strength too)

8 years agofix [#30672] Mesh menu duplicity
Campbell Barton [Mon, 26 Mar 2012 00:12:53 +0000 (00:12 +0000)]
fix [#30672] Mesh menu duplicity

own fault - added this before desolve menu existed.

8 years agostyle cleanup: mostly whitespace around operators
Campbell Barton [Sun, 25 Mar 2012 23:54:33 +0000 (23:54 +0000)]
style cleanup: mostly whitespace around operators

8 years agoCode style cleaup for motion-tracking modules.
Sergey Sharybin [Sun, 25 Mar 2012 23:19:21 +0000 (23:19 +0000)]
Code style cleaup for motion-tracking modules.
Should be no functional changes.

8 years agostyle cleanup: dont use 'else for' for extended blocks of code (quite confusing)
Campbell Barton [Sun, 25 Mar 2012 23:12:42 +0000 (23:12 +0000)]
style cleanup: dont use 'else for' for extended blocks of code (quite confusing)

8 years agostyle cleanup: add braces around checks - 'if ELEM() {...}', confuses some parsers...
Campbell Barton [Sun, 25 Mar 2012 22:35:18 +0000 (22:35 +0000)]
style cleanup: add braces around checks - 'if ELEM() {...}', confuses some parsers that done expand macros.

8 years agoPatch: [#30652] Influence slider for Lattice Modifier
Thomas Dinges [Sun, 25 Mar 2012 22:14:21 +0000 (22:14 +0000)]
Patch: [#30652] Influence slider for Lattice Modifier

* This patch adds a influence slider for the lattice modifier, which affects the strength of the deformation.

Patch by Patrick Boelens (senshi), thanks a lot!

8 years agofix #30668 and the rest of #30638.
Antony Riakiotakis [Sun, 25 Mar 2012 21:18:44 +0000 (21:18 +0000)]
fix #30668 and the rest of #30638.

Port angle stretch code for uvs to bmesh.

Also added comment to clarify previous commit.

8 years agoComment out the projection to ngon normal plane when calculating ngon area. This...
Antony Riakiotakis [Sun, 25 Mar 2012 19:13:50 +0000 (19:13 +0000)]
Comment out the projection to ngon normal plane when calculating ngon area. This is hardly worth the cost since we use an approximation anyway.

8 years agoFix #30638 and part of #30646.
Antony Riakiotakis [Sun, 25 Mar 2012 19:02:28 +0000 (19:02 +0000)]
Fix #30638 and part of #30646.

Problem was that area calculation of polygons was done relative to the xy plane, and with a very obscure (to me at least) algorithm. That meant that vertical ngons would get 0 area.

Commented initial code in case this is a strange optimization case that someone wants to use and used a cleaner algorithm: first project vertices to the ngon plane, defined by the normal of the ngon and the center (mean) of the ngon vertices. This will only be exact for convex and mostly planar ngons, still it is much better than the previous code.

Also fixed memory leak when stretch display was on.

8 years agoFix bug #30673, "Crash: Bridge a pair of edges."
Nicholas Bishop [Sun, 25 Mar 2012 18:19:40 +0000 (18:19 +0000)]
Fix bug #30673, "Crash: Bridge a pair of edges."

Fix edge case for clamp_index() with any negative 'x' that is a
multiple of 'len', was returning 'len' which is invalid index.

Maybe the expression can be simplified back to a one-liner?

8 years agoCycles / CUDA:
Thomas Dinges [Sun, 25 Mar 2012 17:52:50 +0000 (17:52 +0000)]
Cycles / CUDA:
* Make Cycles aware of Computing Capability 3.0, used by the new Kepler Cards.
You'll need the CUDA 4.2 Toolkit to compile it.

8 years agostyle cleanup: issues missed last commit
Campbell Barton [Sun, 25 Mar 2012 15:56:17 +0000 (15:56 +0000)]
style cleanup: issues missed last commit

8 years agobmesh inset: another small improvement - use the shared edge vector rather then the...
Campbell Barton [Sun, 25 Mar 2012 14:44:48 +0000 (14:44 +0000)]
bmesh inset: another small improvement - use the shared edge vector rather then the cross product between 2 faces if the faces infact share an edge - works best for non planer faces.

also added utility function - BM_loop_other_vert_loop

8 years agoinset tool now works better when insetting around corners - the 2 faces normals are...
Campbell Barton [Sun, 25 Mar 2012 13:53:12 +0000 (13:53 +0000)]
inset tool now works better when insetting around corners - the 2 faces normals are now used to calculate the inset edge vector if the faces are different and not planer.

8 years agostyle cleanup: conform to style guide - mostly operator whitespace changes
Campbell Barton [Sun, 25 Mar 2012 12:41:58 +0000 (12:41 +0000)]
style cleanup: conform to style guide - mostly operator whitespace changes

8 years agostyle cleanup: operator/whitespace
Campbell Barton [Sat, 24 Mar 2012 11:27:52 +0000 (11:27 +0000)]
style cleanup: operator/whitespace

8 years agofix for error adding vertex colors in editmode.
Campbell Barton [Sat, 24 Mar 2012 11:02:28 +0000 (11:02 +0000)]
fix for error adding vertex colors in editmode.

also correct delete_customdata_layer having invalid 'tot' in editmode, seems harmless for now but better assign correct value.

8 years agofix for crash removing vertex colors in editmode.
Campbell Barton [Sat, 24 Mar 2012 10:41:42 +0000 (10:41 +0000)]
fix for crash removing vertex colors in editmode.

8 years agostyle cleanup: follow style guide for/with/if spacing
Campbell Barton [Sat, 24 Mar 2012 07:52:14 +0000 (07:52 +0000)]
style cleanup: follow style guide for/with/if spacing

8 years agostyle cleanup: pep8, indentation
Campbell Barton [Sat, 24 Mar 2012 07:36:32 +0000 (07:36 +0000)]
style cleanup: pep8, indentation

8 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 07:09:57 +0000 (07:09 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

8 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 06:38:07 +0000 (06:38 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

8 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 06:24:53 +0000 (06:24 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

8 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 06:18:31 +0000 (06:18 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

8 years agoconvert spaces to tabs and some formatting.
Campbell Barton [Sat, 24 Mar 2012 04:39:53 +0000 (04:39 +0000)]
convert spaces to tabs and some formatting.

8 years agoAdding back delete edge loop to delete menu
Daniel Salazar [Sat, 24 Mar 2012 04:16:44 +0000 (04:16 +0000)]
Adding back delete edge loop to delete menu

8 years agostyle cleanup: mainly for mesh code, also some WM function use.
Campbell Barton [Sat, 24 Mar 2012 02:51:46 +0000 (02:51 +0000)]
style cleanup: mainly for mesh code, also some WM function use.

8 years agoSVN maintenance.
Guillermo S. Romero [Sat, 24 Mar 2012 01:42:08 +0000 (01:42 +0000)]
SVN maintenance.

8 years agocode cleanup: move bmesh inline funcs to headers (avoids compiling the C files).
Campbell Barton [Sat, 24 Mar 2012 01:24:58 +0000 (01:24 +0000)]
code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).

8 years agocode cleanup: bmesh_ source files in our editor dir, they are the same as other...
Campbell Barton [Sat, 24 Mar 2012 00:20:36 +0000 (00:20 +0000)]
code cleanup: bmesh_  source files in our editor dir, they are the same as other editmesh_ files.

8 years agocode cleanup: re-shuffle some functions so EDBM_ functions are in bmesh_utils.c
Campbell Barton [Fri, 23 Mar 2012 23:41:33 +0000 (23:41 +0000)]
code cleanup: re-shuffle some functions so EDBM_ functions are in bmesh_utils.c

remove bmesh_selecthistory.c, only wrapped a few functions.

8 years agofix for error with saving files after double clicking, the 'need_active' setting...
Campbell Barton [Fri, 23 Mar 2012 22:31:14 +0000 (22:31 +0000)]
fix for error with saving files after double clicking, the 'need_active' setting was getting saved which caused save to fail when not caused by double click afterwards.

8 years agocode cleanup: more consistent naming for mesh operator functions.
Campbell Barton [Fri, 23 Mar 2012 21:25:07 +0000 (21:25 +0000)]
code cleanup: more consistent naming for mesh operator functions.

8 years agoSequence Editor Themes:
Thomas Dinges [Fri, 23 Mar 2012 20:50:38 +0000 (20:50 +0000)]
Sequence Editor Themes:
* Preview Background is now themeable. Patch by Pablo Vazquez (venomgfx).

8 years agocode cleanup: use zero_v3
Campbell Barton [Fri, 23 Mar 2012 20:18:09 +0000 (20:18 +0000)]
code cleanup: use zero_v3

8 years agoBetter smoothing for sculpt cube falloff.
Nicholas Bishop [Fri, 23 Mar 2012 16:59:23 +0000 (16:59 +0000)]
Better smoothing for sculpt cube falloff.

The cube test, used by the clay strips brush, now smooths the corners
of the cube using the brush curve.

8 years ago3D View Themes:
Thomas Dinges [Fri, 23 Mar 2012 16:14:25 +0000 (16:14 +0000)]
3D View Themes:
* Camera and Empty colour is now themeable. Patch by Pablo Vazquez (venomgfx) with some minor edits.

8 years agoKnifetool: add help message in header line
Howard Trickey [Fri, 23 Mar 2012 14:52:00 +0000 (14:52 +0000)]
Knifetool: add help message in header line

8 years agoFixed a couple of typos in the Python API docs
Howard Trickey [Fri, 23 Mar 2012 14:29:59 +0000 (14:29 +0000)]
Fixed a couple of typos in the Python API docs

8 years agofix for cmake error on non osx systems
Campbell Barton [Fri, 23 Mar 2012 10:39:59 +0000 (10:39 +0000)]
fix for cmake error on non osx systems

8 years agobmesh editmode - split dissolve into its own menu. mesh delete code was getting quite...
Campbell Barton [Fri, 23 Mar 2012 10:30:42 +0000 (10:30 +0000)]
bmesh editmode - split dissolve into its own menu. mesh delete code was getting quite messy and mixed in too much different functionality just to add in same menu. Now use a pu menu for delete key which can call different ops.

8 years agoFix for jump to keyframe operator reusing property values incorrect
Sergey Sharybin [Fri, 23 Mar 2012 10:18:45 +0000 (10:18 +0000)]
Fix for jump to keyframe operator reusing property values incorrect

8 years agoFix for [#30438] x=zero not accepted for a bone tail.
Bastien Montagne [Fri, 23 Mar 2012 09:18:00 +0000 (09:18 +0000)]
Fix for [#30438] x=zero not accepted for a bone tail.

In fact, problem was in vec_roll_to_mat3(), which has to detect when the bone is aligned with its Y axis, using a threshold. This one have been raised to quite a high value due to bug [#23954], then lowered a bit due to [#27675] (which is imho in fine the same problem as 30438).

Reset it to its org value (very low 1e-13), as testing file given with firt bug did not show any problem anymore... So now, instead of 1/1000 of bone length from Y axis, we have about 3.25*10-7... Only (hardly) noticeable at max zoom level in 3D view.

8 years agofix for error with console command history not working, using previous settings.
Campbell Barton [Fri, 23 Mar 2012 07:08:28 +0000 (07:08 +0000)]
fix for error with console command history not working, using previous settings.

8 years agofix [#30632] Edge Split Modifier (creates invalid mesh)
Campbell Barton [Fri, 23 Mar 2012 05:43:56 +0000 (05:43 +0000)]
fix [#30632] Edge Split Modifier (creates invalid mesh)

bug was caused by modifying loops vert value in a BM_LOOPS_OF_VERT iterator.