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
2008-09-05Merge of first part of changes from the apricot branch, especiallyBrecht Van Lommel
the features that are needed to run the game. Compile tested with scons, make, but not cmake, that seems to have an issue not related to these changes. The changes include: * GLSL support in the viewport and game engine, enable in the game menu in textured draw mode. * Synced and merged part of the duplicated blender and gameengine/ gameplayer drawing code. * Further refactoring of game engine drawing code, especially mesh storage changed a lot. * Optimizations in game engine armatures to avoid recomputations. * A python function to get the framerate estimate in game. * An option take object color into account in materials. * An option to restrict shadow casters to a lamp's layers. * Increase from 10 to 18 texture slots for materials, lamps, word. An extra texture slot shows up once the last slot is used. * Memory limit for undo, not enabled by default yet because it needs the .B.blend to be changed. * Multiple undo for image painting. * An offset for dupligroups, so not all objects in a group have to be at the origin.
2008-09-04fix for 2 python refcounting errorsCampbell Barton
2008-09-03Fix gcc compiler warnings.Ken Hughes
2008-08-31Minor tidying and commentingsoc-2008-quornIan Thompson
2008-08-30Merge from trunk 16122-16307Ian Thompson
2008-08-24Added better grouping for text markers with a separate group field (instead ↵Ian Thompson
of using flags). The lower two bytes of the group are used for python scripts while the upper two (or more) are reserved for internal grouping. Plenty either way.
2008-08-15Merge from trunk 16031:16122Ian Thompson
2008-08-12Speed improvements for reading text lines and the option to specify a range ↵Ian Thompson
for Text.asLines([start[, end]]) Also some tweaks for the plug-in scripts and updates to pydocs.
2008-08-12Rolled back on rev. 16039. Had problems with display, messages being blank ↵Ian Thompson
and scripts not being recompiled in some cases. Needs more thought before committing.
2008-08-11Python APIKen Hughes
---------- Added texture.offset and textute.gain attributes, to access parameters for Musgrove textures.
2008-08-10Python APIKen Hughes
---------- Remove documentation for Render.EnableEdgeShift and Render.EnableEdgeAll methods, which are no longer in the API.
2008-08-09Python errors originating in the active text are now displayed at the top of ↵Ian Thompson
the text area. Errors in other files/scripts still pop up a message as before and all errors are still printed to the console. This removes the need to switch to the console for local errors.
2008-08-09Line highlighting did not work for syntax errors.Ian Thompson
2008-08-09Merge from trunk: 15912:16031Ian Thompson
2008-08-07Python APIKen Hughes
---------- Fix typo in documentation for render.startFrame() and render.endFrame(). Arguments are valid in the range 1 to MAXFRAME.
2008-08-06Added a Python interface to the marker system with a few additional ↵Ian Thompson
functions for modifying text selections in general. Tweaked some of the events and drawing code and added a template completion script along the lines of gedit's snippets.
2008-08-05Added GameLogic.Mathutils so Mathutils and its types can be accessed from ↵Campbell Barton
blenderplayer. also changed importText so it dosnt do a malloc
2008-08-05Bugfix #16673: Segfault when using Bake Constraints ScriptJoshua Leung
There were several buggy things here (in order of significance): 1) PyAPI method didn't check to make sure that there was an active posechannel when deleting posechannel constraints. This was required by constraint_active_func() to be able to update the 'active' flags for the constraints in that stack 2) PyAPI method removed the links to the constraint data from the constraints list, even though that wasn't necessary, and may have caused memory leaks. 3) constraint_active_func() had no error checking for no constraints-stack being found
2008-08-04* KX_GameObject.cpp - error with getMesh(), was returning None rather then ↵Campbell Barton
an error with invalid args. also memory leak with getVectTo() if invalid args were given. * Material.c - functions for get/setRayTransGlossSamples were not being used. * BPY_interface.c - removed function GetName(), since everything else just uses id->name+2. * header_info.c - added ifdef win32 around copy_game_dll since its not needed for other os's yet
2008-08-02Merged 15771:15912 from trunkIan Thompson
2008-07-27Patch #17336: Lock bones in edit modeJoshua Leung
Submitted by: Lorenzo Pierfederici (lento) This patch adds the ability to lock transformation on bones in edit mode, to protect them from accidental editing. Bones can be locked from the editing buttons, the transform property panel, the specials popup menu or the python api.
2008-07-27== Python scriptlinks ==Willian Padovani Germano
Render/postrender events were missing from bg rendering (and also from rendering called inside scripts). Found this because of bug #17389, the code to prevent race conditions with pynodes is currently inside BPY_do_all_scripts (that runs scriptlinks) and so was not being called in bg mode or rendering via scripts. http://projects.blender.org/tracker/?func=detail&atid=125&aid=17389&group_id=9
2008-07-26Merge from trunkIan Thompson
revs. 15635:15771
2008-07-26== PyNodes ==Willian Padovani Germano
Early Ehlinger reported a deadlock when a script tells Blender to render an animation and there are pynodes. While investigating I saw related crashes in bg (blender -b) mode, still not fixed. This commit tries to fix the problem for interactive mode, then. What it does is releasing the lock before rendering and relocking after that, like theeth suggests in the bug report: http://projects.blender.org/tracker/?func=detail&atid=125&aid=17389&group_id=9
2008-07-24added note to epydocs explaining the nature of floats in id properties from ↵Joseph Eagar
the python point of view
2008-07-24added support for doubles to the id property code, and made the python code ↵Joseph Eagar
use them by default
2008-07-24Refactor: Renamed text tool methods (suggestions and docs) for clarity and ↵Ian Thompson
consistency.
2008-07-23soc-2008-mxcurioni: renamed all Freestyle API related files with 'BPy_' ↵Maxime Curioni
prefix to avoid library name collision. Included MediumType's initialization at proper time to avoid Blender's crash.
2008-07-23soc-2008-mxcurioni: merged changes to revision 15705Maxime Curioni
2008-07-23Updated some out of date documentation of Object Ipo curve namesMatt Ebb
2008-07-22Python APIKen Hughes
---------- Particle patch from Cédric Paille: bugfixes and child-particles export improvements for .getLoc(), part.getRot() part.getSize(), part.getAge() methods. Also fix a bug with part.randemission getter (was using PART_BOIDS_2D instead of PART_TRAND), plus typos and duplications in API documentation.
2008-07-21Updated the textplugin_outliner.py plug-in to use the new Draw.PupTreeMenu ↵Ian Thompson
and updated this menu to support titles.
2008-07-21allow to write to libraries that are indirectly linkedCampbell Barton
2008-07-21Removed requirement for suggestions to be pre-sorted. Allowed lists of ↵Ian Thompson
strings to be suggested without having to specify their type. Specifying a prefix when suggesting is now also optional.
2008-07-21BPyTextPlugin now has descriptors for variables, functions and classes (and ↵Ian Thompson
their variables/functions). Each descriptor also holds the line number of the definition allowing a simple outliner to be written. Text.setCursorPos(row, col) now pops the text into view if it is in the active window space. The outliner uses this to jump to any definition in a script; it is invoked with Ctrl+T.
2008-07-19Added functions so python can change library paths.Campbell Barton
* bpy.libraries.paths() -> list of library paths. * bpy.libraries.replace(fromPath, toPath)
2008-07-19Merged 15170:15635 from trunk (no conflicts or even merges)Ian Thompson
2008-07-19Added a documentation panel with primitive word-wrap functionality. It can ↵Ian Thompson
be displayed by Text.showDoc(string) in python and has a text-plugin script for function docs which may be invoked with Ctrl+I inside its params list. Eg. type "dir(" <Ctrl+I>
2008-07-17Change message printed by sceneRender.enableCropping() to be more ↵Ken Hughes
descriptive, and note the method as deprecated in the python docs.
2008-07-15Created a BPy module BPyTextPlugin to centralize functions used across the ↵Ian Thompson
text plugin scripts. Also created two more scripts to handle imports and member suggestions.
2008-07-15Any script can now register a unique key combination as part of its bpy ↵Ian Thompson
header. For a supported space type, the user may press this shortcut to invoke the script. Space types that are to support shortcuts like this should call BPY_menu_do_shortcut(...) from the event queue read method (See winqreadtextspace in drawtext.c for example)
2008-07-12soc-2008-mxcurioni: merge with trunk - rev 15540Maxime Curioni
2008-07-12soc-2008-mxcurioni: first part of the Freestyle Python implementation. A new ↵Maxime Curioni
Freestyle module is added. The following modules are implemented: BinaryPredicate0D, BinaryPredicate1D, Id, Interface0D, Interface1D. I added a Convert module to help in the creation of Python objects for Freestyle's data structures. I also added a missing file for guarded_alloc needed for compilation on Windows.
2008-07-07[#17288] Sequencer API: added a method, a geter/setter, the blend modes dict ↵Campbell Barton
and corrected a malfunction on audio strips blend mode from Luca Bonavita (mindrones) - adds the method "rebuildProxy()" useful to rebuild all the strips at once: the user can do - adds a BlendModes dictionary under the Blender.Scene.Sequence module: the user can see the blending option with - adds the getter/setter "blendMode" - adds a function seq_can_blend in sequence.c as requested by Peter, useful for these purposes but also to solve a bug after - the bug is you can apply blend modes to an audio strip that doesn't make sense: changed the test and now you cannot assign blend mode other than Replace to audio strips Omitted DNA cleanup part since its only whitespace and Id prefer to have a useful "svn blame" output.
2008-07-06soc-2008-mxcurioni: merge-repair with trunk rev 15456Maxime Curioni
2008-07-05soc-2008-mxcurioni: merged changes to revision 15441Maxime Curioni
2008-07-04soc-2008-mxcurioni: foundations for Freestyle as a render layer - new UI ↵Maxime Curioni
buttons and mode flags, Freestyle API refactoring, modified pipeline to incorporate the new render layer. Compared to previously, the layer functionality is available when selecting 'Blender Internal' as the rendering engine. Freestyle's result is not available in the layer yet. I need to integrate OpenGL offscreen rendering properly (with framebuffer objects) to reach that goal.
2008-07-04non user visible changes and small optimizations to the game engine pyapi as ↵Campbell Barton
well as fixing some bugs. * 2 returning errors without exception set another return None instead of NULL. * a missing check for parent relation * BPY matrix length was incorrect in matrix.c, this change could break some scripts, however when a script expects a list of lists for a matrix, the len() function is incorrect and will give an error. This was the only thing stopping apricot game logic running in trunk. Also added a function for GameObjects - getAxisVect(vec), multiplies the vector be the objects worldspace rotation matrix. Very useful if you want to know what the forward direction is for an object and dont want to use Blender.Mathutils which is tedious and not available in BlenderPlayer yet.
2008-07-03== Python, GE & Threads ==Willian Padovani Germano
Martin Sell (thanks!) reported that threading via scripts was not working in the game engine with Blender 2.46 and later. My fault, to make pynodes work properly with threads > 1 I disabled Python's "check interval", preventing threads created via scripts from receiving time to run. Now only during rendering check interval is disabled (set to max int). Still experimental, I added the calls in BPY_do_all_scripts, since it's called in BIF_do_render, but will probably move the code to its own function after more testing & feedback.
2008-06-30Fix for python APi error - (Campbell: please check :) ) -- using ↵Daniel Genrich
myLamp.setType(Area) resulted in 'TypeError: expected int argument in [0,5]' (reported in IRC by Djoef)