Commit Graph

33198 Commits

Author SHA1 Message Date
Andrew Wiggin
2cecc590d7 Fixes and restrictions for bridge loops tool 2011-10-16 15:45:45 +00:00
Andrew Wiggin
1c6d17e77a Fix an assert when trying to unwrap with nothing selected 2011-10-16 15:44:58 +00:00
Andrew Wiggin
30141b4464 select boundary loop tool (aka region to loop) switches to edge select mode if the mode was face select 2011-10-15 14:47:37 +00:00
Andrew Wiggin
e9a194e55f More solidify cleanup: comment updates and make shell_angle_to_dist a continuous function in the edge case 2011-10-15 14:46:26 +00:00
Andrew Wiggin
0c151167e5 svn merge ^/trunk/blender -r40997:41005 (to integrate the MSVC build fixes over to bmesh) 2011-10-14 16:23:41 +00:00
Andrew Wiggin
c4cb393e45 Fix vertex paint face selection 2011-10-14 09:05:20 +00:00
Andrew Wiggin
309721c2e4 Other part of the MSVC build fix (need definition for "finite" macro from BLI_math.h) 2011-10-14 08:06:59 +00:00
Joerg Mueller
8868f9455c Hopefully fixing windows build problems with this hack now. :-) 2011-10-14 07:56:33 +00:00
Andrew Wiggin
eaff9a1c1b Reverting my windows build fix because it breaks the bug fix committed in r40995 2011-10-14 07:41:45 +00:00
Andrew Wiggin
13490b1ac3 Fix MSVC build ( .0f/.0f fires a compiler error ) 2011-10-14 05:07:53 +00:00
Campbell Barton
0c0259d931 fix [#28909] OpenCollada export / import sintel lite v2.1 crashes on import. 2011-10-14 02:31:04 +00:00
Andrew Wiggin
f3c8f3d663 Build bug fix, and bug fix for smooth shading on meshes added by python scripts 2011-10-14 02:30:58 +00:00
Campbell Barton
9f8608a8ec svn merge ^/trunk/blender -r40950:40997, bmesh is in sync with head again 2011-10-14 01:49:37 +00:00
Campbell Barton
4e118bb22f svn merge ^/trunk/blender -r40890:40950 2011-10-14 01:35:20 +00:00
Campbell Barton
7eadd540d4 svn merge ^/trunk/blender -r40872:40890 2011-10-13 22:50:01 +00:00
Joerg Mueller
9e17ecf010 Fixing [#28907] Frozen playback.
Also fixing two more crashes when audio files don't exist/cannot be read and apply a changed file path of a sound, reported by Jens Verwiebe in IRC.
2011-10-13 22:19:29 +00:00
Campbell Barton
d893ac690c rename confusing constants (no functional change)
- OB_BOUND_POLYT --> OB_BOUND_CONVEX_HULL
- OB_BOUND_POLYH --> OB_BOUND_TRIANGLE_MESH
2011-10-13 22:14:41 +00:00
Campbell Barton
818c098004 comment own recent memory leak fix since it broke edge slide. 2011-10-13 14:32:45 +00:00
Campbell Barton
fa3b4e1830 correct collada lib linking order (wasnt building for me), and sphinx doc syntax warning. 2011-10-13 14:10:38 +00:00
Andrew Wiggin
02b409ee13 Temporary workaround (to unblock a BMesh user) for issue #28869 which is causing a hang when loading some .blend files. 2011-10-13 12:13:56 +00:00
Sergey Sharybin
05b47c28fa Revert part of recent fix for movie resolution.
It helped to make things works better for some movies but it
didn't help proxies to work properly. Correct fix seems a bit larger
and better not be made atm, so to keep behavior of proxies and
original movie consistent keep resolution behaves like it was before
recent changes,
2011-10-13 08:56:21 +00:00
Campbell Barton
c40b976ea8 py docs - gpu module wasn't included in docs.
also added convenience target to build sphinx api docs:
 make doc_py
2011-10-13 06:59:09 +00:00
Campbell Barton
7360f64a51 radius interpolation was incorrectly greyed out for 2D curves. 2011-10-13 06:07:11 +00:00
Andrew Wiggin
ce4e6600e6 Fix a memory leak in interpolation 2011-10-13 05:03:58 +00:00
Andrew Wiggin
cccb06d92b Add nodoubles arg to BM_Make_Face 2011-10-13 04:58:34 +00:00
Campbell Barton
19b9329885 fix for leak when switching between transform rotation modes. 2011-10-13 04:44:39 +00:00
Campbell Barton
03c72a5ba0 ensure grease pencil layer names are unique when set through rna. 2011-10-13 04:06:32 +00:00
Campbell Barton
49b1a319c4 fix [#28898] Segmentation fault when Home key during GreasePencil dopesheet pressed 2011-10-13 03:35:08 +00:00
Campbell Barton
fa033e313e correct some invalid exception types. 2011-10-13 01:51:45 +00:00
Campbell Barton
276e5f7095 formatting edits & remove debug print. 2011-10-13 01:29:08 +00:00
Campbell Barton
6955c47fac bpy/rna new property attribute 'data', this means its possible to get back the rna-struct which a property uses.
Without this you cant get the bone from an fcurve data path for example, needed to fix bug [#28889].
2011-10-13 00:52:09 +00:00
Campbell Barton
cfebab7715 quiet compiler warnings for string formatting in ffmpeg logging 2011-10-12 22:00:53 +00:00
Sergey Sharybin
c6f253f8a6 Compile fix for some platforms (like linux release build environment) 2011-10-12 18:56:55 +00:00
Guillermo S. Romero
dd8eac0d85 Fix typo. 2011-10-12 17:06:15 +00:00
Andrew Wiggin
421fd9f286 Fix for not correctly removing doubles after adding builtin primitive meshes (e.g. uvsphere) 2011-10-12 14:16:05 +00:00
Lukas Toenne
da0354e054 Free cache data when creating a new group from selected nodes. This would leave unfreed memory behind otherwise, since node groups don't have internal caches. 2011-10-12 13:53:03 +00:00
Brecht Van Lommel
4689d78b5c Workaround for #28864: crash rendering out file with audio, due to scene audio
channels being set to invalid value 0. The cause of this is unclear, this adds
a version patch just to be safe, in case it turns out to be a common issue.
2011-10-12 13:43:56 +00:00
Lukas Toenne
89dd5e933f Fix for #28876, alpha over with empty image node gives black result.
The image node output is the default value when no image is selected. In pre-2.60 this was always initialized to 0 alpha, the defaults written in the node socket templates were completely ignored for outputs (except for value and RGB input nodes, which use these as button values). Now the stack values are initialized with the template defaults, which are all 0 by default. This patch changes alpha to 0 for image and render layer outputs too.
2011-10-12 13:07:30 +00:00
Andrew Wiggin
ce9ada4c02 Make copy_face use BM_Make_Face instead of BM_Make_Ngon (better perf, and better handling of two-sided faces and other corner cases) 2011-10-12 13:04:41 +00:00
Andrew Wiggin
f45dee7021 For edge slide also save the hide state of the faces the edge will slide on so it doesn't get overwritten to visible. 2011-10-12 13:01:06 +00:00
Lukas Toenne
a85f595721 Fix for #28886, compositor cache regression bug.
The problem was that all outputs got tagged indiscriminately (esp. hidden render layer sockets), leading to full recalculation every time. This was caused by erroneous tagging of bNodeStacks with hasinput/hasoutput flags. This patch restores the old behaviour of tagging all non-static stacks as input values and all outputs that are connected to some input. Only difference is in node groups, where the hasoutput flag is no longer abused for tagging internal buffers, here the is_copy flag is used instead.
2011-10-12 12:55:32 +00:00
Sergey Sharybin
5a3540f4d8 Fixes for #26837: MPEG Preseek does not work for some h264 files.
- Display running job template in all sequencer modes
  It was displayed only for sequencer mode without preview.
- Fixed proxy rebuild progress indicator
  It was alsways zero because of incorrect rounding.
- Fixed timecode saving on windows (and probably some other platforms)
  It was caused by incorrect opening file for writting -- it should
  be opened in binary format "wb". This error caused incorrect
  movie duration detection on windows.
- Fixed movie resolution detection for some movies.
  In file attached to report, Blender detected resolution 1920x1088
  instead of 1920x1080. Not sure if this fix is correct or it's
  issue in FFmpeg, but it's something what mplayer using: store
  width/height before running avcodec_open().
- Fixed frame number calculation when building timecodes.
  It was rounding error caused some frames be positioned incorrect
  in several cases (that each 6th frame rendered as next frame
  from report).
2011-10-12 12:49:45 +00:00
Campbell Barton
be24b4dfcc fix for possible buffer overflow bug in BLI_join_dirfile(), recent fix didn't account for the case when destination string and dir string matched. 2011-10-12 11:18:46 +00:00
Andrew Wiggin
a4fadadd06 implementation of bmesh_urmv (unglue region make vert) and use of it to fix ripping corners joining just two faces, which wasn't working before 2011-10-12 06:11:21 +00:00
Campbell Barton
e2e8cf36da fix [#28882] grease pencil draw apperence seems to change wieght/thickness after a while 2011-10-12 03:46:38 +00:00
Campbell Barton
51cbfb3961 fix [#28883] redraw problems for particle mode's brush menu
The enum items for getting the brush tool (which the UI draws), would change after the 3D view first draws on exiting editmode.

Since the panel draws before the 3D view does, the UI had a glitch.

Fix by using psys_get_current() for the enum, rather then PE_get_current() which depends on an updated particle system.
2011-10-12 01:36:06 +00:00
Campbell Barton
50a851b946 python UI was doing a lot of attribute lookups on tool & sculpt tool (not especially efficient & annoying when adding breakpoints into why its not working right). 2011-10-12 00:47:50 +00:00
Campbell Barton
18b9a2d0bc fix [#28880] relative paths don't work with Change Path/Files 2011-10-12 00:21:08 +00:00
Campbell Barton
15bf56c696 changes to relative path option
- initialize the relative_path option in ED_fileselect_get_params(), saves initializing within every operators own init functions, some even trying to initialize a non existing property.
- don't set the operator default from the user preferece, operator property defaults should be static else python scripts for eg can get different defaults depending on user settings, this also wont get updated when user-defaults are edited so generally confusing & not good practice.
2011-10-12 00:15:19 +00:00
Campbell Barton
4bfee0a1cf fix [#28879] can't change names of some of the VSE strips
Multi-Cam, Sound, Movie and Image strips were not showing strip names.

also replace sprintf() with safer BLI_snprintf()
2011-10-11 23:52:45 +00:00