8 years agopatch from Richard Shaw, exclude ffmpeg files when its disabled.
Campbell Barton [Tue, 20 Mar 2012 22:00:21 +0000 (22:00 +0000)]
patch from Richard Shaw, exclude ffmpeg files when its disabled.

also fix for incorrect text in mesh specials menu - Select Inverse was called (De)Select All.

8 years agofix to possible bug running python callbacks -* to support handlers...
Campbell Barton [Tue, 20 Mar 2012 20:37:40 +0000 (20:37 +0000)]
fix to possible bug running python callbacks -* to support handlers removing themselves from the list.

8 years agoSmoke bugfix: Collision objects were completely broken in some cases since no tessfac...
Daniel Genrich [Tue, 20 Mar 2012 20:32:17 +0000 (20:32 +0000)]
Smoke bugfix: Collision objects were completely broken in some cases since no tessfaces were generated. (Thanks to Campbell for giving me the solution)

8 years agoPatch #30611: grey out bone show wireframe option if no custom shape is set,
Brecht Van Lommel [Tue, 20 Mar 2012 20:06:10 +0000 (20:06 +0000)]
Patch #30611: grey out bone show wireframe option if no custom shape is set,
since it only has an effect in that case. Patch by Sebastian Nell.

8 years agoFix related #30606: missing undo push editing node inputs in properties editor.
Brecht Van Lommel [Tue, 20 Mar 2012 19:56:45 +0000 (19:56 +0000)]
Fix related #30606: missing undo push editing node inputs in properties editor.

8 years agoFix #30543: tessellating ngons with small angles was failing. There was a quite
Brecht Van Lommel [Tue, 20 Mar 2012 19:32:31 +0000 (19:32 +0000)]
Fix #30543: tessellating ngons with small angles was failing. There was a quite
arbitrary limit of pi/24 for picking 3 vertices to use for computing a normal,
now it uses vertices with the maximum angle between them.

8 years agoFix #30603: cycles incorrect ray differentials when rendering with panorama
Brecht Van Lommel [Tue, 20 Mar 2012 19:32:12 +0000 (19:32 +0000)]
Fix #30603: cycles incorrect ray differentials when rendering with panorama
camera, causing bump map issues.

8 years agoRemaining fix for #30606. Added a simple link limit check when replacing nodes and...
Lukas Toenne [Tue, 20 Mar 2012 17:56:12 +0000 (17:56 +0000)]
Remaining fix for #30606. Added a simple link limit check when replacing nodes and relinking inputs, to avoid double links on inputs.

8 years agoSmoke bugfix: Fix copy paste + bad "if's" resulting in missing releation in depsgraph...
Daniel Genrich [Tue, 20 Mar 2012 17:51:14 +0000 (17:51 +0000)]
Smoke bugfix: Fix copy paste + bad "if's" resulting in missing releation in depsgraph (smoke collision groups not working, collision object relations wrong).

8 years agoFix #30600: extrude in vertex select mode did not copy attributes like smooth/flat
Brecht Van Lommel [Tue, 20 Mar 2012 17:02:03 +0000 (17:02 +0000)]
Fix #30600: extrude in vertex select mode did not copy attributes like smooth/flat
flag from adjacent face. It did work for edge select mode, now uses same code.

8 years agoCorrection for previous commit to make normals direction always inside
Sergey Sharybin [Tue, 20 Mar 2012 17:00:25 +0000 (17:00 +0000)]
Correction for previous commit to make normals direction always inside

8 years agoPartial fix for #30606. In node tree updates also update the sock->link pointers...
Lukas Toenne [Tue, 20 Mar 2012 16:59:00 +0000 (16:59 +0000)]
Partial fix for #30606. In node tree updates also update the sock->link pointers when only the NTREE_UPDATE_NODES flag is set, this happens when duplicating a node, which can lead to wrong pointers on the duplicated but unlinked node.

