Commit Graph

31359 Commits

Author SHA1 Message Date
6d2cd24010 fix memory leak in validating mesh and remove unneeded knife operator settings store. 2012-04-26 15:20:26 +00:00
ec6c3f632e Fix #31066: cycles keeps rendering in viewport after window closed. 2012-04-26 12:30:37 +00:00
426daf8cc5 Fix related to #31067: missing update when toggling Premultiply on a sequencer strip. 2012-04-26 12:13:22 +00:00
41ebd0bb77 * Compile fix for recent Outliner header cleanup. 2012-04-26 11:48:36 +00:00
f92fcbd413 Minor fix in response to Koji Iigura's mail. Own error, sorry about that (I tend to forget not all OS are utf-8 yet :/ ). 2012-04-26 11:23:37 +00:00
2118d3c19c code cleanup: bmesh comments/todos, no functional changes. 2012-04-26 08:27:50 +00:00
5b0fcbd8f9 outliner header cleanup (copy pasted headers when split up Im guessing) 2012-04-26 05:17:54 +00:00
61015fbd8c fix for memory leak in the knife tool 2012-04-26 04:41:27 +00:00
bd7d3c5e9d removed unneeded fnmatch include from outliner, comment files as needing header cleanup. 2012-04-26 04:15:27 +00:00
af7eb3f210 fix for buffer overrun crash with saving scene name longer then 24 characters.
writing render info would try write= 64 length string into 24 length buffer.

updated py script to extract render info too.
2012-04-26 04:03:25 +00:00
0daa5b0c47 bmesh: inset tool depth used bad normals for edge verts. 2012-04-26 03:40:10 +00:00
2f74471dd9 fix invalid memcpy() use in text editor (backspace would call memcpy with overlapping source and destination). 2012-04-26 02:24:55 +00:00
d53133d25f fix for border de-selecting with sync selection 2012-04-25 11:31:01 +00:00
7669d0e317 disable bevel for release after discussion with brecht and sergey, this works far too poorly to be included in release. 2012-04-25 10:24:31 +00:00
bb7db93837 temp disable 'use last operator settings' - too unreliable, we keep getting reports in about some menu item not working right, will try have this ready by next release. 2012-04-25 10:09:31 +00:00
6cc48ec555 mesh.validate() / BKE_mesh_validate() --- functions now check for duplicate vertices used within the same polygon.
(which would crash otherwise)
2012-04-25 07:23:20 +00:00
398cf78c25 Update for startup.blend: remove vertex color layer from default cube
Pardon for updating this so close to release, but it's annoying to have
such a layer and in some cases it leads to unwanted sideeffects.

