Campbell Barton [Fri, 4 Sep 2009 19:09:05 +0000 (19:09 +0000)]
fix for ffmpeg with cmake, still not linking yet
Campbell Barton [Fri, 4 Sep 2009 18:32:31 +0000 (18:32 +0000)]
update relative paths for CMake
Nathan Letwory [Fri, 4 Sep 2009 16:41:46 +0000 (16:41 +0000)]
* remove mtio.h - no magnetic tape support has been coded. Helps compilation on osx10.6.
Nathan Letwory [Fri, 4 Sep 2009 16:13:43 +0000 (16:13 +0000)]
* shuffle a bit with playerlist. Fixes some undefined references, but not all. 15 undefined references left for mingw. (msvc is fine)
Nathan Letwory [Fri, 4 Sep 2009 15:54:06 +0000 (15:54 +0000)]
== SCons ==
* apply a patch from b333rt. I modified to test for relative/absolute paths before doing mods by b333rt. Fixes troubles with using absolute paths in BF_BUILDDIR
Nathan Letwory [Fri, 4 Sep 2009 12:56:30 +0000 (12:56 +0000)]
== SCons ==
* further cleaning of 'player' stuff. Now only 3 libs are remaining, of which ideally the stubs lib will be fixed at some point, fading away into the dark history of not-so-nice code. The current blenderplayer part is still a little bit hackish, I'll see if I can find a better alternative, for now it works good enough.
Joshua Leung [Fri, 4 Sep 2009 11:19:12 +0000 (11:19 +0000)]
2.5 - Patches + Cleanups
* Some of the patches in patch #19034 - by Wolfgang W. (bender)
- outliner.patch - a small fix to make the outliner draw the last
line of the list, if the list is bigger than the window.
- scroll.patch - enables vertical scrolling in the buttons window in horizontal mode. Necessary if a panel is opened that
is higher than the buttons window.
* Also, fixed some messy comments in drivers code
Joshua Leung [Fri, 4 Sep 2009 10:41:02 +0000 (10:41 +0000)]
2.5 - KeyingSet fixes
* Fixed warnings in console about missing (removed) property
* Fixed update problems after creating a new keyingset
Nathan Letwory [Fri, 4 Sep 2009 10:40:41 +0000 (10:40 +0000)]
== SCons ==
* first working changes to get blenderplayer linking
* blenderplayer/ moved into source/ (CMakeLists.txt changed for that too)
* added externs for bprogname to gp_ghost, so that it links properly
Campbell Barton [Fri, 4 Sep 2009 08:49:11 +0000 (08:49 +0000)]
poll functions to stop crashing when running operators in an invalid context.
Joshua Leung [Fri, 4 Sep 2009 07:26:32 +0000 (07:26 +0000)]
Keying Sets: Added options to add/remove properties from the active Keying Set to the RMB menu (and also via KKEY and ALT-K respectively)
Matt Ebb [Fri, 4 Sep 2009 06:55:01 +0000 (06:55 +0000)]
* New and improved voxel interpolation methods, from Alfredo.
Now there is (in order of speed):
* Nearest neighbour (very rough quality)
* Linear (medium quality)
* Quadratic (good quality)
* Cubic Catmull-rom (very good quality, crisp)
* Cubic B-spline (very good quality, smooth)
Thanks!
Campbell Barton [Fri, 4 Sep 2009 04:29:54 +0000 (04:29 +0000)]
- rna documentation layout now matches blenders internal layout, autogenerate packages for nested modules.
bpy.data, bpy.ops.object etc.
- added basic docs for bpy.props
- omit panel, menu and operator classes (took up too much space and not useful)
- exec cant be used as an operator suffix eg- CONSOLE_OT_exec --> CONSOLE_OT_execute (same for file)
- fixed some crashes when generating docs
Updated docs here
http://www.graphicall.org/ftp/ideasman42/html/
Joshua Leung [Fri, 4 Sep 2009 04:27:06 +0000 (04:27 +0000)]
2.5 - Keyframing Bugfixes + Code Cleanups
* DopeSheet + Graph Editor - 'Sample Keyframes' option now tags newly created keyframes as being breakdowns. Also moved reduced the code duplication here by moving the core code for this to the animation module.
* Keyframing (Standard/Auto) - Added proper 'replace' option
Keyframes can now be rekeyed non-destructively when the INSERTKEY_REPLACE flag is provided to the keyframing API functions, since this option will make sure that only the values of the handles get altered.
For the Auto-Keyframing 'Replace/Edit Keys' option, this means that it truly works as it describes now, since it will now only replace the values of the keyframes on the current frame, and won't create new keyframes in the process or destroy the tangents already created for those keys.
For things like the sliders in animation editors, keyframes changing the value won't destroy existing tangents.
Nathan Letwory [Fri, 4 Sep 2009 04:05:29 +0000 (04:05 +0000)]
* clean commented-out parts
Joshua Leung [Fri, 4 Sep 2009 02:44:56 +0000 (02:44 +0000)]
2.5 - Keyframe Types for DopeSheet
It is now possible to tag certain keyframes as being 'breakdowns' in the DopeSheet. Breakdown keyframes are drawn as slightly smaller blue diamonds.
Simply select the relevant keyframes and use the RKEY hotkey (or from the menus, Key->Keyframe Type) to choose between tagging the keyframe as a 'proper' keyframe and a 'breakdown' keyframe.
Notes:
* Please note that this feature does not currently imply anything about breakdowns moving around keyframes or behaving any differently from any other type of keyframe
* In future, if there is any such need, more keyframe types could be added, though this is not really likely at all
Martin Poirier [Fri, 4 Sep 2009 01:33:22 +0000 (01:33 +0000)]
add blendcache files to dependancies. next step, per frames deps.
Joshua Leung [Fri, 4 Sep 2009 00:18:44 +0000 (00:18 +0000)]
2.5 - Bugfixes for Armature operators
AutoSide names now gets called correctly from menus.
However, the toggle bone settings operators aren't. I can't seem to get them to call the invoke again after making autoside call exec...
Campbell Barton [Thu, 3 Sep 2009 22:37:09 +0000 (22:37 +0000)]
allow execution mode to be given as an argument to operators from python (requested by algorith)
example. bpy.ops.tfm.rotate('INVOKE_REGION_WIN', pivot=(0,1,2), ......)
bpy_array.c - was too strict with types, 0 should be allowed as well as 0.0 in a float array.
Daniel Genrich [Thu, 3 Sep 2009 19:08:16 +0000 (19:08 +0000)]
Bugfix for usage of uninitialized variable on windows (props_ptr.data needs to be set to NULL before calling uiItemFullO() ) - please check if this also compiles on gcc
Brecht Van Lommel [Thu, 3 Sep 2009 18:38:52 +0000 (18:38 +0000)]
2.5: fix missing LIB_NEEDLINK check in windowmanager reading,
would cause crash with linking/appending.
Nicholas Bishop [Thu, 3 Sep 2009 17:45:04 +0000 (17:45 +0000)]
2.5/Multires:
* Added back multires delete higher levels (new operator + button)
Joshua Leung [Thu, 3 Sep 2009 12:20:59 +0000 (12:20 +0000)]
2.5 - A few bugfixes...
* Autoside renaming tools in EditMode for armatures now works again. (Wrong property name)
* Action used by NLA Strips can now be chosen/changed to another action
Michael Fox [Thu, 3 Sep 2009 10:42:53 +0000 (10:42 +0000)]
2.5
*****
first commit in a long time, and its great to be back!
commited Select Mirror operator for objects
eg. L.sword->R.sword
added to 3dview select menu aswel
the hotkey is shift-ctrl-m (hope its not taken)
Daniel Genrich [Thu, 3 Sep 2009 10:34:54 +0000 (10:34 +0000)]
Missing header include for non-linux OS "BLI_exist()"
Campbell Barton [Thu, 3 Sep 2009 07:12:41 +0000 (07:12 +0000)]
sound init/exit so at least the player opens
Campbell Barton [Thu, 3 Sep 2009 06:34:03 +0000 (06:34 +0000)]
changes needed for building the blenderplayer with cmake on linux.
Joshua Leung [Thu, 3 Sep 2009 05:12:34 +0000 (05:12 +0000)]
Grease Pencil: Datablock bugfixes
* Grease Pencil datablocks can now be properly browsed/added/unlinked from the UI panels
* Made Grease Pencil use the brush icon for now. A proper icon for this would be nice ;)
Dalai Felinto [Thu, 3 Sep 2009 02:55:23 +0000 (02:55 +0000)]
BlenderPlayer linking again for cmake - 148 errors gone.
After talking with Ton and Campbell we agreed that it wouldn't hurt to have blenderplayer again (specially now since BGE is almost 100% working in 2.5).
However in order to make it link, I needed to bring back stubs, a lot of so-called bad calls.
I'm not sure how we should proceed from here, but it looks like people could start to take a look at source/blenderplayer/bad_level_calls_stubs/stubs.c and fix their own modules/functions
** NOTE: I removed the sound calls from BlenderPlayer. In order to fix it look at //XXX ADD SOUND in GPG_Application.cpp and GPC_Engine
*** tested in CMake+MSVC.
- Scons is not building !!! (why does the building systems have to be so different?)
And someone may like to fix make. (take a look at /trunk/source/blender/blenkernel/bad_level_call_stubs/Makefile )
**** it may work better inside /source/gameengine/GamePlayer
Campbell Barton [Thu, 3 Sep 2009 01:52:10 +0000 (01:52 +0000)]
remove Py_CmpToRich (copy of py3.0 function), instead only support == and != for PyRNA and KX_PySequence types.
mesh1 > mesh2 # will raise an error.
Martin Poirier [Wed, 2 Sep 2009 20:57:18 +0000 (20:57 +0000)]
Fix thread hanging problem (mostly seen with material preview, but that sneaky f*er could strike any time).
Story time: Once upon a time, in the green valley of fileselect, BLI_end_threads would get called on an empty threadbase, depending on the result of a previous call to readdir(). The function would then gladly decrement thread_level to -1 which would cause all kinds of fun havoc. THE END.
Made sure thread_level is only incremented and decremented when needed. The caller should never have to make sure of that, especially since it already lets you call with a null threadbase.
Please report any further hang (and how to reproduce, if possible).
Nathan Letwory [Wed, 2 Sep 2009 20:54:33 +0000 (20:54 +0000)]
* actually commit the sndfile dll copying (and not just claiming I did)
Campbell Barton [Wed, 2 Sep 2009 20:46:28 +0000 (20:46 +0000)]
* KX_PythonSeq - comparisons work again. eg. act1.sensors == act2.sensors, had to copy Py_CmpToRich inline grr!, mailed python-dev about this.
* Shift-Click on states in the logic UI works again.
* New Logic Space has all the view options pressed.
Andrea Weikert [Wed, 2 Sep 2009 17:13:47 +0000 (17:13 +0000)]
Blender 2.5
* recent files now just write content of G.recent_files, was adding untitled.blend!
* removed unused and now superfluous code reading the .Bfs file (is done in fsmenu now)
Joshua Leung [Wed, 2 Sep 2009 12:16:00 +0000 (12:16 +0000)]
2.5 - UI Bugfixes
* Modifiers for Lattices now get shown again
* Auto IK and X-Axis Mirror options are now visible again in Armatures UI. Their placement isn't ideal yet, and they also need some proper poll-based visibility adjustments
* F-Modifiers now correctly update the keyframes view after their settings are modified
Joshua Leung [Wed, 2 Sep 2009 10:45:11 +0000 (10:45 +0000)]
2.5 - Rotation order is now taken into account for constraints
* Added a 'rotOrder' parameter for constraint evaluation objects and constraint targets, which describes the rotation mode used for the matrices there.
Todos:
* Constraint targets default to using XYZ only for now. This will need be be addressed eventually.
* Copy Rotation constraint currently cannot use the new rotation order code for the target matrix. What's surprising is that even though it's just using XYZ as the old code did, it doesn't work, and yet everything else works nicely. Silly constraint! (it is almost impossible to improve this constraint further without breaking a rig out there)
Nathan Letwory [Wed, 2 Sep 2009 04:55:33 +0000 (04:55 +0000)]
* quick fix from Moguri to get things compiling again.
Campbell Barton [Wed, 2 Sep 2009 03:14:38 +0000 (03:14 +0000)]
text display (debug info) in the game engine working again & other minor changes.
Campbell Barton [Wed, 2 Sep 2009 01:39:46 +0000 (01:39 +0000)]
Game options like enable physics visualisation, nomipmap, displaylists, ignore_deprecation_warnings etc work again.
space_set_commmandline_options from space.c as game_set_commmandline_options
Joshua Leung [Wed, 2 Sep 2009 00:42:12 +0000 (00:42 +0000)]
2.5 - Rotation Order Tweaks for Armature Bones
* All tools where rotation order matters for armature bones have now been adjusted to use the new code
* Transform now uses the new code for bones too. However, there are some jumping issues here that I'm not too sure how to solve yet. Help fixing this is welcome.
Martin Poirier [Wed, 2 Sep 2009 00:07:55 +0000 (00:07 +0000)]
support for multiple file: linked libraries
Nathan Letwory [Tue, 1 Sep 2009 23:43:00 +0000 (23:43 +0000)]
* BGE optimisation tweaks.
Nathan Letwory [Tue, 1 Sep 2009 23:32:34 +0000 (23:32 +0000)]
== SCons ==
* Add BGE_CXXFLAGS so we can get rid of hard-coded BGE compiler settings. This was only done for windows, but now linuxers and osxers should be able to set BGE-specific optimisation too. See the windows default configs for example.
Campbell Barton [Tue, 1 Sep 2009 18:49:33 +0000 (18:49 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22875:22935
Note, missing r22897, schlaile
source/blender/src/hddaudio.c
Ton Roosendaal [Tue, 1 Sep 2009 17:31:33 +0000 (17:31 +0000)]
2.5
Bugfix: new ALT+LMB pan in 2d windows hanged eternally; the modal keymaps
didnt support this yet. Is on todo; but fix is easy for now.
Also don't know if this is the right way to do it... systems with MMB can
also get it as macro (like action mouse, select mouse).
Ton Roosendaal [Tue, 1 Sep 2009 17:10:56 +0000 (17:10 +0000)]
2.5
Background picture used bad scissor/viewport code, causing bad drawing
on tool region.
Campbell Barton [Tue, 1 Sep 2009 16:37:23 +0000 (16:37 +0000)]
- enum for convex hull and triangle mesh were swapped
- python pedantry
Thomas Dinges [Tue, 1 Sep 2009 14:59:50 +0000 (14:59 +0000)]
2.5 Buttons:
* Fix for Point Density Texture panel. "System" label was there before the pointer button showed up. (For Source Type Particle System.)
William Reynish [Tue, 1 Sep 2009 12:41:06 +0000 (12:41 +0000)]
Added the old Edge settings to scene properties. This old feature is really quite terrible as it isn't even resolution independent - the edge width should be relative to the image dimensions.
Adjusted layout for sound in sequencer and a few other minor tweaks.
Joshua Leung [Tue, 1 Sep 2009 12:18:17 +0000 (12:18 +0000)]
2.5 - Rotation Orders for Bones [Durian Rigging Request]
This commit is the start of an implementation of (euler) rotation orders for Bones (later to be extended to Objects too).
Technical details and references can be found at:
http://wiki.blender.org/index.php/User:Aligorith/EulerRotationOrder
In short, I've added a new set of Euler conversion functions (EulO... and ...EulO), coexisting with the old functions for now, which can handle different rotation orders.
Changes have only been made to the basic evaluation code. However, the following places will still need modifications:
* Transform code - needs to be made to use functions which take rotation order into account instead of using XYZ only
* Rotation constraints - same story
* Other rotation editing tools for armatures also need a check up, since there might have been some missing code when I ported eulers earlier
Joshua Leung [Tue, 1 Sep 2009 06:48:40 +0000 (06:48 +0000)]
2.5 - Code shuffling in arithb.c
* Moved all the euler-rotation functions so that they were near each other in the file.
* Tagged all functions relevant to axis-angle rotations
Martin Poirier [Tue, 1 Sep 2009 01:09:05 +0000 (01:09 +0000)]
more use of data structures for communication. begining support for more than one file per fob (external dependencies, point cache, ...)
Campbell Barton [Tue, 1 Sep 2009 00:52:03 +0000 (00:52 +0000)]
Open recent list was arseabout, only adding files on save, rather then open.
This is problematic for a few reasons...
* I'd often save a blendfile only so it would appier in the open recent menu.
* Saving files (when you dont need to) makes access times less useful.
* binary diff's in SVN dont give any useful info. Sometimes I wasnt sure if I actually edited or saves for fast re-opening.
* Testing 2.4x files with animation data in 2.5 can loose info.
* Its not logical and other apps dont work this way.
Also made the recent file list in the file browser display the most recent item first (like the open recent menu).
Thomas Dinges [Tue, 1 Sep 2009 00:33:39 +0000 (00:33 +0000)]
2.5: Layout Python Files:
* Code cleanup.
* Made some files match the code guidelines, should be all now.
Please everybody use them: http://wiki.blender.org/index.php/Dev:Py/Blender2.5/Layouts/Guidelines
* Made polls and header_draw functions as small as possible.
* Small fixes here and there.
Diego Borghetti [Mon, 31 Aug 2009 22:50:08 +0000 (22:50 +0000)]
Add missing define to rna for sound system.
Joerg Mueller [Mon, 31 Aug 2009 18:18:10 +0000 (18:18 +0000)]
Changed sync difference time of sound strips to 0.5 seconds instead of 1 frame. Maybe this should be a user preference setting?
Ton Roosendaal [Mon, 31 Aug 2009 18:17:06 +0000 (18:17 +0000)]
Part 2 of the 2.49b commit.
We now should freeze and tag!
Ton Roosendaal [Mon, 31 Aug 2009 18:16:18 +0000 (18:16 +0000)]
Part 1 of the 2.49b commit
Benoit Bolsee [Mon, 31 Aug 2009 17:00:03 +0000 (17:00 +0000)]
More MSVC project file update (don't propagate those changes to 2.5).
Campbell Barton [Mon, 31 Aug 2009 16:36:02 +0000 (16:36 +0000)]
remove "_amount" from rna names, its not helpful.
Benoit Bolsee [Mon, 31 Aug 2009 15:54:56 +0000 (15:54 +0000)]
BGE bug #19020: The GE Torque actuator x -& y-axis do not work in 2.49a (winxp)
Benoit Bolsee [Mon, 31 Aug 2009 15:28:43 +0000 (15:28 +0000)]
BGE bug #18963: obj.sendMessage() with 4 arguments crashes Blender.
Benoit Bolsee [Mon, 31 Aug 2009 14:25:39 +0000 (14:25 +0000)]
Update MSVC project files.
Daniel Genrich [Mon, 31 Aug 2009 13:56:21 +0000 (13:56 +0000)]
Win64: We need manifest if openmp is enabled
Campbell Barton [Mon, 31 Aug 2009 13:03:38 +0000 (13:03 +0000)]
corrections to epydocs
Joshua Leung [Mon, 31 Aug 2009 04:39:08 +0000 (04:39 +0000)]
2.5 - Datatype defines for MotionPaths and Visualisation Settings
Joshua Leung [Mon, 31 Aug 2009 04:24:28 +0000 (04:24 +0000)]
Grease Pencil: Cleanup Work + Bugfixes
* Disabled temporary debugging prints, since event handling now seems stable
* Modified the initgrabz() code so that when the cursor is behind the viewplane, the z-factor is calculated as if the cursor was on the other side of the view plane. This seems to work well, and doesn't seem to have any negative side-effects (yet).
Campbell Barton [Mon, 31 Aug 2009 03:36:02 +0000 (03:36 +0000)]
bugfix [#19254] KX_PolyProxy returns improper VertexIndex with triangles, using .getVertexIndex() and .v1, .v2, etc.
Surprising this wasn't noticed before. Any mix of quads/tris caused the face verts of either quads/tries (whichever comes last).
Tested by exporting the KX_MeshProxy and re-importing as an OBJ.
This fix assumes there are only 2 m_darray's per face array which is currently true, but wont be if edge support is added back.
Joshua Leung [Mon, 31 Aug 2009 01:58:11 +0000 (01:58 +0000)]
Grease Pencil: Restored some editing operators (convert and delete active frame)
* Convert operator - can currently be used to convert active Grease Pencil layer to curves. I had a look at making this part of a special "curve sketching" macro, though it seems that we cannot have modal operators coming first in a macro (and also cannot specify operator calling modes)
* Delete Active Frame operator - does what its name say it does. It deletes the active frame for the active layer of Grease Pencil sketches.
Martin Poirier [Sun, 30 Aug 2009 21:57:10 +0000 (21:57 +0000)]
Fix crash reported by DingTo with camera transform in camera view.
Thomas Dinges [Sun, 30 Aug 2009 21:00:26 +0000 (21:00 +0000)]
2.5 Physic Buttons:
* Some Panels missed the "md" context declaration for the new cloth_panel_enabled(md) check.
* Code Cleanup.
Martin Poirier [Sun, 30 Aug 2009 20:03:47 +0000 (20:03 +0000)]
bugfix of the bugfix
Peter Schlaile [Sun, 30 Aug 2009 19:38:22 +0000 (19:38 +0000)]
== Sequencer ==
Fixed hddaudio for sample formats other than 16 bit (8 bit e.g.)
Thomas Dinges [Sun, 30 Aug 2009 19:26:18 +0000 (19:26 +0000)]
2.5 Mist/Camera:
Changing Mist values didn't update the mist camera drawing in 3D View, when enabled.
Bug reported by Julian|H. Thanks!
Campbell Barton [Sun, 30 Aug 2009 19:02:48 +0000 (19:02 +0000)]
made python 2.x and 3.x compatible.
Guillermo S. Romero [Sun, 30 Aug 2009 17:34:04 +0000 (17:34 +0000)]
Make file directly executable.
Joerg Mueller [Sun, 30 Aug 2009 16:18:05 +0000 (16:18 +0000)]
2.5 Sound:
* Updated UserDef RNA so that only compiled in audio drivers are displayed. (Missing definitions in Makefiles, someone fix please!)
* Fixed libsndfile and ffmpeg building with CMake with msvc.
Joerg Mueller [Sun, 30 Aug 2009 15:00:42 +0000 (15:00 +0000)]
Removing old datatoc C source code; use the python version now!
Joshua Leung [Sun, 30 Aug 2009 13:32:08 +0000 (13:32 +0000)]
Grease Pencil: Basic Support for Image Editor Again
* Grease Pencil works again from Image Editor now. For now, the GPencil datablock is linked to the Image Editor space, but this can be changed if need be.
* Made Grease Pencil hotkeys into a separate Grease Pencil keymap, which can get included automagically like for frames/ui/v2d/etc. by supplying ED_KEYMAP_GPENCIL as part of st->keymapflag
* Temporarily restored the nasty hack to make View2D-aligned sketches in Image Editor to use OpenGL lines only. I still dunno why this doesn't work normally.
(Probably related is that strokes are not visible when there's no image visible atm).
Joshua Leung [Sun, 30 Aug 2009 11:37:29 +0000 (11:37 +0000)]
Grease Pencil: Various Drawing Fixes
* Restored option to have strokes aligned to screen space. By default, this is not enabled (the setting for view-space is the default instead).
* Fixed bugs related to drawing/erasing in screen space.
Joerg Mueller [Sun, 30 Aug 2009 09:11:24 +0000 (09:11 +0000)]
Same fix for libsndfile in cmake.
Joerg Mueller [Sun, 30 Aug 2009 09:10:31 +0000 (09:10 +0000)]
Fix for libsndfile in mingw scons config.
Matt Ebb [Sun, 30 Aug 2009 07:07:02 +0000 (07:07 +0000)]
* Fixes for shading objects inside volumes
Matt Ebb [Sun, 30 Aug 2009 06:42:53 +0000 (06:42 +0000)]
* Limit available texture coordinate types when using volume materials
Joshua Leung [Sun, 30 Aug 2009 06:10:38 +0000 (06:10 +0000)]
Grease Pencil: Hacky fix for "broken strokes" bug (pun intended) ;)
For the strokes drawn using OpenGL lines, moderately-sized changes in the pressure between two points could result in the stroke being disjointed, since a new GL_LINE_STRIP would need to be created with the new line thickness due to the new pressure value.
(In reference to the summary of this commit, this bug was noticed by Matt Ebb (broken). This bug is also in 2.4x, but was suprisingly not really noticed.)
Joshua Leung [Sun, 30 Aug 2009 05:54:27 +0000 (05:54 +0000)]
Grease Pencil: Bugfix (Dots) + RNA Wrapping
* Making single dots should be possible again.
* Wrapped the debug option, 'Show Points', for layers, which makes all the points on the layer get drawn with dots indicating positions of stroke points.
Joshua Leung [Sun, 30 Aug 2009 04:48:34 +0000 (04:48 +0000)]
Grease Pencil: Drawing Improvements
* Smooth strokes can now be drawn again, with normal (i.e. reasonably speedy feedback again).
Previously slow drawing was caused by a bad notifier being used - the full screen was redrawn each time instead of just the relevant region. Now, only the relevant region is redrawn while drawing, and a proper flush is done for the rest of the screen at the end.
* Made drawing straight lines a proper drawing 'mode' for Grease Pencil now. Use the Ctrl-D-LMB hotkey to draw straight lines in this way. The (buffer) line drawn now will accurately represent the final straight line instead of drawing the freehand path taken as before.
Tom Musgrove [Sun, 30 Aug 2009 03:10:03 +0000 (03:10 +0000)]
just some comment fixes
Martin Poirier [Sun, 30 Aug 2009 02:40:42 +0000 (02:40 +0000)]
bug fixes and small changes
Campbell Barton [Sun, 30 Aug 2009 02:09:57 +0000 (02:09 +0000)]
was crashing when joining in-link to in-link for the logic buttons.
Campbell Barton [Sat, 29 Aug 2009 23:41:09 +0000 (23:41 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22717:22875
Campbell Barton [Sat, 29 Aug 2009 23:35:13 +0000 (23:35 +0000)]
quiet warnings
Joerg Mueller [Sat, 29 Aug 2009 23:13:27 +0000 (23:13 +0000)]
2.5 Sound: Bugfixes.
Campbell Barton [Sat, 29 Aug 2009 23:05:46 +0000 (23:05 +0000)]
Workarounds for 2 rna bugs.
- mesh face properties that have no data are tested for length.
- the rawtype of MFace.verts is not set, defaulting to CHAR, meaning only verts with 256 verts could be added from python. temp workaround by making PROP_RAW_INT the first in the enum. For some reason makesrna.c doesn't set the raw type MFace.verts at all.
Janne Karhu [Sat, 29 Aug 2009 21:52:57 +0000 (21:52 +0000)]
Cloth didn't update properly in particle mode. Don't understand why the particle mode check was there to begin with, but if removing it causes trouble later on some other solution can be figured out.
Nicholas Bishop [Sat, 29 Aug 2009 21:51:58 +0000 (21:51 +0000)]
2.5 Paint:
* Don't do shared vertex colors for every vpaint dot. Profiling on a large mesh showed vpaint spent about 65% of the time in this function, but most of the time no difference will be apparent in the result. (Could make an operator so the user can force this operation after doing some painting.)
TODO:
Profiling now shows most time spent in drawing the mesh. (This is done twice for vpaint, the first time for finding backbuf sampling.)
Martin Poirier [Sat, 29 Aug 2009 20:29:29 +0000 (20:29 +0000)]
bugfix: on windows, it wouldn't correctly recognize directories and import python modules on load.
BLI_exist vs BLI_exists (fun times were had by all)
Thomas Dinges [Sat, 29 Aug 2009 18:02:37 +0000 (18:02 +0000)]
2.5:
Bugfix: Preview-Render didn't update when changing material/texture id block/slot.
Janne Karhu [Sat, 29 Aug 2009 17:25:26 +0000 (17:25 +0000)]
Missing null check in particle edit code caused a crash when using search boxes.
Martin Poirier [Sat, 29 Aug 2009 17:25:22 +0000 (17:25 +0000)]
First commit draft for network rendering.
Docs are here: http://wiki.blender.org/index.php/User:Theeth/netrender
Should be easy to test if people want too, just follow the instructions on wiki
Code is still very much in flux, so I'd like if people would refrain from making changes (send patches directly to me if you must).
The UI side is very crap, it's basically there just to get things testable. See wiki for known bugs.