8 years agoFix #30420: Metaball Shading Inverted in Raytrace Reflection (Blender Internal)
Sergey Sharybin [Tue, 20 Mar 2012 16:17:34 +0000 (16:17 +0000)]
Fix #30420: Metaball Shading Inverted in Raytrace Reflection (Blender Internal)

Issue was caused by negative scale of camera. Metabolls are using procedural
normals and in case of negative scaled camera normals for them shall be flipped.

8 years agoCycles: fix issue reported in IRC, rendering a material that mixes a transparent
Brecht Van Lommel [Tue, 20 Mar 2012 16:16:17 +0000 (16:16 +0000)]
Cycles: fix issue reported in IRC, rendering a material that mixes a transparent
and glass BSDF would give a different result with/without using light passes.

8 years agoPort mball_to_mesh to use polys.
Sergey Sharybin [Tue, 20 Mar 2012 14:23:22 +0000 (14:23 +0000)]
Port mball_to_mesh to use polys.

8 years agoFix for [#30445] Particle simulation, rekey crashes blender
Janne Karhu [Tue, 20 Mar 2012 12:59:45 +0000 (12:59 +0000)]
Fix for [#30445] Particle simulation, rekey crashes blender
- Entering particle mode crashed due to missing checks if a particle didn't have any baked keys.
- The rekey functionality is only supported for hair, so replaced the operator poll function with the correct one.
- Also replaced a couple of other "only hair" operator poll functions to the correct ones.

8 years agoFix #30590: Crash in multires when undoing extrude [File incl.]
Sergey Sharybin [Tue, 20 Mar 2012 11:51:04 +0000 (11:51 +0000)]
Fix #30590: Crash in multires when undoing extrude [File incl.]

Missed initialization of hidden array when copying mdisps data from
one face to another.

8 years agotemp disable inset boundary option, it can make invalid meshes, need to look into...
Campbell Barton [Tue, 20 Mar 2012 11:45:55 +0000 (11:45 +0000)]
temp disable inset boundary option, it can make invalid meshes, need to look into this further.

8 years agoreplace SETCOL defines with inline function: rgba_char_args_set
Campbell Barton [Tue, 20 Mar 2012 09:45:17 +0000 (09:45 +0000)]
replace SETCOL defines with inline function: rgba_char_args_set

8 years agorename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.
Campbell Barton [Tue, 20 Mar 2012 08:42:26 +0000 (08:42 +0000)]
rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.

8 years agoFix uninitialized variable in multires apply base.
Nicholas Bishop [Tue, 20 Mar 2012 08:23:53 +0000 (08:23 +0000)]
Fix uninitialized variable in multires apply base.

Reported on BlenderArtists by Guffy, was causing ugly spikes in lower

8 years agopy/rna api - fix for an empty enum flag with no members being displayed as {}, now...
Campbell Barton [Tue, 20 Mar 2012 07:52:39 +0000 (07:52 +0000)]
py/rna api - fix for an empty enum flag with no members being displayed as {}, now check for this case and display as set()

8 years agofix [#30589] RNA function descriptions not showing in Python console on autocomplete
Campbell Barton [Tue, 20 Mar 2012 07:41:47 +0000 (07:41 +0000)]
fix [#30589] RNA function descriptions not showing in Python console on autocomplete

show rna function description and arguments now.

8 years agofix [#30583] very old blend files are loading post-bmesh with no face/uv information...
Campbell Barton [Tue, 20 Mar 2012 05:04:51 +0000 (05:04 +0000)]
fix [#30583] very old blend files are loading post-bmesh with no face/uv information, just wires

versioning code called a customdata update function which ended up clearing tessfaces - before converting polygons to tessfaces.
Added check so tessfaces aren't cleared when there are no polygons.

8 years agostyle cleanup
Campbell Barton [Tue, 20 Mar 2012 04:27:14 +0000 (04:27 +0000)]
style cleanup

8 years agoMake collision function more general so it can be used by other modifiers, too. ...
Daniel Genrich [Tue, 20 Mar 2012 04:15:41 +0000 (04:15 +0000)]
Make collision function more general so it can be used by other modifiers, too. [This is preparation work for animated smoke collision]

8 years agostyle cleanup
Campbell Barton [Tue, 20 Mar 2012 04:09:43 +0000 (04:09 +0000)]
style cleanup

8 years agocompile fix: linux BLI_gzopen declare was conflicting.
Campbell Barton [Tue, 20 Mar 2012 03:48:32 +0000 (03:48 +0000)]
compile fix: linux BLI_gzopen declare was conflicting.

8 years agopy api:
Campbell Barton [Tue, 20 Mar 2012 03:13:25 +0000 (03:13 +0000)]
py api:
fix for collection functions not showing up in __dir__,

eg, console autocomplete didnt show up

also fix refcounting leak with returning attributes from collections.

8 years agoAdds support for utf paths on Windows.
Alexander Kuznetsov [Tue, 20 Mar 2012 02:17:37 +0000 (02:17 +0000)]
Adds support for utf paths on Windows.

Not all file formats/calls are supported yet. It will be expended.

Please from now on use BLI_fopen, BLI_* for file manipulations.
For non-windows systems BLI_fopen just calls fopen.
For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.

8 years agoreal fix for booleans and face shading this time.
Campbell Barton [Tue, 20 Mar 2012 01:33:24 +0000 (01:33 +0000)]
real fix for booleans and face shading this time.

CDDM_tessfaces_to_faces wasbt updating the polyindex (missed incrementing the polyindex pointer).

also added an assert so non release builds will complain when CDDM_calc_edges_tessface() needs to run before CDDM_tessfaces_to_faces().

8 years agoSome advanced particle rotation modes and reorganization of the rotation panel:
Janne Karhu [Tue, 20 Mar 2012 01:00:28 +0000 (01:00 +0000)]
Some advanced particle rotation modes and reorganization of the rotation panel:
- More angular velocity modes to support creative effects.
- Renamed "Initial Rotation" to "Initial Orientation" to better reflect the functionality
- Renamed "Spin" angular velocity mode to "Velocity".
- Organized the rotation panel a bit better.
- Also some better names and tooltips for the different rotation values.

8 years agoCDDM_calc_edges_tessface was being called twice for boolean and explide modifiers...
Campbell Barton [Tue, 20 Mar 2012 00:59:51 +0000 (00:59 +0000)]
CDDM_calc_edges_tessface was being called twice for boolean and explide modifiers, now leave it up to the caller to run.

8 years agopartial fix for bug where booleans were using invalid face/poly normals.
Campbell Barton [Tue, 20 Mar 2012 00:51:37 +0000 (00:51 +0000)]
partial fix for bug where booleans were using invalid face/poly normals.

the problem remains (though not quite as bad) but think this is because of a bug elsewhere.

8 years agopatch [#30595] Wiki Quick Hacks: Make Tooltip Background Colour Themeable
Campbell Barton [Mon, 19 Mar 2012 22:29:16 +0000 (22:29 +0000)]
patch [#30595] Wiki Quick Hacks: Make Tooltip Background Colour Themeable
from luke frisken (lfrisken)

8 years agoQuiet warnings about unused functions and variables.
Nicholas Bishop [Mon, 19 Mar 2012 22:21:40 +0000 (22:21 +0000)]
Quiet warnings about unused functions and variables.

Commented or '#if 0' these functions/variables and marked with
'UNUSED' comment so they can be restored in the future if needed.

8 years agobmesh inset: outset option
Campbell Barton [Mon, 19 Mar 2012 21:40:17 +0000 (21:40 +0000)]
bmesh inset: outset option

8 years agoFix format string warnings (gcc) by using string literals.
Nicholas Bishop [Mon, 19 Mar 2012 21:38:35 +0000 (21:38 +0000)]
Fix format string warnings (gcc) by using string literals.

gcc 4.6 was giving warnings like this:
"warning: format not a string literal and no format arguments [-Wformat-security]"

8 years agobmesh inset:
Campbell Barton [Mon, 19 Mar 2012 21:27:24 +0000 (21:27 +0000)]
bmesh inset:
  option to inset boundaries.

8 years agoRedraw data properties after selecting a bone.
Nicholas Bishop [Mon, 19 Mar 2012 21:21:23 +0000 (21:21 +0000)]
Redraw data properties after selecting a bone.

This is so that selecting bones while in weight paint mode will show
the correct active vertex group.

8 years agoFix #30531: mirror modifier with vertex groups did not add both the left and
Brecht Van Lommel [Mon, 19 Mar 2012 21:09:16 +0000 (21:09 +0000)]
Fix #30531: mirror modifier with vertex groups did not add both the left and
right groups to merged vertices, only one. This made the result asymmetric,
now merged vertices will be part of both groups with half weight.

8 years agoFix #30590: Crash in multires when undoing extrude [File incl.]
Sergey Sharybin [Mon, 19 Mar 2012 20:47:17 +0000 (20:47 +0000)]
Fix #30590: Crash in multires when undoing extrude [File incl.]

- Crash was caused by recursively copying directory into itself, fixed
  by switching from opendir() to scandir().
- Also do not try to unpack images which doesn't have name.

8 years agoRemove debug print in create_vert_poly_map
Nicholas Bishop [Mon, 19 Mar 2012 20:28:22 +0000 (20:28 +0000)]
Remove debug print in create_vert_poly_map

8 years agostyle cleanup: minor change to bmesh py repr + comment on loop radial next/prev to...
Campbell Barton [Mon, 19 Mar 2012 20:01:59 +0000 (20:01 +0000)]
style cleanup: minor change to bmesh py repr + comment on loop radial next/prev to avoid confusion.

8 years agofix for error reported on IRC, sorting zero sized lists would cause a crash.
Campbell Barton [Mon, 19 Mar 2012 19:27:39 +0000 (19:27 +0000)]
fix for error reported on IRC, sorting zero sized lists would cause a crash.

8 years agoSpelling of UI messages (then -> than).
Bastien Montagne [Mon, 19 Mar 2012 19:17:17 +0000 (19:17 +0000)]
Spelling of UI messages (then -> than).

8 years agoFix #30456: transforming object with a hair particle system, on a frame after
Brecht Van Lommel [Mon, 19 Mar 2012 18:14:24 +0000 (18:14 +0000)]
Fix #30456: transforming object with a hair particle system, on a frame after
the cache end frame would reset to the previous state on confirm. Was an issue
with object animation being evaluated unnecessarily, now make check more

8 years agoFix #30449: sampled motion blur not working with softbody.
Brecht Van Lommel [Mon, 19 Mar 2012 17:22:01 +0000 (17:22 +0000)]
Fix #30449: sampled motion blur not working with softbody.

8 years agoFix #30594: UV editor transform tools did not show help/pivot line to indicate
Brecht Van Lommel [Mon, 19 Mar 2012 17:21:46 +0000 (17:21 +0000)]
Fix #30594: UV editor transform tools did not show help/pivot line to indicate
transform center as it did in 2.49.

8 years agoFix for drag-n-drop images into sequencer: it was impossible to select files
Sergey Sharybin [Mon, 19 Mar 2012 10:52:16 +0000 (10:52 +0000)]
Fix for drag-n-drop images into sequencer: it was impossible to select files
from a file browser after dropping image strip from an external application.

8 years agobmesh inset:
Campbell Barton [Mon, 19 Mar 2012 09:47:32 +0000 (09:47 +0000)]
bmesh inset:
  fix hole when 2+ faces a vert but no edges (would make a hole), now splice the verts back together.

8 years agostyle cleanup: + some spelling errors for inset
Campbell Barton [Mon, 19 Mar 2012 08:49:49 +0000 (08:49 +0000)]
style cleanup: + some spelling errors for inset

8 years agocode cleanup: bmesh api - make arg order consistent - htype before hflag or oflag.
Campbell Barton [Mon, 19 Mar 2012 08:36:27 +0000 (08:36 +0000)]
code cleanup: bmesh api - make arg order consistent - htype before hflag or oflag.

8 years agoGrmml, dummy typo in previous UI message-fix commit… :/
Bastien Montagne [Mon, 19 Mar 2012 07:57:35 +0000 (07:57 +0000)]
Grmml, dummy typo in previous UI message-fix commit… :/

8 years agobmesh inset:
Campbell Barton [Mon, 19 Mar 2012 07:20:54 +0000 (07:20 +0000)]
bmesh inset:
improve inset code by not allocating an array the size of edges - instead count all inset edges and allocate an array only for those.
also fixes an error where edge lengths were being compared while the verts were being placed. (now do beforehand)

8 years agobmesh: inset tool, access from face menu (Ctrl+F)
Campbell Barton [Mon, 19 Mar 2012 05:45:15 +0000 (05:45 +0000)]
bmesh: inset tool, access from face menu (Ctrl+F)

- Even option (like solidify even option)
- Relative option (insets based on lengths of surrounding edges)

TODO: merge tares when 2+ face corners meet but don't form a contiguous region.

8 years agoAdd a multires function to delete MDisps.
Nicholas Bishop [Mon, 19 Mar 2012 05:13:41 +0000 (05:13 +0000)]
Add a multires function to delete MDisps.

The code was duplicated in various places, replaced with calls to
a new function, multires_customdata_delete().

8 years agoBMesh utility functions, not used yet,
Campbell Barton [Mon, 19 Mar 2012 01:57:42 +0000 (01:57 +0000)]
BMesh utility functions, not used yet,
- BM_edge_loop_pair incase you need the loops rather then the faces.
- BM_edge_ordered_verts_ex() - accepts a loop argument.
- BM_edge_length_calc() - simple length calc, useful if the edge is in some array, saves assigning a var and using len_v3v2().

8 years agobetter error reporting when a bmesh operator fails. (give reason and show char number...
Campbell Barton [Sun, 18 Mar 2012 23:38:31 +0000 (23:38 +0000)]
better error reporting when a bmesh operator fails. (give reason and show char number that fails)

8 years agoFix for [#30495] Framerate goes crazy after changing Sync mode from "Frame Dropping...
Joerg Mueller [Sun, 18 Mar 2012 22:21:29 +0000 (22:21 +0000)]
Fix for [#30495] Framerate goes crazy after changing Sync mode from "Frame Dropping" to "no Sync" while playing anim

8 years agoFix [#30234] Various problems with CD layers and tesselation, related to modifiers...
Bastien Montagne [Sun, 18 Mar 2012 22:06:57 +0000 (22:06 +0000)]
Fix [#30234] Various problems with CD layers and tesselation, related to modifiers stack.

Should also fix [#30266], [#29451], and partly [#30316].

Here are the changes made by this commit:
* It adds a "dirty" flag to DerivedMesh struct (for now, only DM_DIRTY_TESS_CDLAYERS, but more might be added as needed).
* It adds a new func, DM_update_tessface_data, which assumes tessfaces themselves are valid, but updates tessellated customdata from their poly/loop counter parts.
* At end of modstack, when valid tessellated faces are present in finaldm , but the cdlayers dirty flag is set, call that function (instead of recomputing the whole tessellation).
* Edits to the codes concerned (UVProject, DynamicPaint, and Subsurf modifiers).
* Also add to subsurf dm generation code the creation of a CD_POLYINDEX layer (mandatory for DM_update_tessface_data to work well, and imho all tessellated dm should have one).

Note: some pieces of old code are just #if 0’ed, will clean them later.

8 years ago"Fix" for [#30098] Particle rotation wrong / explode modifier
Janne Karhu [Sun, 18 Mar 2012 21:33:00 +0000 (21:33 +0000)]
"Fix" for [#30098] Particle rotation wrong / explode modifier
- The main problem was that in order to be accurate all particle
  rotations have to be calculated incrementally so the only working
  solution is to store rotations to the point cache (previously
  this was only done for dynamic rotations). This can nearly double
  the point cache size so it's not ideal to have this as a default
  as in many cases you don't care about particle rotations.
- Particle rotation panel now has a new "enable" checkbox that
  enables rotation calculations and the storing of rotations to
  point cache.
- Old files will have rotations enabled via do_versions so that in
  the worst case old files will only get bigger point caches, but no
  sudden loss of particle rotations.

8 years agolattice & UV 'select all' menu items were missing action assignment.
Campbell Barton [Sun, 18 Mar 2012 20:10:58 +0000 (20:10 +0000)]
lattice & UV 'select all' menu items were missing action assignment.

8 years agoGrumph, more fixes in this Select menu (Invert had default op name for metaball and...
Bastien Montagne [Sun, 18 Mar 2012 20:04:41 +0000 (20:04 +0000)]
Grumph, more fixes in this Select menu (Invert had default op name for metaball and particules...). Also fixed "(De)select All" name of particule op.

8 years agoFix [#30588] "select/deselect all"-menu for lattice doesn't default to TOGGLE
Bastien Montagne [Sun, 18 Mar 2012 19:55:42 +0000 (19:55 +0000)]
Fix [#30588] "select/deselect all"-menu for lattice doesn't default to TOGGLE

8 years ago== Sequencer ==
Peter Schlaile [Sun, 18 Mar 2012 19:32:26 +0000 (19:32 +0000)]
== Sequencer ==

Small fix for the last fix. Mixed up x and y scale... oh dear.

8 years agoRelease cycle
Thomas Dinges [Sun, 18 Mar 2012 16:01:11 +0000 (16:01 +0000)]
Release cycle
* BCon3: Beta. Ongoing module work, bug fixes and polishing features.

8 years agoAllow dropping image files from outside blender, or image datablocks from inside...
Sv. Lockal [Sun, 18 Mar 2012 15:12:11 +0000 (15:12 +0000)]
Allow dropping image files from outside blender, or image datablocks from inside blender to the shader and texture node editors, to add an image node. Earlier this was possible only for compositing node editor.

8 years agoRe-enable the clay strips sculpt brush.
Nicholas Bishop [Sun, 18 Mar 2012 11:44:14 +0000 (11:44 +0000)]
Re-enable the clay strips sculpt brush.

Most of the tool code was already in place, only significant
functionality change is that anchored stroke works now.

* Gave it a new icon, but could use a better one
* Default .blend should have a clay strips brush

8 years agoRename 'clay tubes' to 'clay strips' and include it in the capabilities RNA.
Nicholas Bishop [Sun, 18 Mar 2012 11:44:00 +0000 (11:44 +0000)]
Rename 'clay tubes' to 'clay strips' and include it in the capabilities RNA.

8 years agoUse enums for brush flags and sculpt tools.
Nicholas Bishop [Sun, 18 Mar 2012 11:43:51 +0000 (11:43 +0000)]
Use enums for brush flags and sculpt tools.

8 years ago== Sequencer ==
Peter Schlaile [Sun, 18 Mar 2012 11:43:22 +0000 (11:43 +0000)]
== Sequencer ==

Fixes typos in RECORD_RUN_NO_GAPS timecode description.

8 years ago== Sequencer ==
Peter Schlaile [Sun, 18 Mar 2012 11:13:28 +0000 (11:13 +0000)]
== Sequencer ==

Fix for:
[#29758] Sequencer `Image Offset` error with render percentage

* make preprocess parameters completely independent from render resolution
  (they are always relative to *final* resolution now)
* fix yesterdays fix for proxy resolution rendering (the case of unbuild
  proxies wasn't handled correctly)

8 years agoStyle cleanup in sculpt.c, no functional changes.
Nicholas Bishop [Sun, 18 Mar 2012 09:35:09 +0000 (09:35 +0000)]
Style cleanup in sculpt.c, no functional changes.

8 years agoCode style edits (mostly spliting long lines, and removing trailing spaces).
Bastien Montagne [Sun, 18 Mar 2012 09:27:36 +0000 (09:27 +0000)]
Code style edits (mostly spliting long lines, and removing trailing spaces).

Note about long lines: I did not touch to two pieces of code (because I don’t see any way to keep a nicely formated, compact code, with shorter lines):
* The node types definitions into rna_nodetree_types.h
* The vgroup name functions into rna_particle.c

8 years agofix for own mistake when refactoring bmesh - was treating the iterator as a type...
Campbell Barton [Sun, 18 Mar 2012 09:21:24 +0000 (09:21 +0000)]
fix for own mistake when refactoring bmesh - was treating the iterator as a type flag.

8 years agospelling cleanup
Campbell Barton [Sun, 18 Mar 2012 07:38:51 +0000 (07:38 +0000)]
spelling cleanup

8 years agongons draw with uniform normals in object mode now, I had this code disabled for...
Campbell Barton [Sun, 18 Mar 2012 06:49:32 +0000 (06:49 +0000)]
ngons draw with uniform normals in object mode now, I had this code disabled for speed (it was being called when it didnt need to), but for CDDM meshes without face normal layers this should still be called.

8 years agocode cleanup:
Campbell Barton [Sun, 18 Mar 2012 06:01:33 +0000 (06:01 +0000)]
code cleanup:
* replace 2D vector copy with copy_v2_v2().
* use puts rather then printf for single strings.
* style cleanup for drawobject.c indentation.

8 years agoSVN maintenance.
Guillermo S. Romero [Sun, 18 Mar 2012 01:58:16 +0000 (01:58 +0000)]
SVN maintenance.

8 years agobetter not to use rgb_float_to_uchar() from last commit (comment as to why)
Campbell Barton [Sat, 17 Mar 2012 23:37:14 +0000 (23:37 +0000)]
better not to use rgb_float_to_uchar() from last commit (comment as to why)

8 years agofix for weightpaint color with recent loopcolor abgr --> rgba conversion.
Campbell Barton [Sat, 17 Mar 2012 23:26:25 +0000 (23:26 +0000)]
fix for weightpaint color with recent loopcolor abgr --> rgba conversion.

8 years agobmesh py api:
Campbell Barton [Sat, 17 Mar 2012 23:22:44 +0000 (23:22 +0000)]
bmesh py api:

  use different types for bm.verts.layers, bm.faces.layers, otherwise the layers look to have customdata type that isnt compatible, UV's on edges for eg.

8 years agocode cleanup: not all mathutils callback creation functions tool unsigned char for...
Campbell Barton [Sat, 17 Mar 2012 22:31:57 +0000 (22:31 +0000)]
code cleanup: not all mathutils callback creation functions tool unsigned char for type & subtype args.

8 years agofix for invalid use of strncat (N == how many bytes may be appended, not the final...
Campbell Barton [Sat, 17 Mar 2012 22:14:52 +0000 (22:14 +0000)]
fix for invalid use of strncat (N == how many bytes may be appended, not the final string size).

8 years agofix: UV Islands not selected properly with Ctrl-L. A simple misplacement of the BMFac...
Antony Riakiotakis [Sat, 17 Mar 2012 22:12:17 +0000 (22:12 +0000)]
fix: UV Islands not selected properly with Ctrl-L. A simple misplacement of the BMFace iterating variable. Also cleaned up an unused nverts variable.

8 years agoupdate vertex paint code for last commit, was still using ABGR order.
Campbell Barton [Sat, 17 Mar 2012 21:11:28 +0000 (21:11 +0000)]
update vertex paint code for last commit, was still using ABGR order.

8 years agoswap BMLoopCol r/b color, requires subversion bump.
Campbell Barton [Sat, 17 Mar 2012 20:39:28 +0000 (20:39 +0000)]
swap BMLoopCol r/b color, requires subversion bump.

old mesh MCol 'r' was blue, 'b' was red, but theres no reason to keep this for bmesh with MLoopCol.

Loading old files works, saving legacy format works too.

What wont work is loading a file after this revision and loading it in an older revision since the bmesh merge.
(it wont crash but the blue and red will be swapped on vertex color layers).

8 years agobmesh py api:
Campbell Barton [Sat, 17 Mar 2012 19:34:02 +0000 (19:34 +0000)]
bmesh py api:
  access to MLoopCol as mathutils.Color type

8 years ago== Sequencer ==
Peter Schlaile [Sat, 17 Mar 2012 19:31:28 +0000 (19:31 +0000)]
== Sequencer ==

Bugfix: [#28159] sequencer strip crop values on proxy not scene render size

Also: IMB saturation change moved into imbuf-module.

8 years agoUI messages: unification of select/deselect stuff.
Bastien Montagne [Sat, 17 Mar 2012 19:14:08 +0000 (19:14 +0000)]
UI messages: unification of select/deselect stuff.

Previously we had three versions, Select/Deselect, Select or Deselect, and (De)select, choosen the third (shortest) one for now.

8 years agodont disable python when addons aren't found (addons are not needed for python to...
Campbell Barton [Sat, 17 Mar 2012 18:33:51 +0000 (18:33 +0000)]
dont disable python when addons aren't found (addons are not needed for python to run)

8 years agoFix 30562: bevel was infinite looping when adjacent faces had incompatible normals
Howard Trickey [Sat, 17 Mar 2012 15:47:48 +0000 (15:47 +0000)]
Fix 30562: bevel was infinite looping when adjacent faces had incompatible normals

The fix is to check for cases where BME_Bevel_Dissolve_Disk was trying
to join faces with opposite normals and reverse one.  This isn't a great
fix, and the example blend has strange corners at the top after beveling,
but at least it stops the infinite loops.

8 years agoBig step forward nodes UI translation:
Bastien Montagne [Sat, 17 Mar 2012 14:42:44 +0000 (14:42 +0000)]
Big step forward nodes UI translation:
*Add menu is now translated.
*Nodes' title is now translated.
*Nodes' sockets' labels are now translated.

However, about the last point, and unless I’m mistaking, we’ll have to add the "i18n tag" N_() to all sockets' names, in the input/ouput templates declaration, in all nodes' files, as those sockets are collections created at runtime, I think po-generating script has no way to access that from bpy.types... Quite a piece of (borring) work. :/

8 years agoMinor UI messages fixes, and enabling i18n for all modifier_setError() error messages.
Bastien Montagne [Sat, 17 Mar 2012 14:27:46 +0000 (14:27 +0000)]
Minor UI messages fixes, and enabling i18n for all modifier_setError() error messages.

8 years agocompile fix for 44939
Jens Verwiebe [Sat, 17 Mar 2012 12:32:36 +0000 (12:32 +0000)]
compile fix for 44939

8 years agoFix for yesterday i18n own commit (r44924): we now need to define WITH_INTERNATIONAL...
Bastien Montagne [Sat, 17 Mar 2012 12:07:58 +0000 (12:07 +0000)]
Fix for yesterday i18n own commit (r44924): we now need to define WITH_INTERNATIONAL everywhere TIP_/IFACE_ macros are used (else, we get non-international, dummy NOP macros instead!).

Also fixed in main CMakeList file, when no addon dir found, we want to disable WITH_PYTHON (I guess, certainly not WITH_INTERNATIONAL ;) ).

8 years agominor mathutils code cleanup - use mathutils callbacks as unsigned chars everywhere.
Campbell Barton [Sat, 17 Mar 2012 10:46:02 +0000 (10:46 +0000)]
minor mathutils code cleanup - use mathutils callbacks as unsigned chars everywhere.

8 years agoMake grumpy gcc happy again! :p
Bastien Montagne [Sat, 17 Mar 2012 10:23:44 +0000 (10:23 +0000)]
Make grumpy gcc happy again! :p

8 years agobmesh py api:
Campbell Barton [Sat, 17 Mar 2012 06:40:44 +0000 (06:40 +0000)]
bmesh py api:

added per loop UV layer access