Campbell Barton
7c699a217a
define the size of matrix args for both rows/cols.
2012-12-11 14:29:01 +00:00
Campbell Barton
e2f0a1e4db
own cleanup commit in bmesh branch - removed last letters from ends of some comments.
2012-12-11 14:24:27 +00:00
Campbell Barton
06d5747ff3
was using max short on a float in EDBM_face_find_nearest()
2012-12-11 14:21:52 +00:00
Campbell Barton
dfa662f53a
use const char for display device
2012-12-11 14:20:29 +00:00
Campbell Barton
5943c81a93
code cleanup: neareast -> nearest
2012-12-11 14:19:41 +00:00
Campbell Barton
634b22fc46
code cleanup: spelling labda -> lambda
2012-12-11 14:18:37 +00:00
Bastien Montagne
01ab26770f
Fix some RNA subtypes for collections' active/active_index props (some PROP_POINTER had PROP_UNSIGNED!). Harmless, but stupid ;)
2012-12-11 14:11:46 +00:00
Campbell Barton
361eb23a42
switch BLI_ghashutil_strhash() to "djb" hash (as used by glib),
...
Gives approx 10% speedup in my own micro-benchmark looking up operators.
2012-12-11 13:57:58 +00:00
Campbell Barton
3261338aef
unfreeze blender, back to bcon1
2012-12-11 13:56:01 +00:00
Brecht Van Lommel
d321ee3fda
Fix #33476 : cycles environment texture not showing image sequence options properly.
2012-12-11 11:22:51 +00:00
Brecht Van Lommel
c6961305df
Fix game player still not using fast GPU mipmap generation, user preferencs
...
are not actually used here.
2012-12-11 08:01:16 +00:00
Tamito Kajiyama
c9dc80111b
Merged changes in the trunk up to revision 52858.
...
Congratulations to all trunk devs on the Blender 2.65 release!
2012-12-10 23:34:41 +00:00
Sergey Sharybin
5137b5a146
Camera tracking: libmv distortion API now also uses camera intrinsics structure
...
instead of passing all the parameters to every function.
Makes it much easier to tweak distortion model.
2012-12-10 16:38:28 +00:00
Sergey Sharybin
ec870eb214
code cleanup: camera tracking
...
- Moved keyframes and refirement flags into reconstruction options structure
- Moved distortion coefficients and other camera intrinsics into own structure
- Cleaned up reconstruction functions in libmv c-api
2012-12-10 16:38:13 +00:00
Sergey Sharybin
b1afaa8312
Merging r51923 through r52851 from trunk into soc-2011-tomato
2012-12-10 15:18:00 +00:00
Sergey Sharybin
d576f10f5b
2.65 commit: version bump
2012-12-10 11:01:13 +00:00
Brecht Van Lommel
d5e6882360
Fix shader nodes Normal node not showing right direction choosing widget.
2012-12-10 10:44:08 +00:00
Campbell Barton
1b19b790dd
fix for knife when clipping was enabled, The knife would not snap to edges/verts outside the clip area but the geometry would still get cut
2012-12-10 08:15:14 +00:00
Campbell Barton
26d6872ef8
fix for knife tool when the mouse was moved outside the clipped area the mouse line would reset to 0/0/0
...
a few areas that use ED_view3d_win_to_segment_clip() didnt take into account the case where the segment was filly clipped, some callers even needed the segment not to be clipped.
- added ED_view3d_win_to_segment()
- ED_view3d_win_to_segment_clip() now returns FALSE if the segment is totally clipped, but the start/ends of the line are not zero'd as they were before.
2012-12-10 07:53:20 +00:00
Campbell Barton
b0a361584a
knife tool was incorrectly moving points into worldspace, then checking clipping against the object space bounds.
...
more fixes needed here but at least correct whats there.
also ensure clipping is initialized from the object before handling modal operator events.
2012-12-10 07:20:52 +00:00
Campbell Barton
bc94b8300e
de-duplicate labda_PdistVL2Dfl() & line_point_factor_v2()
2012-12-10 06:14:43 +00:00
Campbell Barton
27ddd17ef9
some of the modal knife key bindings didn't cause a refresh until you moved the mouse. - snap, angle snap, midpoint snap.
2012-12-10 05:07:46 +00:00
Campbell Barton
9e5dc7de01
revert most of r52820 (patch to fix [ #33452 ]), this caused a regression in text stepping when ctrl is held.
...
This adds back the problem that double-clicking on a single char wont select it. Double click selection may need its own logic.
2012-12-10 02:06:26 +00:00
Campbell Barton
ec3b5d5205
fix for copying markers to other scenes not working with 10 or more scenes. Regression from r34115.
2012-12-10 01:37:31 +00:00
Tamito Kajiyama
5083e0737f
All angle properties were switched from degrees to radians (using PROP_ANGLE
...
RNA subtype), since Freestyle internally use angles in radians.
A patch set by Bastien Montagne (many thanks!)
NOTICE FOR BRANCH USERS:
This commit may break line drawing settings of already saved Freestyle files.
All angles are now treated as radians instead of degrees, so collections of
angle values might be necessary in order to recover previous visual results.
Affected properties are:
- Crease Angle in the edge detection options
- Min 2D Angle in the 'Splitting' section of a line style
- Max 2D Angle in the 'Splitting' section of a line style
- 'orientation' parameter of the Calligraphy thickness modifier
- 'angle' parameter of the PerlinNoise1D geometry modifier
- 'angle' parameter of the PerlinNoise2D geometry modifier
- 'angle' parameter of the 2DTransform geometry modifier
2012-12-09 23:19:46 +00:00
Brecht Van Lommel
98fab9e530
Fix #33454 : cycles wasn't hiding the original object used for dupliverts or
...
duplifaces like blender internal.
2012-12-09 12:43:40 +00:00
Ton Roosendaal
55e55e21b0
Bugfix: softshadow in menus was broken.
...
Already since like 2.61 - when Array draw was added - drawing only shadow
in bottom of menus with bad looking corners.
2012-12-09 11:57:06 +00:00
Lukas Toenne
a1ec96cf4e
Fix for Render Layers node: when sockets are hidden (by 'hide unused sockets' operator, ctrl+h), newly enabled render passes will not show up in the Render Layers node. The SOCK_HIDDEN flag cancels out the SOCK_UNAVAIL flag in that case. Disable the SOCK_HIDDEN flag as well when showing new passes to avoid confusion.
2012-12-09 11:41:20 +00:00
Campbell Barton
22505c10f8
fix [ #33442 ] Units
...
adding meshes were scaling the user input values so the distance on the button didnt relate to the scale of the object added.
Now use an invoke function that scales unset default values.
2012-12-09 10:48:18 +00:00
Campbell Barton
f795e1cfd2
style cleanup
2012-12-09 05:15:21 +00:00
Campbell Barton
78c7951463
patch [ #33452 ] Double click select does not work properly + patch
...
from Tobias Johansson (mutze)
with some minor edits (don't treat '!' as an operator - python centric)
2012-12-09 03:57:10 +00:00
Tamito Kajiyama
3c4987f983
Fix for a number of compiler warnings as well as a bug hidden by the warnings.
...
Patch contribution by Bastien Montagne, thanks!
2012-12-08 22:24:41 +00:00
Campbell Barton
231d1a3ddd
bmesh toolflags would use BLI_MEMPOOL_SYSMALLOC when reducing layers only (would use MEM_mallocN in one case but malloc in another). better use blenders MEM_mallocN for both.
2012-12-08 13:15:04 +00:00
Tamito Kajiyama
ec33687d6c
Merged changes in the trunk up to revision 52815.
2012-12-08 12:35:14 +00:00
Campbell Barton
a3ce9408a2
fix [ #33438 ] Bevel modifier "angle" mode is broken
...
bevel modifier was making zero area faces & edges that made scanfill fail (since it no longer removes doubles when filling ngons)
2012-12-08 07:35:54 +00:00
Campbell Barton
adf7bfa8bb
ifdef out dynstr so mathutils can be compiled as an external module again.
2012-12-08 01:16:59 +00:00
Howard Trickey
0bca862e9c
Bevel: fix 'causing artifacts' bug 33245.
...
Really was caused by a previous bevel making
a two-edged face, which caused other faces to
be dropped when copying a bmesh.
The quadstrip code needed to be more careful
to avoid creating two-edge faces.
2012-12-07 18:45:52 +00:00
Brecht Van Lommel
369b9fcf0f
Fix missing mapping and influence panel for particles when cycles is selected
...
as render engine. Still missing is colors and texture slots, but that's too
tricky to fix this close to release.
2012-12-07 11:30:40 +00:00
Benoit Bolsee
d261d65bda
Fix bug #33176 : Deactivating both position and rotation target from iTaSC IK-Solver crashes Blender. No constraint is created for target in that case, just needed to add a check.
2012-12-06 22:23:58 +00:00
Campbell Barton
bf0102ffa4
fix for texture_slot path, would give incorrect path when used with brushes which only have one texture slot.
...
also quiet float/double warning.
2012-12-06 21:59:16 +00:00
Sergey Sharybin
759e96164a
Fix #33433 : Importing video files into movie clip editor crashes Blender
...
This was a regression in svn rev52718 caused by the fact that we can not
free packet fun until we've finished all manipulation with decoded frame
since frame and packet could share same pointers.
For now restored old behavior of next_packet which seems to be well
tested and better not do bigger refactoring here so close to release.
Memory leak fixed by that revision was fixed by calling av_free_packet
just before avcodec_decode_video2 in cases we're at the end of file.
Tested with valgrind and could not see any memory leaks in ffmpeg
area.
2012-12-06 21:08:24 +00:00
Campbell Barton
8274848fa1
fix [ #31084 ] Dynamic Paint Blender File Crashes Blender.
...
was incorrect assert which didnt consider having no faces.
2012-12-06 08:10:24 +00:00
Brecht Van Lommel
ad394949db
Fix #33421 : collada import of a mesh with loose edges did not draw the edges in the viewport.
2012-12-06 06:13:43 +00:00
Campbell Barton
c9dd1b0f2c
fix playanim - up/down keys were not stepping 10 frames as intended.
2012-12-06 06:01:15 +00:00
Brecht Van Lommel
e85935dddf
Fix #33423 : a few operators still allowed changing current frame during
...
animation render, like cursor set in the graph editor, disabled that now.
2012-12-06 05:48:51 +00:00
Campbell Barton
7c2e4e28ba
bpy.ops module/caller classes incorrectly had __keys__ rather then __slots__.
...
also added comments about texface drawing when theres no origindex.
2012-12-06 03:09:06 +00:00
Campbell Barton
a864259d50
bump python requirement to 3.3
2012-12-06 02:42:42 +00:00
Campbell Barton
4b102e93fb
fix [ #33422 ] Change Path/Files problem - selected strip directory doesn't work
2012-12-06 02:38:39 +00:00
Sergey Sharybin
5db4682e93
Fix #33419 : incorrect color with projection painting in cases strength != 1.0
2012-12-05 19:04:29 +00:00
Sergey Sharybin
4742dc3fd7
Fix for crop operation using uninitialized bounds in cases input image resolution is zero.
2012-12-05 14:27:51 +00:00