Campbell Barton [Thu, 5 May 2011 22:41:49 +0000 (22:41 +0000)]
add zlib include dir for cmake too.
Dalai Felinto [Thu, 5 May 2011 18:50:17 +0000 (18:50 +0000)]
fix to scons after exotic was removed (patch from jms)
Janne Karhu [Thu, 5 May 2011 17:07:20 +0000 (17:07 +0000)]
Fix for [#27294] Subframes cause dampened particles to behave differently
* The unphysical particle damping wasn't scaled according to the timestep.
Campbell Barton [Thu, 5 May 2011 15:21:43 +0000 (15:21 +0000)]
fix [#27285] Renderslot missing
scale fixes size header buttons by DPI
Campbell Barton [Thu, 5 May 2011 14:45:24 +0000 (14:45 +0000)]
sphinx api docs: fix for addons linking to the wrong operator SVN url's.
also change from blender from 'release' back to beta so new docs don't overwrite the 2.57b release docs.
Campbell Barton [Thu, 5 May 2011 14:21:31 +0000 (14:21 +0000)]
remove exotic.c, there was no operators to access these formats and they were not well maintained.
Campbell Barton [Wed, 4 May 2011 20:42:34 +0000 (20:42 +0000)]
alternative to joe's commit r36451.
loopcut now follows 'Release confirms' user preference.
Campbell Barton [Wed, 4 May 2011 17:36:13 +0000 (17:36 +0000)]
new rna api call: RNA_struct_idprops_unset(op->ptr, "someprop"), added to allow un-setting operator properties.
Campbell Barton [Wed, 4 May 2011 15:09:48 +0000 (15:09 +0000)]
new BLF functions
- BLF_height_max
- BLF_width_max
- BLF_descender
- BLF_ascender
use for tooltip and image stamp.
Sergey Sharybin [Wed, 4 May 2011 13:15:42 +0000 (13:15 +0000)]
Own TODO item: sculpting on constructive modifiers
- Constructive modifiers are enabled by default in sculpt mode.
- There's option to disable all constructive modifiers in the "Options"
panel of toolbox in sculpt mode,
- Use one column in options panel to make strings easier to read
- No modifiers would still be applied on multires
Campbell Barton [Wed, 4 May 2011 12:59:24 +0000 (12:59 +0000)]
drawing in 3d camera view conversion between mouse/camera view border was broken.
Campbell Barton [Wed, 4 May 2011 12:00:11 +0000 (12:00 +0000)]
pass colors to glColor as vectors where possible.
Campbell Barton [Wed, 4 May 2011 08:44:08 +0000 (08:44 +0000)]
fix 2 bugs with addon installation
- installing an addon which creates a new script directory didn't add this to the sys.path.
- installing the addon was meant to set the search string to the addon name but was broken.
Campbell Barton [Wed, 4 May 2011 06:08:14 +0000 (06:08 +0000)]
workaround [#27276] Full Screen toggle for Save Screenshot ignored
don't show the option in the file sel, it only has effect when set before invoke.
Campbell Barton [Wed, 4 May 2011 05:56:26 +0000 (05:56 +0000)]
rna object constraint remove function wasn't calling ED_object_constraint_update().
Campbell Barton [Wed, 4 May 2011 05:52:14 +0000 (05:52 +0000)]
fix [#26920] working with bones causes segmetation fault.
ITASC IK solver data wasn't being cleared when constraints were removed, would access freed memory and crash.
Campbell Barton [Wed, 4 May 2011 04:00:53 +0000 (04:00 +0000)]
use UNUSED in some more function args, no functional changes.
Campbell Barton [Wed, 4 May 2011 03:34:55 +0000 (03:34 +0000)]
fix for crash executing sculpt via python.
Dalai Felinto [Wed, 4 May 2011 01:50:17 +0000 (01:50 +0000)]
Patch [#26799] 2.5x blenderplayer (BGE) anti-aliasing & embedding by Sebastian Korczak (with some small tweaks) + adding GHOST_PRINTF
The patch can also be found in http://codereview.appspot.com/
4431072/
##############
This patch fix anti-aliasing (multisampling) implementation for win32 platform. It also gives opportunity to embed blenderplayer inside parent window.
Usage:
blenderplayer.exe -i 123456 -m 16 file.blend
where:
123456 - parent window handler (integer, default: 0)
16 - multisample level (integer, default: 0, max: 16. Put there maximum level you want. If not supported, player will automatically try 15,14,13,...,3,2,1)
##############
This patch was originally created as part of the Burster (aka webplugin) project but benefit any one embedding the bge in a custom OpenGL context. By the way, to embed the BGE in a .Net application is really straightforward now =)
The Multisampling work for blenderplayer as a whole.
Missing functionalities:
- to expose the multisampling to the ui (so far it only works in console)
- window focus and keyboard messages for embedded blenderplayer (supported in their previous patch for 2.49, yet to be ported over)
- handle resizing (to be investigated, indeed the changes in getState() in GHOST_WindowWin32.cpp are going to get in the way of that if I'm not mistaken. To be addressed together.
Doxygen documentation to be added whenever I sort out how to do so. Sorry Nathan too many stuff to deal with at the same time. The sooner this patch gets in, the sooner the missing functionalities can be patched on top of that.
Sergey Sharybin [Tue, 3 May 2011 18:47:16 +0000 (18:47 +0000)]
Do not lock key whn undoing to another shapekey while sculpting
Dalai Felinto [Tue, 3 May 2011 18:31:01 +0000 (18:31 +0000)]
bplayer stub update + remove some tabs
Campbell Barton [Tue, 3 May 2011 15:30:16 +0000 (15:30 +0000)]
fix [#27160] Shaded checkbox is not working.
Campbell Barton [Tue, 3 May 2011 15:01:55 +0000 (15:01 +0000)]
fix [#27271] Going into sculpt mode causes crash
Campbell Barton [Tue, 3 May 2011 13:12:47 +0000 (13:12 +0000)]
fix [#27218] Tooltip text renders incorrectly.
Campbell Barton [Tue, 3 May 2011 12:37:15 +0000 (12:37 +0000)]
fix [#27268] 2.57b Global Pivot Option not functional.
Campbell Barton [Tue, 3 May 2011 08:45:40 +0000 (08:45 +0000)]
remove player runtime writing functions, this is now an addon.
Campbell Barton [Tue, 3 May 2011 08:21:11 +0000 (08:21 +0000)]
fix [#27143] Cannot import key configuration with systemwide install
Campbell Barton [Tue, 3 May 2011 07:51:07 +0000 (07:51 +0000)]
correct url [#27252] Help link "Manual" in blender still points to 2.49 documents.
Campbell Barton [Tue, 3 May 2011 07:09:02 +0000 (07:09 +0000)]
replace OBJECT_OT_location_apply, OBJECT_OT_scale_apply, OBJECT_OT_rotation_apply with OBJECT_OT_transform_apply with 3 boolean options.
added back menu item from 2.4x to apply Rotation & Scale.
Campbell Barton [Tue, 3 May 2011 07:05:01 +0000 (07:05 +0000)]
change ghost/x11 toggleConsole to use dummy function in the header.
Campbell Barton [Tue, 3 May 2011 05:41:16 +0000 (05:41 +0000)]
take 3, fix [#26727] Make Proxy ignores group offset
Campbell Barton [Tue, 3 May 2011 04:18:23 +0000 (04:18 +0000)]
fix [#27266] EdgeSplit + RemoveDoubles + MoveView = Crash
Campbell Barton [Tue, 3 May 2011 04:09:56 +0000 (04:09 +0000)]
auto-merge was incorrectly subtracting the doubles removed from the meshes total face count, remove doubles handles this.
Joseph Eagar [Tue, 3 May 2011 01:48:15 +0000 (01:48 +0000)]
=trunk=
Recommitted eltopo collision code (but disabled by default)
with Genscher's permission.
To use, you need to install liblapack and libblas
Dalai Felinto [Tue, 3 May 2011 00:13:01 +0000 (00:13 +0000)]
bugfix: empty proxied (Ctrl+Alt+P) doesn't maintain draw type and size
reported by me in my Blender ranting sessions with myself
Campbell Barton [Mon, 2 May 2011 17:29:30 +0000 (17:29 +0000)]
fix [#27148] *Invalid Path* in all "operator presets" dropdowns
Brecht Van Lommel [Mon, 2 May 2011 15:59:24 +0000 (15:59 +0000)]
Fix for recent glsl commit, forgot to include this file.
Campbell Barton [Mon, 2 May 2011 15:56:52 +0000 (15:56 +0000)]
remove dos/unix conversion scripts, enough editors and utilities can do this.
update debian spec for new icon location.
Campbell Barton [Mon, 2 May 2011 14:18:47 +0000 (14:18 +0000)]
fix for building windows/mingw
Brecht Van Lommel [Mon, 2 May 2011 14:01:45 +0000 (14:01 +0000)]
Fix #26807: glsl diffuse/specular was not clamping negative values, giving
some inconsistent results with the renderer.
Brecht Van Lommel [Mon, 2 May 2011 13:52:41 +0000 (13:52 +0000)]
Fix #26697: glsl color management + vertex color was not working right.
Campbell Barton [Mon, 2 May 2011 13:35:04 +0000 (13:35 +0000)]
reverse string lookup listbase function BLI_findstring counterparts, added BLI_rfindstring, BLI_rfindstring_ptr, these search from the end of the listbase (like pythons rfind).
Brecht Van Lommel [Mon, 2 May 2011 12:50:26 +0000 (12:50 +0000)]
Potential fix for #27257: menus disappear particle edit mode wireframe draw.
Depth test got re-enabled without check if it was necessary.
Campbell Barton [Mon, 2 May 2011 12:32:28 +0000 (12:32 +0000)]
enable face mask selection in texture paint mode again (worked in 2.4x).
Brecht Van Lommel [Mon, 2 May 2011 12:31:09 +0000 (12:31 +0000)]
Fix #27098: missing 3d view updates when editing GLSL material nodes.
Brecht Van Lommel [Mon, 2 May 2011 12:07:07 +0000 (12:07 +0000)]
Fix for revision 36403, using BLI_findstring. This loop looks for the last
found entry, not the first, made this a bit more explicit in the code now.
Brecht Van Lommel [Mon, 2 May 2011 11:34:57 +0000 (11:34 +0000)]
Fix #27165: uvedit mesh selection sync did not handle click / shift+click
for switching selection modes in the header.
Brecht Van Lommel [Mon, 2 May 2011 11:32:38 +0000 (11:32 +0000)]
Image Editor: remove toolbox menu, was an experiment and not in any other space.
Brecht Van Lommel [Mon, 2 May 2011 11:11:57 +0000 (11:11 +0000)]
UV Edit: move uv vertex buttons code to uvedit module.
Campbell Barton [Mon, 2 May 2011 10:22:49 +0000 (10:22 +0000)]
workaround [#27203] Crashes with some high-res image thumbnail generation
skip generating thumbs for images over 100mb.
also pass string lengths as size_t rather then int for path_util.c functions.
Brecht Van Lommel [Mon, 2 May 2011 10:21:07 +0000 (10:21 +0000)]
Fix #27230: texture paint face selection mask did not work on multires. It
seems the support mapping flag was removed for disabling in edit mode, but
this wasn't necessary.
Brecht Van Lommel [Mon, 2 May 2011 09:08:43 +0000 (09:08 +0000)]
Related to bug #27004: there is now an option to disable color management for
GLSL. I've tried to find a quicker way to do it that still looks the same, but
couldn't find a formula that didn't have major color shifts.
Brecht Van Lommel [Mon, 2 May 2011 08:56:53 +0000 (08:56 +0000)]
Fix #27243: missing seed button for halo materials.
Nathan Letwory [Mon, 2 May 2011 08:39:17 +0000 (08:39 +0000)]
Also add build fix for OSX (not-tested, so OSXers, please do test).
Campbell Barton [Mon, 2 May 2011 08:37:44 +0000 (08:37 +0000)]
copying/freeing node trees now adjusts grease pencil user count.
also NULL freed texture node socket data incase its used again by accident.
Campbell Barton [Mon, 2 May 2011 08:36:00 +0000 (08:36 +0000)]
x11 builds again.
Nathan Letwory [Mon, 2 May 2011 08:07:24 +0000 (08:07 +0000)]
Fix [#26981] Command window is not opening in 2.57.0
Reported by Thomas Engel
Fix [#26938] Blender Zoom not working after startup (Windows)
Reported by Ilija Boshkov
by applying patch [#26881] Fix for console disappearing in debug mode [Windows]
Submitted by Alexander Kuznetsov (AlexK)
The patch moves console toggling code into GHOST and improves on the toggling behaviour.
The patch changes handling of WM_SYSCOMMAND so that alt-key toggling isn't a problem anymore.
Sergey Sharybin [Mon, 2 May 2011 08:04:05 +0000 (08:04 +0000)]
Use enum menu for angle source in sculpt mode -- rake toggling wasn't
working due to it's 3 possible sources.
Campbell Barton [Mon, 2 May 2011 05:24:59 +0000 (05:24 +0000)]
fix transform code using a node space as an image space, accessing unallocated memory.
also remove bullet patch which has now been applied.
Campbell Barton [Mon, 2 May 2011 03:44:02 +0000 (03:44 +0000)]
build system changes to eltopo, re-applied.
Guillermo S. Romero [Sun, 1 May 2011 23:16:16 +0000 (23:16 +0000)]
SVN maintenance.
Joseph Eagar [Sun, 1 May 2011 21:39:13 +0000 (21:39 +0000)]
=trunk=
Recommitted eltopo collision code (but disabled by default)
with Genscher's permission.
To use, you need to install liblapack and libblas
Campbell Barton [Sun, 1 May 2011 16:07:18 +0000 (16:07 +0000)]
warp modifier, using negative strength inverts the transformation matrix but the location it gave wasnt useful when rotation was used too, just negate the translation.
Campbell Barton [Sun, 1 May 2011 15:16:59 +0000 (15:16 +0000)]
warp modifier, added in the render branch for durian.
simple modifier, almost like a hook, except it can deform with 2 object source -> target, has option to preserve rotation and use different falloff types.
Campbell Barton [Sun, 1 May 2011 14:02:40 +0000 (14:02 +0000)]
improve image sequence usability, problem was when the image didn't load there was no way to know the frame that blender was attempting to read.
added a label for image sequence images showing the image file's frame, even when not able to load, this also gives realtime feedback to the user while dragging the frame offset/start/duration buttons about so they can better understand how these settings work.
Campbell Barton [Sun, 1 May 2011 10:14:09 +0000 (10:14 +0000)]
Style Cleanup
- duplicate cases in if/else
- calc inside sizeof(...)
- redundant NULL checks.
- assignment to self.
- fix error getting text prefix for screen ID button.
Campbell Barton [Sun, 1 May 2011 09:39:32 +0000 (09:39 +0000)]
tweak image stamp, was 1px overlap and text was drawn too far up.
Campbell Barton [Sun, 1 May 2011 09:21:45 +0000 (09:21 +0000)]
- remove UV_OT_select_inverse, instead use invert option for UV_OT_select_all.
- fixed INVERT option for UV_OT_select_all.
Sergey Sharybin [Sun, 1 May 2011 08:50:09 +0000 (08:50 +0000)]
- Description of texture angle sources and stroke methods
- Fixed bug with empty tooltip for some ENUMs
Sergey Sharybin [Sun, 1 May 2011 07:39:21 +0000 (07:39 +0000)]
Fix #27239: "A" menu in Sculptmode fails
Simple incorrect property accessing fix (enum_items vs. items).
Additional change: removed hotkey to toggle airbrush in sculpt mode
TODO: incorrect hotkeys are shown in stroke method menu, but it's how
hotkey string detecting works now.
Campbell Barton [Sun, 1 May 2011 06:34:40 +0000 (06:34 +0000)]
replace inline string searches with BLI_findstring(), strcmp(..., ""), with char comparisons.
Campbell Barton [Sun, 1 May 2011 05:51:21 +0000 (05:51 +0000)]
copying texture point density was using inline dupalloc rather then BKE_copy_pointdensity() which NULL's runtime pointers.
Campbell Barton [Sun, 1 May 2011 05:41:08 +0000 (05:41 +0000)]
fix for r36399
- missing copy, free calls to curve falloff.
- missing localizing call for texture preview.
- also moved versioning into do_versions()
Joseph Eagar [Sun, 1 May 2011 03:57:53 +0000 (03:57 +0000)]
=trunk=
Made some improvements to the point density texture. Added support
for tweaking the falloff with a custom curve. Also coded new
falloff types based on the age or velocity of particles.
Also added a test break check to the volumetric shade cache code,
to avoid nasty hangups from the preview render (on render, exit,
etc).
Sergey Sharybin [Sat, 30 Apr 2011 18:47:06 +0000 (18:47 +0000)]
Fix #27224: Extrude Repeat Mesh doesn't have options
Poll function was too strict for this case that's why there was
no options in operator panel.
Additional changes:
- Added 'direction' parameter to operator so now extruding
could be made from script by providing direction vector.
- Fill this direction vection in operator's invoke functions
so abjusting offset/steps in operator panel gives better visual
feedback -- direction stays unchanged so user could easily see
final result.
- Made some tweaks to soft limits, so adjusting values by mouse
drag isn't such confusing now.
Tested in normal mode (from 3d view), as script and in background mode.
Haven't noticed any regressions.
Campbell Barton [Sat, 30 Apr 2011 13:58:31 +0000 (13:58 +0000)]
whitespace edits for bpy api, split some really long lines.
Sergey Sharybin [Sat, 30 Apr 2011 13:47:25 +0000 (13:47 +0000)]
Fix one more crash introduced with r36384: trying to bake resulted in a segfault
Also, use tabs for indentation in previous fix for the same crash
Campbell Barton [Sat, 30 Apr 2011 11:28:09 +0000 (11:28 +0000)]
fix crash using freed memory with SCREEN_OT_screen_set while the current screen has a full area.
Campbell Barton [Sat, 30 Apr 2011 11:21:46 +0000 (11:21 +0000)]
fix for render stamp text drawing too low.
M.G. Kishalmi [Sat, 30 Apr 2011 10:02:23 +0000 (10:02 +0000)]
fixed a crash introduced in r36384
where the preview render was calling getCam before setting the scene.
Campbell Barton [Sat, 30 Apr 2011 08:54:06 +0000 (08:54 +0000)]
fix [#27221] stamp text bug in lower lines
Campbell Barton [Sat, 30 Apr 2011 06:40:39 +0000 (06:40 +0000)]
normalize quaternions when setting the view axis - some old files had non-normalize view rotation.
Campbell Barton [Sat, 30 Apr 2011 06:22:02 +0000 (06:22 +0000)]
scene sequencer strips now work when camera override is used even if the scene has no active camera.
Campbell Barton [Sat, 30 Apr 2011 05:42:37 +0000 (05:42 +0000)]
use camera render argument to avoid temp overwriting the scene camera.
also fix for mistake with rendering stars from previous commit.
Campbell Barton [Sat, 30 Apr 2011 05:26:09 +0000 (05:26 +0000)]
- pass the camera to the render stamp function.
- add BKE_write_ibuf_stamp() since saving environment maps & screen shots shouldn't have stamp.
Campbell Barton [Sat, 30 Apr 2011 04:29:36 +0000 (04:29 +0000)]
add back support for rendering local view camera.
Campbell Barton [Sat, 30 Apr 2011 03:36:59 +0000 (03:36 +0000)]
fix for minor glitch when setting the camera in local view (camera could try to smooth view into its self).
Campbell Barton [Fri, 29 Apr 2011 06:59:18 +0000 (06:59 +0000)]
corrections for redundant null checks & transform printing a string into its self.
Campbell Barton [Fri, 29 Apr 2011 05:32:27 +0000 (05:32 +0000)]
fix [#27199] Copy Mirrored UV Coords missing the reverse option
Campbell Barton [Fri, 29 Apr 2011 05:01:50 +0000 (05:01 +0000)]
fix [#27057] In cam perspective, world-axis-locked xform of an obj at cam loc fails
when constraining the axis, ensure central point of the transformation is not too close to the view origin since this fails.
Campbell Barton [Fri, 29 Apr 2011 04:43:36 +0000 (04:43 +0000)]
spelling corrections.
Campbell Barton [Fri, 29 Apr 2011 03:01:58 +0000 (03:01 +0000)]
fix [#27198] Missing Live LSCM Update after Aligning of pinned vertices (W)
UV Sync Select was failing with live unwrap.
Campbell Barton [Thu, 28 Apr 2011 17:19:32 +0000 (17:19 +0000)]
fix [#26727] Make Proxy ignores group offset
Campbell Barton [Thu, 28 Apr 2011 13:01:29 +0000 (13:01 +0000)]
Added tooltip note that parent curve 'Follow' needs to be enabled for track axis to do anything.
also show both enum descriptions in the tooltip (the enum properties description and the individual enums).
Ton Roosendaal [Thu, 28 Apr 2011 12:43:28 +0000 (12:43 +0000)]
Twitter report fix :)
More clear naming for image "source" type.
"Single Image" and "Image Sequence" and "Movie File".
Thanks @hjalti for poking!
Campbell Barton [Thu, 28 Apr 2011 09:52:16 +0000 (09:52 +0000)]
fix [#27196] Traceback caused by preset selection
Campbell Barton [Thu, 28 Apr 2011 09:50:57 +0000 (09:50 +0000)]
fix [#27201] icosphere normals problem
Joshua Leung [Thu, 28 Apr 2011 09:46:53 +0000 (09:46 +0000)]
Bugfix [#27194] Difficulty selecting bones with boneshapes enabled and
some bones made un-selectable
Pose Bone selection (like object selection) used OpenGL to draw
wireframes with different colours into an offscreen buffer and then
from that identify which item was clicked on. The bug here was that
unselectable bones were getting drawn for this step too, so they were
getting caught instead of the control bones that were selectable.
Campbell Barton [Thu, 28 Apr 2011 08:26:49 +0000 (08:26 +0000)]
fix [#27193] view/camera/set active object as camera sometimes "disabled" in gui (grayed out)
When in quad split view, operators that only apply to the unlocked region can now be accessed from menus and when the mouse is over a locked view.
Applied to:
- VIEW3D_OT_object_as_camera
- VIEW3D_OT_view_persportho
- VIEW3D_OT_view_orbit
- VIEW3D_OT_viewnumpad
Campbell Barton [Thu, 28 Apr 2011 07:55:29 +0000 (07:55 +0000)]
smooth view now takes the v3d and region as arguments. (no functional change)