Campbell Barton [Sat, 28 Apr 2012 07:00:53 +0000 (07:00 +0000)]
fix for crash when multires subdividing a mesh with no faces (new bug in bmesh grr!)
Thomas Dinges [Sat, 28 Apr 2012 06:40:12 +0000 (06:40 +0000)]
Release Cycles for 2.64 begins.
* BCon1: Alpha.
Campbell Barton [Sat, 28 Apr 2012 06:31:57 +0000 (06:31 +0000)]
style cleanup: changes to brace placement / newlines - for/while/if/switch
Nathan Letwory [Sat, 28 Apr 2012 06:28:07 +0000 (06:28 +0000)]
Same mingw fix as for compile
Campbell Barton [Sat, 28 Apr 2012 01:59:21 +0000 (01:59 +0000)]
add back lasso tool in the UV editor (Ctrl+LMB / Ctrl+Shift+LMB)
Nathan Letwory [Fri, 27 Apr 2012 13:18:55 +0000 (13:18 +0000)]
Changes to get mingw buildslaves going.
Campbell Barton [Fri, 27 Apr 2012 12:44:32 +0000 (12:44 +0000)]
fix for select flushing in UV-sync-selection mode (regression from 2.62), both border select and circle select failed in edge and vertex mode (though de-selecting worked ok).
Jens Ole Wund [Fri, 27 Apr 2012 11:49:09 +0000 (11:49 +0000)]
Patch by Jose Geraldo Brito
Tracker 31061
It cures the stiff quad option and does not seem to harm.
Nowever the stiff quads behave strange in a ngom mesh.
I can imagine that other parts in the sofybody module may be broken by the ngon structure. Well ngons and softbodies are not relly friends:
negon wants less edges softbodies would work better if more structural edges were possible
Campbell Barton [Fri, 27 Apr 2012 10:00:21 +0000 (10:00 +0000)]
fix for modal timer template, wasnt updated for changes to themes.
Campbell Barton [Fri, 27 Apr 2012 07:26:28 +0000 (07:26 +0000)]
code cleanup:
- move lasso functions into BLI (were in 3D view but UV editor needs access)
- remove unused UV functions (ones that assumed 3-4 sized UVs only)
Campbell Barton [Fri, 27 Apr 2012 03:01:27 +0000 (03:01 +0000)]
code cleanup: quiet msvc warnings
Campbell Barton [Fri, 27 Apr 2012 02:29:37 +0000 (02:29 +0000)]
cleanup msvc build flags, many were included more than once.
also make use of C_WARNINGS, CXX_WARNINGS as other platforms do.
Campbell Barton [Thu, 26 Apr 2012 18:18:09 +0000 (18:18 +0000)]
rename WholeCharacter in C too, add pthreads include back for msvc which needs it.
Campbell Barton [Thu, 26 Apr 2012 18:07:15 +0000 (18:07 +0000)]
don't have spaces in idnames, confuses py types:
http://www.blender.org/documentation/blender_python_api_2_62_4/bpy.types.Whole%20Character.html
Campbell Barton [Thu, 26 Apr 2012 17:56:21 +0000 (17:56 +0000)]
remove pthread include for windows, after this was added I couldn't build anymore with mingw, gave and error with ./source/icons/winblender.rc
Sergey Sharybin [Thu, 26 Apr 2012 17:51:41 +0000 (17:51 +0000)]
And for sure we're in release stage now!
Sergey Sharybin [Thu, 26 Apr 2012 17:49:48 +0000 (17:49 +0000)]
Release commit, 2.63!
Special thanks to Mango team for awesome splash screen!
And everybody else who made this release! :)
Brecht Van Lommel [Thu, 26 Apr 2012 17:48:07 +0000 (17:48 +0000)]
Fix crash clicking Render button in render layer compositing node. Actually
this crash could happen in other situations too, problem was a bug in the
jobs system. A job could be suspended, and the operator would stop before
the job was actually done since it was not marked as running.
Sergey Sharybin [Thu, 26 Apr 2012 17:01:04 +0000 (17:01 +0000)]
Fix for undefined reference to abort() in outliner selection module
Campbell Barton [Thu, 26 Apr 2012 16:32:30 +0000 (16:32 +0000)]
fix [#31113] bmesh.types.BMLayerCollection getter calculate key indices wrong (own fault)
also add check so layer.name won't crash incase the layer becomes invalid.
Campbell Barton [Thu, 26 Apr 2012 15:38:16 +0000 (15:38 +0000)]
fix for bevel modifier creating invalid geometry - simply tell BM_face_split() to check for doubles.
Campbell Barton [Thu, 26 Apr 2012 15:20:26 +0000 (15:20 +0000)]
fix memory leak in validating mesh and remove unneeded knife operator settings store.
Brecht Van Lommel [Thu, 26 Apr 2012 12:30:37 +0000 (12:30 +0000)]
Fix #31066: cycles keeps rendering in viewport after window closed.
Brecht Van Lommel [Thu, 26 Apr 2012 12:13:26 +0000 (12:13 +0000)]
Fix #31058: missing Simplify panel for cycles.
Brecht Van Lommel [Thu, 26 Apr 2012 12:13:22 +0000 (12:13 +0000)]
Fix related to #31067: missing update when toggling Premultiply on a sequencer strip.
Thomas Dinges [Thu, 26 Apr 2012 11:48:36 +0000 (11:48 +0000)]
* Compile fix for recent Outliner header cleanup.
Bastien Montagne [Thu, 26 Apr 2012 11:23:37 +0000 (11:23 +0000)]
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 :/ ).
Campbell Barton [Thu, 26 Apr 2012 08:27:50 +0000 (08:27 +0000)]
code cleanup: bmesh comments/todos, no functional changes.
Nathan Letwory [Thu, 26 Apr 2012 08:04:11 +0000 (08:04 +0000)]
Fix OIIO dll copying for win32-mingw
Campbell Barton [Thu, 26 Apr 2012 05:17:54 +0000 (05:17 +0000)]
outliner header cleanup (copy pasted headers when split up Im guessing)
Campbell Barton [Thu, 26 Apr 2012 04:41:27 +0000 (04:41 +0000)]
fix for memory leak in the knife tool
Campbell Barton [Thu, 26 Apr 2012 04:15:27 +0000 (04:15 +0000)]
removed unneeded fnmatch include from outliner, comment files as needing header cleanup.
Campbell Barton [Thu, 26 Apr 2012 04:03:25 +0000 (04:03 +0000)]
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.
Campbell Barton [Thu, 26 Apr 2012 03:40:10 +0000 (03:40 +0000)]
bmesh: inset tool depth used bad normals for edge verts.
Campbell Barton [Thu, 26 Apr 2012 02:24:55 +0000 (02:24 +0000)]
fix invalid memcpy() use in text editor (backspace would call memcpy with overlapping source and destination).
Thomas Dinges [Wed, 25 Apr 2012 18:12:41 +0000 (18:12 +0000)]
2.6 Ocean Modifier UI:
* Fix an alignment issue, column_flow layout apparently does not use the whole width, leaving a small gap on the right side. This should be fixed in the layout engine, but too close to release now.
Campbell Barton [Wed, 25 Apr 2012 11:31:01 +0000 (11:31 +0000)]
fix for border de-selecting with sync selection
Antony Riakiotakis [Wed, 25 Apr 2012 11:15:55 +0000 (11:15 +0000)]
Enable building of the installer with MinGW-w64, patch by Caleb Joseph (Dobz) thanks a lot!
Campbell Barton [Wed, 25 Apr 2012 10:24:31 +0000 (10:24 +0000)]
disable bevel for release after discussion with brecht and sergey, this works far too poorly to be included in release.
Campbell Barton [Wed, 25 Apr 2012 10:09:31 +0000 (10:09 +0000)]
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.
Campbell Barton [Wed, 25 Apr 2012 07:23:20 +0000 (07:23 +0000)]
mesh.validate() / BKE_mesh_validate() --- functions now check for duplicate vertices used within the same polygon.
(which would crash otherwise)
Sergey Sharybin [Wed, 25 Apr 2012 06:28:45 +0000 (06:28 +0000)]
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.
Campbell Barton [Wed, 25 Apr 2012 06:06:40 +0000 (06:06 +0000)]
code cleanup: typos and set gcc attributes for string formatting.
Nicholas Bishop [Wed, 25 Apr 2012 03:44:01 +0000 (03:44 +0000)]
Small type fix for BMEditMesh.lastDataMask, should be 64-bit.
Campbell Barton [Wed, 25 Apr 2012 02:46:32 +0000 (02:46 +0000)]
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).
Campbell Barton [Wed, 25 Apr 2012 01:24:55 +0000 (01:24 +0000)]
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).
Mike Erwin [Wed, 25 Apr 2012 01:24:29 +0000 (01:24 +0000)]
ndof: avoid potential buffer overflow in libspnav
Campbell Barton [Tue, 24 Apr 2012 23:47:10 +0000 (23:47 +0000)]
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).
Campbell Barton [Tue, 24 Apr 2012 22:50:49 +0000 (22:50 +0000)]
style cleanup: no functional changes
Campbell Barton [Tue, 24 Apr 2012 21:19:18 +0000 (21:19 +0000)]
code cleanup: no functional change - had both EDBM_editselection_* and BM_editselection_* funcs, replace EDBM_ funcs.
Campbell Barton [Tue, 24 Apr 2012 20:33:39 +0000 (20:33 +0000)]
code cleanup: dont use bmesh operator flags outside a bmesh operator, use hflag tagging instead.
Campbell Barton [Tue, 24 Apr 2012 19:59:06 +0000 (19:59 +0000)]
code cleanup: rename UV functions to closer match bmesh api
Campbell Barton [Tue, 24 Apr 2012 19:53:00 +0000 (19:53 +0000)]
bmesh: fix selection flushing when editing UV's and sync selection is enabled, and edge mode is in the 3D view.
Campbell Barton [Tue, 24 Apr 2012 19:28:18 +0000 (19:28 +0000)]
bmesh/uv editor
- selecting in UV window with sync-sel enabled now sets/validates sel-history.
- border de-select now clears sel history.
Campbell Barton [Tue, 24 Apr 2012 17:50:01 +0000 (17:50 +0000)]
fix [#31083] "Hide Selected" through Menu Operation doesn't work well
Antony Riakiotakis [Tue, 24 Apr 2012 17:20:51 +0000 (17:20 +0000)]
Lower optimization settings for MinGW-w64. Full optimization causes artifacts with empties and gods know what else. Turned on -ftree-vectorize to match MSVC behaviour for 64bit.
Sergey Sharybin [Tue, 24 Apr 2012 16:35:20 +0000 (16:35 +0000)]
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,
Antony Riakiotakis [Tue, 24 Apr 2012 16:23:47 +0000 (16:23 +0000)]
remove leftover files from last commit
Antony Riakiotakis [Tue, 24 Apr 2012 16:14:23 +0000 (16:14 +0000)]
revert 45924, not a very clean solution, especially for external libraries and looks like -fpermissive is used in linux too
Antony Riakiotakis [Tue, 24 Apr 2012 14:51:23 +0000 (14:51 +0000)]
MinGW-w64 enable full optimization for C++ too
Antony Riakiotakis [Tue, 24 Apr 2012 14:33:44 +0000 (14:33 +0000)]
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.
Antony Riakiotakis [Tue, 24 Apr 2012 12:57:58 +0000 (12:57 +0000)]
Add libMV and Scons support for MinGW-w64, patches by Caleb Joseph with slight modifications.
Thanks!
Campbell Barton [Tue, 24 Apr 2012 12:27:38 +0000 (12:27 +0000)]
crash fix for brush select when no object is active
Campbell Barton [Tue, 24 Apr 2012 10:25:12 +0000 (10:25 +0000)]
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.
Antony Riakiotakis [Tue, 24 Apr 2012 09:58:03 +0000 (09:58 +0000)]
Add cycles support for MinGW-w64
Campbell Barton [Tue, 24 Apr 2012 09:45:56 +0000 (09:45 +0000)]
fix for possible error building with debian
Campbell Barton [Tue, 24 Apr 2012 05:38:11 +0000 (05:38 +0000)]
fix [#30997] Bevel angle option is broken (bevel vertex only)
Erwin Coumans [Tue, 24 Apr 2012 05:28:19 +0000 (05:28 +0000)]
Peer pressure :) Fix some very public (but probably harmless) errors in extern/bullet2, it will propagate to the Bullet soon from here:
https://www.assembla.com/code/bullet3/subversion/nodes
Thanks to Campbell for letting me know
Fixed described by Sean here:
http://stackoverflow.com/questions/818535/how-can-i-set-all-bits-to-1-in-a-binary-number-of-an-unknown-size
Campbell Barton [Tue, 24 Apr 2012 05:02:53 +0000 (05:02 +0000)]
workaround for vertex bevel modifier failing since the BMesh update.
Campbell Barton [Tue, 24 Apr 2012 04:44:51 +0000 (04:44 +0000)]
- remove unneeded len_v3v3 in bevel code
- remove dead assignments from vgroup-blend
Campbell Barton [Tue, 24 Apr 2012 02:01:23 +0000 (02:01 +0000)]
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).
Campbell Barton [Tue, 24 Apr 2012 01:52:59 +0000 (01:52 +0000)]
fix for CcdPhysicsController::RelativeRotate reading 2 values past the input.
note: this function isn't used but may as well fix.
Campbell Barton [Tue, 24 Apr 2012 01:04:37 +0000 (01:04 +0000)]
add inset and bridge to mesh specials menu (along side bevel) + typo fix.
Campbell Barton [Mon, 23 Apr 2012 23:57:17 +0000 (23:57 +0000)]
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.
Campbell Barton [Mon, 23 Apr 2012 23:01:03 +0000 (23:01 +0000)]
fix own error with subdivision (broke icosphere), also noticed icosphere vanished at subd-5 which didnt happen before bmesh.
Antony Riakiotakis [Mon, 23 Apr 2012 22:56:34 +0000 (22:56 +0000)]
Enable support for OpenEXR on cmake for MinGW64
Antony Riakiotakis [Mon, 23 Apr 2012 21:04:26 +0000 (21:04 +0000)]
Update knife tool header to reflect that spacebar can be used for confirm too.
Antony Riakiotakis [Mon, 23 Apr 2012 20:09:59 +0000 (20:09 +0000)]
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!
Brecht Van Lommel [Mon, 23 Apr 2012 18:15:38 +0000 (18:15 +0000)]
Fix #31065: cycles render crash with large node groups, increased the stack
size now, this seems to work well after some testing.
Fix: material override not working on objects without a material assigned.
Daniel Genrich [Mon, 23 Apr 2012 17:33:12 +0000 (17:33 +0000)]
corrected more issues from [#31069] Analyzing the Blender project with PVS-Studio.
Remark: I think that "!(nbored & CFBnd)" would be correct but it introduced other bugs so, I just quiet compiler warnings leaving the running system untouched.
Campbell Barton [Mon, 23 Apr 2012 16:29:13 +0000 (16:29 +0000)]
corrected more issues from [#31069] Analyzing the Blender project with PVS-Studio
Campbell Barton [Mon, 23 Apr 2012 15:54:43 +0000 (15:54 +0000)]
corrections from an article about using PVS-Studio static checker with blender - viva64.com/en/b/0145/
Sergey Sharybin [Mon, 23 Apr 2012 15:51:25 +0000 (15:51 +0000)]
Fix #31072: Making texture single user was modifying textures of original material
Campbell Barton [Mon, 23 Apr 2012 15:35:07 +0000 (15:35 +0000)]
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.
Campbell Barton [Mon, 23 Apr 2012 15:26:06 +0000 (15:26 +0000)]
fix memory leak in rip tool (again own fault).
Campbell Barton [Mon, 23 Apr 2012 15:18:12 +0000 (15:18 +0000)]
minor changes to rip internals
- check if vertex ripping has no effect.
- no need to flush selection for vertex rip.
Campbell Barton [Mon, 23 Apr 2012 14:57:47 +0000 (14:57 +0000)]
rip was incorrectly giving an error when ripping a vertex from a face fan (own mistake).
Campbell Barton [Mon, 23 Apr 2012 14:52:28 +0000 (14:52 +0000)]
bmesh py api: functions to add/renmove customdata layers, eg.
bm.loops.layers.color.new("Testing")
Campbell Barton [Mon, 23 Apr 2012 11:36:40 +0000 (11:36 +0000)]
py/rna api: remove selection and pin variable for texture faces - this is now stored in the loops.
Campbell Barton [Mon, 23 Apr 2012 11:19:39 +0000 (11:19 +0000)]
add spacebar to confirm knife cut, space confirms - enter isnt so handy, This is consistent with fly mode and grab.
Campbell Barton [Mon, 23 Apr 2012 09:17:37 +0000 (09:17 +0000)]
fix [#30937] Pose UI hack needed to be undone, alternate fix is needed.
rather then assigning the enum, default to the active pose when the property isnt set.
Bastien Montagne [Mon, 23 Apr 2012 08:24:03 +0000 (08:24 +0000)]
i18n: Re-enabling uk_UA, as we are going to have a nice mo in upcomming update.
Campbell Barton [Mon, 23 Apr 2012 08:05:02 +0000 (08:05 +0000)]
code cleanup: remove unused defines
Campbell Barton [Mon, 23 Apr 2012 07:32:13 +0000 (07:32 +0000)]
code cleanup: comment unused functions (removed one which isnt useful anymore).
Campbell Barton [Mon, 23 Apr 2012 07:26:08 +0000 (07:26 +0000)]
py api:
bpy.data.scenes.tag() was missing.
Campbell Barton [Mon, 23 Apr 2012 06:37:16 +0000 (06:37 +0000)]
fix [#31064] Save confirmation stops showing
also comment unused functions.
Campbell Barton [Mon, 23 Apr 2012 04:24:11 +0000 (04:24 +0000)]
- fix for python freeing its own bmesh clearing the global mirror cache.
- fix for own mistake (Ctrl+T didnt set beauty peroperty).
- remove bad level includes in bmesh.
Campbell Barton [Mon, 23 Apr 2012 03:43:02 +0000 (03:43 +0000)]
code cleanup: bmesh subdivide code - BM_mesh_esubdivideflag() & "esubd" bmesh operator was passing a flag about in a fairly confusing way.
since we will eventually have python bmesh operator access better expose this as multiple booleans.
remove remaining editbutflag's
Campbell Barton [Mon, 23 Apr 2012 02:48:05 +0000 (02:48 +0000)]
code cleanup: remove editbutflag flag from toolsettings & related defines.
Campbell Barton [Mon, 23 Apr 2012 02:17:57 +0000 (02:17 +0000)]
code cleanup: better use of BLI_array_* (grow in larger steps where possible), include BMO_iter_new in for loops.