Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-21pass even mouse coords value as const so its not edited, ↵Campbell Barton
view3d_get_view_aligned_coordinate() could modify the event->mval.
2011-04-19Whitespace/typosJoshua Leung
2011-04-14A better fix than r36151 for the Grease Pencil drawing issues in theJoshua Leung
Image Editor. There's already a flag in use for tagging the "special drawing in Image Editor" case, so make use of that now. Most of the changes here are just whitespace tweaks...
2011-04-13work-around for grease pencil single points in the image view drawing really ↵Campbell Barton
large (bigger then the image).
2011-04-12modify the method for calculating ghost alpha.Campbell Barton
* ghost frame 1 did nothing (alpha 0.0). * was subtracting alpha from the existing alpha which could end up with negative alpha. * with larger frame ranges the frames on each size would get too close to being the same as the active frames alpha, use 66% alpha for all non-active frames as well as time based falloff.
2011-04-06fix [#26803] Libs paths are case sensitive in windowsCampbell Barton
use case insensitive path comparison on windows: BLI_path_cmp
2011-04-06fix for cmake glew includes (tested with mingw), also made qtcreator project ↵Campbell Barton
generator work with mingw again
2011-04-06fix [#26801] Undoing Animation modifiers undoes 2 steps.Campbell Barton
also found grease pencil layer operators were not flagged to use undo.
2011-04-05fix [#26793] Is the Convert function of Grease Pencil normal?Campbell Barton
disallow grease pencil conversion in editmode, was setting a new active object.
2011-04-04fix [#26774] Grease Pencil error?Campbell Barton
own error with recent change to grease pencil.
2011-04-01xray option for grease pencil (on by default), sometimes its nicer not to ↵Campbell Barton
have lines draw through the mesh.
2011-03-31Bugfix #26651Ton Roosendaal
If greasepencil became active, making Blender area full or restore screen from full, the greasepencil handler was still running, using outdated area pointer. This crashed Blender. Now greasepencil modal() ends on the case its own stored area does not exist anymore.
2011-03-28- quiet new warnings with gcc 4.6Campbell Barton
- use BLI math funcs for normal float/short conversion. - correct some un-intentional float/double promotions.
2011-03-27subsurf, derived mesh and other misc files: floats were being implicitly ↵Campbell Barton
promoted to doubles, adjust to use floats.
2011-03-27object/paint/misc-files: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats. - also UV angle stretching was using radians->deg which wasn't needed.
2011-03-22fix for grease pencil conversion to bezier curve reading past the end of the ↵Campbell Barton
array.
2011-03-18fix for using freed memory with modal grease pencil draw.Campbell Barton
2011-03-17Bugfix: Grease Pencil paint didn't clean up properly after error-exitsJoshua Leung
This manisfested as an inability to draw any more strokes after trying to draw a stroke while the active layer was locked and then unlocking that layer to try and draw on it again.
2011-03-03use NULL instead of 0 for pointers, (editors)Campbell Barton
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27== UI icons ==Andrea Weikert
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
2011-02-27Grease Pencil stroke smoothing cleanup - making this less susceptibleJoshua Leung
to sequential error by adopting a two-pass smoothing strategy instead. This seems to give some minimal reductions in the amounts of unwanted shrinkage that occurs
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-21I swear, it was just an innocence change in guardedalloc!Nathan Letwory
The butterfly wing flap, causing a nice storm in the rest of blender. Now all dependencies should point ok again. CMakers, do double-test.
2011-02-18Clear some compiler warnings by commenting some functions, adding others to ↵Campbell Barton
headers. left in warnings where functions obviously need to get ported to 2.5x still. Also, render stamp seq strip works again.
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
2011-02-02fix [#25684] Grease pencil strokes with "Surface" option attach erratically ↵Campbell Barton
to curves. added new functions - view_autodist_depth_segment() - plot_line_v2v2i(), which takes a callback and plots x/y points.
2011-01-30remove nan-makefilesCampbell Barton
2011-01-18bgl.Buffer()Campbell Barton
- invalid dimension type could be passed without raising an error. - negative dimensions could crash blender, now they raise errors. - zero length dimension arg was not detected. - floating point lengths were accepted, now only allow ints. also comment unused vars.
2011-01-18Bugfix [#25684b] Surface and Stroke options are not working with UseJoshua Leung
Sketching Sessions. Fix for secondary issue noted in this bug report. Some of the code for the fancy 3d view sketching options needed to be moved around so that there is a clearer "paint/sketch session" and "stroke" separation between various stages. There's still some more stuff that needs to be done here before I think it's totally cleaned up.
2011-01-14Bugfix [#25620] Grease Pencil: crash when using Ctrl+Z while drawingJoshua Leung
Crazy users! Who on earth would try undoing in the middle of an action (here the crash occurred while a mouse button was still held)?! (At least it wouldn't have been possible for those using the DKEY + mousedrag method of invoking strokes though...)
2011-01-13Bugfix [#25597] Grease Pencil crash when undoing during a SketchingJoshua Leung
Session As the key combination for undo was unhandled by Grease Pencil operator and allowed to execute, some of the lingering Grease Pencil data would get corrupted by undo as some flags may still have been set. This commit attempts to fix.workaround this problem by catching undo events, using the internal "delete last stroke" functionality to emulate undo-like behaviour as expected but without the associated risks. The underlying functionality used was already part of the original 2.4 implementation, but was exposed via the GUI instead there where it was less useful. --- Other tweaks related to Grease Pencil: 1) Spacebar can be used to end Sketching Sessions too now 2) Grease Pencil animation editor now displays GP datablocks in light blue (i.e. "sub-id") colours as per dopesheet instead of them being presented like groups. This better reflects their true nature.
2011-01-13fix for NULL missing pointer check, reported on IRC by admix.Campbell Barton
also rename BVH class for consistency.
2011-01-11Todo #22395: Restoring Grease Pencil Editing Mode in DopeSheet EditorJoshua Leung
This commit restores some basic functionality for retiming Grease Pencil sketches. Some of the functionality that existed before still hasn't been restored (namely snap/mirror tools as well as copy+paste), though it should be possible to use this for basic retiming and sketch-frame management again. - There's still a lot of work required to get this up to the standard of the rest of the animation editor code, as some of this code was originally just hacked in based on the old-style code. - Work is already required to not have to directly access the main db global to get the list of Grease Pencil datablocks to show, but that can come along with pending cleanups of the filtering code.
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-06use ED_markers_get_first_selected() where possible, simplify ↵Campbell Barton
ed_marker_rename_exec
2011-01-04Fixing Grease Pencil typo noted while scanning through Mike Erwin'sJoshua Leung
GSoC10 work. Cheers Mike for catching this! Also removing the use of sqrt() as noted in a "todo" comment there...
2011-01-04No functional changes. Just formatting cleanups for now...Joshua Leung
2011-01-04Grease Pencil: Redo for sketching sessions now worksJoshua Leung
2011-01-04Grease Pencil Todos: "Sketching Sessions"Joshua Leung
Due to popular request and usability considerations, this commit reintroduces functionality similar to 2.4's "Draw Mode" for Grease Pencil. In the toolbar under the Draw/Line/Eraser buttons, you can find the "Use Sketching Sessions" toggle, which enables this feature. This is a per-scene setting, and defaults to off, so that the current 2.5 behaviour is still the default (i.e. the Grease Pencil operator will only do a single stroke at a time). With this option enabled, drawing with Grease Pencil will enter a semi-modal state where you can draw multiple strokes without needing to keep holding the DKEY throughout (though you'll still need to do so to start the strokes, unless you use some toolbar buttons), while still being able to manipulate the viewport. Header help-text prints show the appropriate keybindings (i.e. press ESCKEY or ENTER to end the sketching session). Notes: - To aid maintainability of the 3D-View toolbar code, I've taken the liberty to factor out the groups of widgets which commonly occur in most of the toolbars into separate functions (namely "Repeat" and "Grease Pencil"). Perhaps it might make it slightly harder to newbies to the toolbar code to grasp, though the physics panels are far worse ;) - I've reshuffled some code in the Grease Pencil code to separate out the various states of operation again more clearly, though some more work is still needed there (TODO) - There can now be only one Grease Pencil operator running at a time - Redoing Grease Pencil operations where sketching sessions was enabled still needs work. Namely, a way of delimiting the set of points recorded into strokes is still needed (TODO) - Ultimately, it should be possible to switch tools midway through a session. Currently sessions are limited to only being able to be used with a single drawing mode (TODO) - After ending a drawing session, the titlebar contols may not work on Windows without manually making the main window lose focus and then regain (i.e. click on some other window in toolbar, then come back). This may be related to (bug #25480)
2010-12-23use ICON_NULL define rather then 0, makes UI calls less confusing. (no ↵Campbell Barton
functional change) eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);
2010-12-23rename blenderlib to blender_add_libCampbell Barton
2010-12-08use lowercase for cmake builtin names and macros, remove contents in else() ↵Campbell Barton
and endif() which is no longer needed.
2010-12-06[#25030] Grease Pencil active_frame_delete() deletes wrong layerCampbell Barton
move buttons to the header since they only operate on the active layer.
2010-11-29include headers in cmake source, added a script to check for consistency, ↵Campbell Barton
reporting missing headers & C files. this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-04bugfix [#24009] Crash when switching area types and performing opsCampbell Barton
2010-10-27keep the view centered with camera shift, camera view grease pencil ↵Campbell Barton
intentionally ignores shift.
2010-10-23use explicit file paths for CMake rather then globing, This is recommended ↵Campbell Barton
by cmake devs. globbing vs explicit is discussed here. http://www.cmake.org/pipermail/cmake/2008-December/025694.html Practical implications are: - developers need to keep CMakeLists.txt files up to date. - Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.