Bastien Montagne
9751653410
Renaming CD_WEIGHT_MCOL/MLOOPCOL and their masks from WEIGHT to PREVIEW, as this layer is now also used for various preview tasks in Object mode.
...
“Cleanup” commit, no functional changes.
2012-03-22 08:41:50 +00:00
Campbell Barton
7044d80639
code cleanup: remove BMesh * args from query functions which don't need it
2012-03-22 07:53:11 +00:00
Campbell Barton
4c3bb77012
style cleanup: spaces aroudn operators for operator definitions.
2012-03-22 07:26:09 +00:00
Campbell Barton
675628d24d
bmesh: debugging function to help resolve issues with corrupt mesh data - BM_mesh_validate()
2012-03-22 05:13:43 +00:00
Campbell Barton
23c8298ca0
fix for python called operators getting/setting the operator last used state, also set object.vertex_group_assign.new to false when accessed from blenders UI
2012-03-22 02:00:14 +00:00
Campbell Barton
b6c2f9ddab
style cleanup: enforce macros using a semicolon.
2012-03-22 01:35:13 +00:00
Campbell Barton
b56d2f9766
fix [ #30623 ] user-defined render presets bug
...
this report exposed multiple bugs in blender when using a non utf8 compatible home directory.
- bpy.utils.script_paths() would crash when homedir wasn't utf8 (reported bug)
- PyC_DefaultNameSpace() - would raise an error when running when __file__ was non utf8.
- preset filepath property was not set to accept non utf8.
- bpy.paths.display_name would raise an error on non utf8 paths, (used for preset draw)
2012-03-21 22:29:49 +00:00
Antony Riakiotakis
95f66f162c
Fix #30504 selecting self-intersecting face loop won't work correctly.
...
Added generic secondary hash to walker. In faceloop select it is used to remember if edge has been previously visited, in addition to the hash used for faces. This solves the case where walker stops if it finds an already added face.
2012-03-21 21:40:42 +00:00
Campbell Barton
ff7088088f
fix issue with own recent commit - was accessing freed 'wm' on loading files.
2012-03-21 21:01:58 +00:00
Peter Schlaile
d8623da305
== Sequencer ==
...
This adds movieclip input support to the sequencer, thereby making
undistorted and stabilized footage available without a seperate render step.
Also: removes some old cruft code from the sequencer:
* new_tstripdata wasn't used anymore
* StripElems were allocated for SCENE strips on full length, wasting memory
Added a comment, that hopefully makes things a little bit clearer:
StripElems are *only* usefull for MOVIE + IMAGE strips for all other strip
types one can set this pointer to NULL. (If that should cause otherwise
problems, then the code that doesn't check for NULL is to blame!)
2012-03-21 18:02:29 +00:00
Sergey Sharybin
ee1dc84239
Fix for crash on selecting loop in cases when some edges aren't connected to any faces.
2012-03-21 17:34:31 +00:00
Sergey Sharybin
af46a2902f
Use linear interpolation for intersecting tracks when joining them together.
2012-03-21 17:21:27 +00:00
Sergey Sharybin
e82cd12560
Tracking objects were creating with zero scale.
2012-03-21 16:45:27 +00:00
Bastien Montagne
d5600a43f6
Quick fix to broken text editor/console from r45051.
...
Note: not completely sure this is the way to go, but at least it works (and is easy to revert in case there is better solution ;) ).
2012-03-21 15:51:15 +00:00
Sergey Sharybin
fde62b2d90
Fix #30616 : Inconsistency Del and Backspace of resetting values
...
Color circle, waveform and histogram were still using Del key for resetting value.
Changed to backspace.
2012-03-21 14:19:45 +00:00
Sergey Sharybin
c3e37cf15f
Fix #30622 : documentation example code for bge.types.KX_MeshProxy did not work,
...
using fix suggested by Ryan King.
2012-03-21 14:13:54 +00:00
Antony Riakiotakis
b06f238bb0
Fix blenderplayer utf8 cmake for MinGW (linking order matters for gcc)
2012-03-21 12:35:39 +00:00
Campbell Barton
f127a0cd6f
modify osx CMake hack so the CMake files can be parsed more easily by naive my error checker.
2012-03-21 12:15:02 +00:00
Campbell Barton
b15255e820
move some bmesh headers into intern/ since they are not used externally.
2012-03-21 12:08:16 +00:00
Campbell Barton
7a43cd7909
fix [ #30613 ] B-mesh - inset created invalid mesh
...
inset could make a quad that used the same vertex multiple times.
2012-03-21 11:31:40 +00:00
Campbell Barton
08b7e6ac14
partial fix for bug [ #30613 ], inset creating invalid meshes, however its still possible to cause a crash with a different selection, will fix next.
2012-03-21 09:39:45 +00:00
Campbell Barton
d76c05cd36
style cleanup: bmesh
2012-03-21 09:10:08 +00:00
Joerg Mueller
112ef14422
Fix for [ #30499 ] video sequencer crashes when moving around within a sequence.
2012-03-21 09:04:34 +00:00
Campbell Barton
6053e4f06c
rename ngon tessellate function.
2012-03-21 08:35:50 +00:00
Campbell Barton
e11c67e1dc
fix [ #30617 ] regression: select similar no threshold
2012-03-21 07:49:05 +00:00
Campbell Barton
bec263e2a3
wm/operator code:
...
Change operator previous settings initialization not to use the redo stack since this gets cleared and it means only redo operators can re-use last settings.
now this works for import/export as well.
2012-03-21 06:33:31 +00:00
Campbell Barton
9773f87891
bmesh docs:
...
- add examples for custom-data access
- group BMesh types logically in docs
- added missing docstrings
needed to add grouping functionality to sphinx for this.
2012-03-21 05:33:37 +00:00
Campbell Barton
1d5922fbaf
minor changes to sphinx doc generator title formatting
2012-03-21 04:43:17 +00:00
Campbell Barton
de5cff8785
starting blender with -W option would cause other windows (like user preferences to be fullscreen too), now only override once.
2012-03-20 23:52:23 +00:00
Campbell Barton
e3d96cd27b
patch [ #30593 ] Minor 3D View Hint Changes
...
from Harley Acheson (harley)
2012-03-20 23:44:02 +00:00
Campbell Barton
5935ff3aaa
fix for Quaternion.to_axis_angle() returning a zero axis vector.
2012-03-20 23:37:54 +00:00
Alexander Kuznetsov
c2531e47b6
Fix for compiling bplayer on cmake/win after adding utf support.
...
Reported by Miika
2012-03-20 23:10:46 +00:00
Campbell Barton
b482a0d4fc
patch [ #30602 ] Wiki Quick Hack: Apply Transformation To Lattices
...
from Justin Dailey (dail)
2012-03-20 23:09:28 +00:00
Campbell Barton
303cecf139
spelling cleanup: tesselate -> tessellate (last of these found)
2012-03-20 22:56:26 +00:00
Campbell Barton
6193c47c39
disable re-using 'number_cuts' setting on operators, problem was that you could subdiv a plane many times but then go to subdivide a high poly mesh and it would start with really high subdiv value (possibly running out of ram and crashing).
2012-03-20 22:27:08 +00:00
Campbell Barton
11500a3590
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.
2012-03-20 22:00:21 +00:00
Campbell Barton
7dda8182ad
fix to possible bug running python callbacks - bpy.app.handlers.* to support handlers removing themselves from the list.
2012-03-20 20:37:40 +00:00
Daniel Genrich
d74ab9d598
Smoke bugfix: Collision objects were completely broken in some cases since no tessfaces were generated. (Thanks to Campbell for giving me the solution)
2012-03-20 20:32:17 +00:00
Brecht Van Lommel
0b4260a0d8
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.
2012-03-20 20:06:10 +00:00
Brecht Van Lommel
69f352770b
Fix related #30606 : missing undo push editing node inputs in properties editor.
2012-03-20 19:56:45 +00:00
Brecht Van Lommel
577bef62eb
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.
2012-03-20 19:32:31 +00:00
Brecht Van Lommel
b26d3f371a
Fix #30603 : cycles incorrect ray differentials when rendering with panorama
...
camera, causing bump map issues.
2012-03-20 19:32:12 +00:00
Lukas Toenne
9687c1fd2e
Remaining fix for #30606 . Added a simple link limit check when replacing nodes and relinking inputs, to avoid double links on inputs.
2012-03-20 17:56:12 +00:00
Daniel Genrich
8186c5e429
Smoke bugfix: Fix copy paste + bad "if's" resulting in missing releation in depsgraph (smoke collision groups not working, collision object relations wrong).
2012-03-20 17:51:14 +00:00
Brecht Van Lommel
e89642ef99
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.
2012-03-20 17:02:03 +00:00
Sergey Sharybin
d78accb585
Correction for previous commit to make normals direction always inside
2012-03-20 17:00:25 +00:00
Lukas Toenne
8486a2187f
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.
2012-03-20 16:59:00 +00:00
Sergey Sharybin
5ae9ad9113
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.
2012-03-20 16:17:34 +00:00
Brecht Van Lommel
8b4c1f729b
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.
2012-03-20 16:16:17 +00:00
Sergey Sharybin
6628318fdb
Port mball_to_mesh to use polys.
2012-03-20 14:23:22 +00:00