Composite: some cases gave memory errors (not freed mem).
The code that tried to be smart in finding nodes to skip, caused that
stack buffers were not freed propertly.
* Cleaned up the sculpt and multires palettes a bit to make them work correctly with the Rounded theme.
* Moved the DelLower/DelHigher buttons above the Level slider; necessary for some reason to render the rounded corners correctly.
One error is still visible, the Size slider in the Sculpt palette has an incorrectly-rounded corner below the Airbrush button, no idea why.
Preview render in buttons was not refreshed when changes in a material
happened, without preview visible. (like editbuttons, active mat index).
Now on re-entering material buttons, a re-render happens in these cases.
This commit gets rid of the #ifdef WIN32 I did for the FSAA code.
However it still manually defines the constant (if it's not already defined)
for FSAA, as I'm not sure which platforms have glext.h and I don't want to risk
breaking platforms before release.
Joe
from translate node. Once again courtesy of joeedh (Joe Eagar). Should be
noted that there are other nodes which seem not to respect these offsets
as well. Will investigate further.
This commit fixes problems with FSAA (full-screen video card antialiasing) with selection.
It turns off FSAA for the backbuffered select drawing function.
Since opengl's extension system is incomphrehensible to me (at least not without committing glew), I've
basically done a little hack that detects if the value we need for glDisable (MULTISAMPLE_ARB) is defined,
and if not defines it. Also, this commit only works on windows, because glx sadly seems to not support
arb_multisample at all, and in all likelihood neither does osx.
Joe
- Previous fix (commit today) for outliner-selecting and mode disabling
forgot to do this for texture paint.
- outliner: theme color drawing for background was using char with overflow
possibility.
[ #5000 ] Changin EditMode in Script wrecks memory
Armatures create weakreferences in __main__.__dict__. When Window.Editmode is called, the weaklist it iterated over and armatures are updated.
OpenEXR MultiLayer: line order DECREASING_Y (openexr spec) crashes newer
openexr libs in windows... ???
Removed it, since tests reveiled the line order is still bottom-top
Render pipeline: setting option "Single layer render" and having the active
layer disabled, crashed blender. It's a non-option anyway, so on a single
layer render, that layer is enabled by default now.
Fixed bug #5799, Multires mesh modifications get reset by rendering
This bug can cause some nasty data loss (was introduces with my commit for using orco with multires.) Fixed by making sure to do multires_update_levels before applying modifiers.
Make manipulator compatible with snapping. At first, I thought this would have been a bad idea, but after talking to some people, it seem more confusing than not to have it act differently, so I'm bringing it in line.
----------
Bugfix #3233: throw an IOError exception in Library.Open() if the specified
library file cannot be opened.
This had been changed to a "feature request" but should have been a bug, even
though it worked as documented (or rather, the documentation described what
the function did).
Added new icons by 'jendrzych' for sculpt mode and transform snapping. I'll be
doing a lot more on this in the next release cycle, but I'm bringing these icons
over now since they're new features and we don't really have any icons for them
at the present.
Buttons: Missing linked-library lock reset in code could invoke error menu
Bugfix #5770
Renamed option "Clear Pose" to "Clear User Transform" to indicate that this
differs from rest-pose. This option clears all Pose channel transforms, but
leaves Action values in pose unchanged. Means that when you do this, an
'insert key' won't change the animation.
Own fix:
Missing test for NULL pointer could crash Image Properties panel for linked
Image data.
Partial fix for bug #5771, Multires tool deletes crease flags on edges
* Modified the edge flags code to support all of the edge flags (not just seams.)
* Added a new array to the Multires struct to store creases.
* For Mark Sharp, Clear Sharp, and Crease, displays an error if applied to a multires mesh not on level 1.
have been in this particular case anyway), the blur radius will automatically
be limited to half the width or height of the image.
Nothing to do with this bug, but also now skips image region outside
borders when border rendering is enabled.
Before this, calling scene.currentFrame(val) would not work to update object displists where Blender.Set('curframe', val) did work.
Also used less python BuildValue calls.
Crash entering faceselect mode in shaded mode.
The cause here is the new system that only preserves data through the
modifier stack as needed. The DerivedMesh and shaded colors could get
freed while still being used elsewhere.
Fixed part 2 of bug #5749, Modifier redraw problems?
* Added an object flush after changing the Edge level on a multires mesh so the edges update when a Subsurf modifier is active.
Note that "Optimal Draw" must be turned on in the Subsurf options, otherwise it draws all edges.
Fixed bug #5774, retopo - when using retopoall should give visual hint of what viewport is used for retopo
* Added a call to select_area so that clicking Retopo All will offer the user a choice of what viewport to use.
Fixed bug #5773, retopo - if in wireframe mode should give an error/warning
* Show error message for Retopo All button if view is in wireframe mode
* When toggling view shading, update view depth data if shading isn't set to wireframe
Fixed bug #5776, retopo - Retopo doesn't work with bezier curves
* Added check for 2D curves, since those obviously can't be wrapped onto a 3D surface
* Added check for bezier curves, those get processed in the same way as other curves now
* Added an object flush so that curves get redrawn properly after "Retopo All" is used
* Added retopo paint tooltip from ideasman