This layer was added by accident when was fixing flags for brushes,
didn't notice entering vertex paint mode automatically creates
vertex color layer.
2012-04-25 06:28:45 +00:00
ee6aaafd31 code cleanup: typos and set gcc attributes for string formatting. 2012-04-25 06:06:40 +00:00
d87ca16fb8 Small type fix for BMEditMesh.lastDataMask, should be 64-bit. 2012-04-25 03:44:01 +00:00
e7eac6c3f2 fix [#31080], edge slide UV correction wasnt working for UVs surrounding the end of the slide selection (one edge sliding on a grid for example). 2012-04-25 02:46:32 +00:00
c4abd6cf5a code cleanup: edge slide code had oddly named variables, added some comments and renamed vars.
also made BM_elem_select_set() a function (was a macro calling a function).
2012-04-25 01:24:55 +00:00
0943f4bc77 now vertex paint uses the same overrides as weight paint - so wire draw mode allows vertex paint to be unlit (which is quite handy, previously you had to hide lamps). 2012-04-24 23:47:10 +00:00
48893dba24 style cleanup: no functional changes 2012-04-24 22:50:49 +00:00
47b6b60e5a code cleanup: no functional change - had both EDBM_editselection_* and BM_editselection_* funcs, replace EDBM_ funcs. 2012-04-24 21:19:18 +00:00
d92a4ceb35 code cleanup: dont use bmesh operator flags outside a bmesh operator, use hflag tagging instead. 2012-04-24 20:33:39 +00:00
e017621f6a code cleanup: rename UV functions to closer match bmesh api 2012-04-24 19:59:06 +00:00
25b6260c58 bmesh: fix selection flushing when editing UV's and sync selection is enabled, and edge mode is in the 3D view. 2012-04-24 19:53:00 +00:00
b5be51c508 bmesh/uv editor
- selecting in UV window with sync-sel enabled now sets/validates sel-history.
- border de-select now clears sel history.
2012-04-24 19:28:18 +00:00
166b3523f0 Prevent adding objects to be added to a group which is used as dupli-group for this object
when using "Add Selected to Active Group" operator,
2012-04-24 16:35:20 +00:00
4e6590067d revert 45924, not a very clean solution, especially for external libraries and looks like -fpermissive is used in linux too 2012-04-24 16:14:23 +00:00
0db3c5f743 Remove mingw-w64 errors from loss of precision by converting 64bit pointers to ints. All cases found were harmless and the error behaviour could be turned off by the -fpermissive flag but I'd rather keep that off to detect any real problems should they arise. 2012-04-24 14:33:44 +00:00
4782522379 Add libMV and Scons support for MinGW-w64, patches by Caleb Joseph with slight modifications.
Thanks!
2012-04-24 12:57:58 +00:00
bde288d656 crash fix for brush select when no object is active 2012-04-24 12:27:38 +00:00
e06e338e20 fix [#31079] Revision 45893 crashes when I try to open a certain file created in it.
nasty bug going from 2.63 --> 2.62 --> 2.63, could have incorrect/corrupt data.
fix checks for this case and clears the customdata layer.
2012-04-24 10:25:12 +00:00
b84cdafbb5 Add cycles support for MinGW-w64 2012-04-24 09:58:03 +00:00
9204f11052 fix for possible error building with debian 2012-04-24 09:45:56 +00:00
a667492d0e fix [#30997] Bevel angle option is broken (bevel vertex only) 2012-04-24 05:38:11 +00:00
f02694f5a4 workaround for vertex bevel modifier failing since the BMesh update. 2012-04-24 05:02:53 +00:00
077cbaddf0 - remove unneeded len_v3v3 in bevel code
- remove dead assignments from vgroup-blend
2012-04-24 04:44:51 +00:00
4ff038c411 screenshot operator now adds file extension in the file selector and has its own save options rather then using the render options (works like image save a copy). 2012-04-24 02:01:23 +00:00
b374d9b20f fix for CcdPhysicsController::RelativeRotate reading 2 values past the input.
note: this function isn't used but may as well fix.
2012-04-24 01:52:59 +00:00
6f1019e869 add inset and bridge to mesh specials menu (along side bevel) + typo fix. 2012-04-24 01:04:37 +00:00
c1c022342c fix for invalid use of memset when loading tiff images
- memset(..., 1.0); // isnt valid
- memset(pointer, sizeof(pointer)) // was using the sizeof the pointer, not the size of the array, since this was to fill in alpha values it was obviously wrong.
2012-04-23 23:57:17 +00:00
03f451f2f1 fix own error with subdivision (broke icosphere), also noticed icosphere vanished at subd-5 which didnt happen before bmesh. 2012-04-23 23:01:03 +00:00
7cc4353dff Update knife tool header to reflect that spacebar can be used for confirm too. 2012-04-23 21:04:26 +00:00
8b476d0275 First MinGW-w64 support for cmake has been added. To test I recommend this build:
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/ray_linn/GCC-4.7.0-with-ada/mingw-w64-gcc-4.7.0-runtime-2.0.1-static-ada-20120330.7z/download

Other builds may also work but due to the constantly changing nature of the compiler this cannot be guaranteed. I often had to change compilers while building the libraries and this one is the one that did the job for most of them.

This first support is experimental and considered "advanced". To enable pass -DWITH_MINGW64 during cmake configuration. Also make sure to extract the compiler on C:/MinGW and that MinGW/bin is in your path. To build check out lib/mingw64.

Initially the support is lacking until I get every library compiled correctly. For now you should disable WITH_CYCLES(sorry, I know some people are dying to do benchmarks, but still a few libs to go), WITH_IMAGE_OPENEXR, WITH_OPENCOLLADA, WITH_LIBMV and WITH_CODEC_FFMPEG(links but hangs on startup).

Still the tools are working, the memory limit is increased and due to the experimental nature of the setup, full optimization with SSE2 is available, which makes the build quite fast. Also the compiler and especially, the linker are way faster than regular MinGW.

The wiki docs have also updated. Happy testing!
2012-04-23 20:09:59 +00:00
b8c4c54ff0 corrected more issues from [#31069] Analyzing the Blender project with PVS-Studio 2012-04-23 16:29:13 +00:00
bfcdd45245 corrections from an article about using PVS-Studio static checker with blender - http://www.viva64.com/en/b/0145/ 2012-04-23 15:54:43 +00:00
9d40c3046b Fix #31072: Making texture single user was modifying textures of original material 2012-04-23 15:51:25 +00:00
f7a59fd1cf rip tool again (this in infact an old bug), when selecting an edge to extend the splitting to, dont step over manifold edges. - would result in duplicate edges. 2012-04-23 15:35:07 +00:00