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
path: root/source
AgeCommit message (Collapse)Author
2013-03-24Merged changes in the trunk up to revision 55546.Tamito Kajiyama
Conflicts resolved: source/blenderplayer/bad_level_call_stubs/SConscript Partly reverted changes to intern/cycles/blender/addon/ui.py in revision 52899 to make it easier to merge trunk changes.
2013-03-24Removed a Freestyle-specific function call from bf_windowmanager.Tamito Kajiyama
Suggested by Sergey Sharybin through a code review of the branch.
2013-03-23A major code update for making the DNA file specification of Freestyle settingsTamito Kajiyama
and RNA for it independent of the build flag for enabling Freestyle. Suggested by Sergey Sharybin through a code review of the branch. * Many #ifdef WITH_FREESTYLE blocks were removed to always have Freestyle-specific DNA file specification and RNA for it built in Blender. This will allow Freestyle setting survive even when a non-Freestyle build is used for loading and saving files. It is noted that operations are still conditionally built through #ifdef WITH_FREESTYLE blocks. * To this end, new blenkernel files BKE_freestyle.h and intern/freestyle.c have been added. All API functions in FRS_freestyle_config.h as well as some of those in FRS_freestyle.h were moved to the new files. Now the relocated API functions have BKE_ prefix instead of FRS_.
2013-03-23Fix for missing -DWITH_FREESTYLE.Tamito Kajiyama
2013-03-22Fix for default values different from the factory settings.Tamito Kajiyama
Suggested by IRIE Shinsuke through a code review of the branch.
2013-03-20Fix for MAX_NAME (== 64) and FILE_MAX (== 1024) in DNA headers.Tamito Kajiyama
Suggested by Sergey Sharybin through a code review of the branch.
2013-03-20Removed goto's as suggested first by Bastien Montagne and also by Sergey ↵Tamito Kajiyama
Sharybin through a code review of the branch.
2013-03-20Code clean-up suggested by Sergey Sharybin through a code review of the branch.Tamito Kajiyama
* Removed the checks of NULL pointers after malloc/calloc. * Replaced repeated cast operations with a temporary variable initialized with one cast operation. * Removed an unused switch block (meant to be a place to put per-modifier resource management code).
2013-03-19quiet warnings by making undeclared vars staticCampbell Barton
2013-03-19fix for assert(), were not enough mathutils slots.Campbell Barton
2013-03-19fix for some errors.Campbell Barton
2013-03-19svn merge ^/trunk/blender -r55372:55392Campbell Barton
2013-03-19svn merge ^/trunk/blender -r55357:55372Campbell Barton
2013-03-19rewind 55389 and make this gcc4.6+ only Campbell Barton
2013-03-19Smoke Bugfix /enhancement: Load pre 2.65 pointcaches.Daniel Genrich
Warning: Just make sure that you DON'T free the cache at any point. This patch can only display existing pointcaches from e.g. 2.64
2013-03-19fix for build error: "#pragma GCC diagnostic not allowed inside functions"Dalai Felinto
It works in a newest gcc (e.g. 4.6.3) but fails here: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
2013-03-19Add capluse bounds drawingSergej Reich
Patch [#34566] by Alain Ducharme (phymec).
2013-03-19game engine: Increase hard limit for fps propertySergej Reich
Patch by Alain Ducharme (phymec).
2013-03-19Added back the custom limits for value properties in standard node socket ↵Lukas Toenne
types, to override the standard range based purely on subtype.
2013-03-18Node Interface:Thomas Dinges
* Small tweak to the "Interface" panel for group nodes, move separator into the branch to save some UI space.
2013-03-18Use extern "C" when including BKE_node.h in C++ compositor code, to avoid ↵Lukas Toenne
linker errors on windows (undefined NODE_INSTANCE_KEY_BASE).
2013-03-18Node poll_instance callback is optional, check if it exists before executing.Lukas Toenne
2013-03-18Usual minor UI messages fixes.Bastien Montagne
2013-03-18quiet warning about writing to deprecated member with gcc.Campbell Barton
2013-03-18UI fix: drawing disabled buttons now draw OK in all cases.Ton Roosendaal
The old 2.5 code was just drawing a blended rect over buttons, which looks bad in cases the backdrop is undefined. Now widget drawing code just draws everything half transparent. Much nicer! Time for textured backdrops? ;)
2013-03-18Node Editor / Group UI:Thomas Dinges
* Add, Move and Remove Socket operators missed a notifier for UI redraw. Note: ND_DISPLAY seems to be for the Text editor only, according to WM_types.h, but seems to be used in quite a few places. Time to cleanup notifiers again.
2013-03-18code cleanupCampbell Barton
2013-03-18Added missing stub for uiTemplateNodeSocket.Lukas Toenne
2013-03-18Fix for stupid MSVC compiler, float array cast not supported.Lukas Toenne
2013-03-18Fix blenderplayer (looks like gcc4.7 dislikes unamed parameters ;) ).Bastien Montagne
2013-03-18Merge of the PyNodes branch (aka "custom nodes") into trunk.Lukas Toenne
PyNodes opens up the node system in Blender to scripters and adds a number of UI-level improvements. === Dynamic node type registration === Node types can now be added at runtime, using the RNA registration mechanism from python. This enables addons such as render engines to create a complete user interface with nodes. Examples of how such nodes can be defined can be found in my personal wiki docs atm [1] and as a script template in release/scripts/templates_py/custom_nodes.py [2]. === Node group improvements === Each node editor now has a tree history of edited node groups, which allows opening and editing nested node groups. The node editor also supports pinning now, so that different spaces can be used to edit different node groups simultaneously. For more ramblings and rationale see (really old) blog post on code.blender.org [3]. The interface of node groups has been overhauled. Sockets of a node group are no longer displayed in columns on either side, but instead special input/output nodes are used to mirror group sockets inside a node tree. This solves the problem of long node lines in groups and allows more adaptable node layout. Internal sockets can be exposed from a group by either connecting to the extension sockets in input/output nodes (shown as empty circle) or by adding sockets from the node property bar in the "Interface" panel. Further details such as the socket name can also be changed there. [1] http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes [2] http://projects.blender.org/scm/viewvc.php/trunk/blender/release/scripts/templates_py/custom_nodes.py?view=markup&root=bf-blender [3] http://code.blender.org/index.php/2012/01/improving-node-group-interface-editing/
2013-03-18Bug fix, irc:Ton Roosendaal
Curves widget error: after deleting a point, and click to add a new point, on dragging it the point flipped up 20 pixels. Was caused by changed layout and region view matrix. Solved by storing actual mousecoords instead of mapped ones.
2013-03-18Just added a comment:Ton Roosendaal
To make circle select allow pass-through for view events, several issues have to be tackled. 1) other modal ops run on top (border select), 2) middlemouse is used now 3) and what for tablet/trackpad or people without middlemouse? The MMB deselection for border/circle is not optimal now... needs rethinking this. Better would be to check on non-persistant-modality for circle, to start with gesture style event like lasso or border can do now.
2013-03-18style cleanupCampbell Barton
2013-03-18Fix #34672: Image sampling line didn't use color management for byte buffersSergey Sharybin
This makes it so sample line (for all image editor, sequencer and compositor) displaying managed color for byte buffers as well. It was simply not implemented before.
2013-03-18Merged changes in the trunk up to revision 55357.Tamito Kajiyama
Resolved conflicts: release/datafiles/startup.blend source/blender/editors/space_nla/nla_buttons.c Also updated source/blender/blenkernel/intern/linestyle.c as a follow-up of recent changes for the use of bool.
2013-03-18Fix: Setting cursor to semitransparent objects will fail because of clipAntony Riakiotakis
alpha, added option when drawing depth to disable alpha clip override. We use that in texture paint cursor now. Not too common but may be useful for people dealing with cloning plugins. Reported by kgeogeo on irc, thanks.
2013-03-17code cleanup: name mesh functions more consistently, also use bools for mesh ↵Campbell Barton
args.
2013-03-17use const pointers for file loading and booleans for animation system return ↵Campbell Barton
values passed as pointers.
2013-03-17code cleanup: add 'const' to headers to quiet msvc warnings, also remove ↵Campbell Barton
(char *) casts that aren't needed now we're on Python3.3
2013-03-17Fix "can't paint" bug no.1, painting with black on image editor did notAntony Riakiotakis
paint. Was own regression when optimizing colour operations. I will not use an alpha bit mask since it may run into portability issues with byte order.
2013-03-17Fix for "draw images as texture"Ton Roosendaal
Zooming in on images in Image window now shows pixels again (was filtered). Now the glaDrawPixelsTex() and glaDrawPixelsAuto() have an argument to define if images should zoom in with linear filter, or draw pixels.
2013-03-17Feature:Ton Roosendaal
Image Editor and 3D view background image now use new automatic switching for drawing GPU texture or OpenGL DrawPixels too. For large zoomed images it gives massive speedup.
2013-03-17Fix evil own bug: paint_redraw accessed freed memory. Still doesn'tAntony Riakiotakis
solve problem not being able to paint with black in image editor.
2013-03-17New feature:Ton Roosendaal
Automatic switching for drawing pixel buffers via glDrawPixels or using GPU textures It works with a User Preference limit, in megapixels, to define whether to use GPU or direct pixel drawing. Default is now initialized to 10 MP (4k buffers). Especially for zooming out (draw smaller) texture drawing is much smaller. Also Nvidia cards typically draw much faster with textures in general. Added to node backdrop first now, the other editors follow in a next commit. For coders: added new DNA function to initialize new struct variables, so you don't have to sub-version files anymore. DNA_struct_elem_find(fd->filesdna, "structname", "typename", "varname") "filesdna" is the sdna description of the current file being versioned.
2013-03-17code cleanup: incorrect sized array args, remove some redundant code.Campbell Barton
2013-03-17fix for missing NULL pointer checks and incorrect array freeCampbell Barton
2013-03-17Added descriptions for each constraint type, including common usageJoshua Leung
restrictions/limits to reduce confusion
2013-03-17Setting clone cursor is now an option for paint operator. This is notAntony Riakiotakis
too nice but it frees the Ctrl-LClick shortcut and allows us to set invert mode for other paint tools, such as sharpen vs blur or invert colour for draw brush. This conflict has existed on GSOC branch, better resolve now before merging invert functionality.
2013-03-17Fix for a crash due to a bug in the handling of singularity in stroke creation,Tamito Kajiyama
where additions of a small offset (to prevent vertices from being at the same point) were not properly done when vertices were shifted in the reverse order. A problem report by Vicente Carro through personal communications, thanks a lot!