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
2009-05-082.5 - Assorted animation code cleanupsJoshua Leung
* Replaced a few duplicated enums that were also defined for some RNA properties already with the RNA ones. * Start of cleanup of markers code in preparation for getting the rest of the editing code involving markers working again
2009-05-042.5 RNA:Thomas Dinges
*Added missing notifiers for resolution and aspect ratio, so camera border updates while changing the values in camera view.
2009-05-04Cycles F-Curve Modifier: 'Mirrored' Option Joshua Leung
Using this cycling mode option, the keyframe range will be repeated in reverse order every second repeat. Thanks for the idea mfoxdogg :)
2009-05-02F-Curve Modifiers - Per-Modifier Muting:Joshua Leung
It is now possible to mute individual modifiers so that they will not contribute to the final result.
2009-05-02* Added a new F-Curve modifier type: NoiseMatt Ebb
Thanks Aligorith for making such an easy to use system! http://mke3.net/blender/devel/2.5/fcurve_noise_modifier.mov
2009-05-012.5 - Restored access to the Image-Type settingJoshua Leung
This has been wrapped under Scene.RenderData, and can currently be accessed under the 'Image' panel in the Scene settings. As in the old code, image types are only included if they are enabled when compiling. Also note that image-type specific settings have not been wrapped yet.
2009-04-29* First pass updating the default theme for the new UI controls and darker ↵Matt Ebb
colours
2009-04-27UI:Brecht Van Lommel
* Made separator item work horizontal & vertical. * Add colon (:) automatic for int/float/enum/string. * Added space variables to uiStyle and use them in the layout engine. * Added initial World buttons by Thomas Dinges, thanks! * Added some code for modifiers in the Object Data context. This will become a template though. * Use a common poll() callback in the scripts to reduce code.
2009-04-272.5Ton Roosendaal
Summary of ain features: - Themes and Styles are now editable. - CTRL+U "Save user defaults" now goes to new .B25.blend, so you can use 2.4x and 2.5x next to each other. If B25 doesn't exist, it reads the regular .B.blend - Press Tkey in 3d window for (unfinished) toolbar WIP. It now only shows the last operator, if appropriate. Nkey properties moved to the other side. A lot of work was done on removing old themes for good and properly getting it work with the 2.5 region system. Here's some notes; - Buttons now all have a complete set of colors, based on button classifications (See outliner -> user prefs -> Interface - Theme colors have been extended with basic colors for region types. Currently colors are defined for Window, Header, List/Channels and for Button/Tool views. The screen manager handles this btw, so a TH_BACK will always pick the right backdrop color. - Menu backdrops are in in Button theme colors. Floating Panels will be in the per-space type Themes. - Styles were added in RNA too, but only for the font settings now. Only Panel font, widget font and widget-label work now. The 'group label' will be for templates mostly. Style settings will be expanded with spacing defaults, label conventions, etc. - Label text colors are stored in per-space Theme too, to make sure they fit. Same goes for Panel title color. Note that 'shadow' for fonts can conflict with text colors; shadow color is currently stored in Style... shadow code needs a bit of work still.
2009-04-24patch from Thomas Dinges, falloff out of the stars struct into the mist.Campbell Barton
2009-04-24just some fixes in rna descriptionsMichael Fox
2009-04-24Small comit, added the colour mode (BW,RGB,RGBA) and object type to rna, and ↵Michael Fox
added appropriate entries to the UI
2009-04-22UIBrecht Van Lommel
* Headers and menus can now be created in python. * Replaced the uiMenuItem functions to create menus with equivalent uiItem functions using a layout, removing duplicated code. * More uiItem functions are now exposed to python. * The text editor header, panels and one of its menus are now created in space_text.py. * Buttons window data context icon new changes depending on active object. Issues * Icons are not wrapped yet, hardcoded ints at the moment. * The ID browse template is unfinished.
2009-04-202.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r19323:HEAD Notes: * blenderbuttons and ICON_SNAP_PEEL_OBJECT were not merged.
2009-04-20Added some missing rna entries for scene, and added them to the scene ↵Michael Fox
buttons with some missing elements aswell
2009-04-20A bit more F-Modifier wrapping...Joshua Leung
2009-04-20changed some {} to {0}, these were causing errors on msvc. also got rid of ↵Joseph Eagar
some spurious prototypes I forgot to get rid off.
2009-04-19RNA:Brecht Van Lommel
* Wrapped HeaderType/Header. * Some tweaks to get type properties wrapped with less code. * Made Panel space and region types enum instead of string.
2009-04-19RNA: Generic Type RegistrationBrecht Van Lommel
The Python API to define Panels and Operators is based on subclassing, this makes that system more generic, and based on RNA. Hopefully that will make it easy to make various parts of Blender more extensible. * The system simply uses RNA properties and functions and marks them with REGISTER to make them part of the type registration process. Additionally, the struct must provide a register/unregister callback to create/free the PanelType or similar. * From the python side there were some small changes, mainly that registration now goes trough bpy.types.register instead of bpy.ui.addPanel. * Only Panels have been wrapped this way now. Check rna_ui.c to see how this code works. There's still some rough edges and possibilities to make it cleaner, though it works without any manual python code. * Started some docs here: http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNATypeRegistration * Also changed some RNA_property and RNA_struct functions to not require a PointerRNA anymore, where they were not required (which is actually the cause of most changed files).
2009-04-19RNA - F-Curve Modifier WrappingJoshua Leung
* Separated F-Curve specific wrapping out to its own file * Wrapped some F-Curve Modifiers (others to follow shortly)
2009-04-162.5:Brecht Van Lommel
* Also look in ./release for scripts instead of next to executable. * Some warning fixes.
2009-04-16Drivers: UI working + bugfixesJoshua Leung
* The UI for adding and modifying drivers is now functional, and reflects the new way they work. It has also been tidied up a bit (from the previous incarnation), with RNA buttons starting to be used (currently limited to the 'Path' settings). * Fixed errors in RNA wrapping for drivers
2009-04-162.5 / SConsNathan Letwory
* make sure makesdna and makesrna work on windows in directories with spaces in them.
2009-04-16Animato - Drivers with Multiple Targets:Joshua Leung
Drivers now support multiple targets which act as 'variables'. The targets have a short 'name' (see later), and reference some property (in much the same way as F-Curves do, using RNA-Paths) which acts as the 'value'. These named variables can then be used in a Python Expression which relates them to each other for more fine-grained control over the result of the driver. By using only the names of these variables in the expressions, we are able to define expressions/relationships in a much more readable way, as data access is separated from data use. This makes the underlying relationships easier to understand. By default, if no Python Expression is given, the variables are simply averaged together, so old files won't break. :) For example, check the following diagram (thanks Cessen/Nathan V from Peach team): http://download.blender.org/ftp/incoming/250_drivers_mockup_cessen.png TODO List: * Depsgraph building for new driver relationships doesn't work yet. This needs to be recoded again, but this new system makes this much easier, since the targets are clearly defined (i.e. no need to parse py expressions to get list of objects) * Graph Editor interface for editing these needs to be rewritten * Python function for evaluating these expressions is needed (Campbell?)
2009-04-162.5 PoseLib/KeyingSets bugfixes:Joshua Leung
* Replaced a quicky hack needed to get PoseLib working with a proper new group-naming option for KeyingSets. Now, all builtin KeyingSets will use the name of the data (i.e. Object or PoseChannel) as the name of the group new channels are added to * Fixed a bug with LocRotScale builtin KeyingSet, which meant that scale keyframes were not getting added. * TAB key (toggle original pose) now works again. Previously, events were flying past too quickly.
2009-04-16RNA fixes provided by Thomas Dinges / DingTo - Thanks!Daniel Genrich
2009-04-15RNA:Brecht Van Lommel
* For RNA wrapped functions, the prototypes of the original function being wrapped is now generated as well. This is an extra check to ensure that the function is correctly wrapped. It's printed after the function is used to still get proper warnings in case the #include for it is missing.
2009-04-142.5Ton Roosendaal
More cleanup! - removed old UI font completely, including from uiBeginBlock - emboss hints for uiBlock only have three types now; Regular, Pulldown, or "Nothing" (only icon/text) - removed old font path from Userdef - removed all old button theme hinting - removed old "auto block" to merge buttons in groups (was only in use for radiosity buttons) And went over all warnings. One hooray for make giving clean output :) Well, we need uniform definitions for warnings, so people at least fix them... here's the real bad bugs I found: - in mesh code, a call to editmesh mixed *em and *me - in armature, ED_util.h was not included, so no warnings for wrong call to ED_undo_push() - The extern Py api .h was not included in the bpy_interface.c, showing a several calls using different args. Further just added the missing includes, and removed unused vars.
2009-04-122.5Ton Roosendaal
Patch provided by Thomas (DingTo). Fixes min/max limits in rna.
2009-04-11changed parts x parts y and threads to be minimum of 1, thnx DingToShaul Kedem
2009-04-112.5 / RNAElia Sarti
API, added support for return values for RNA_function_call_direct and completed the code. Didn't test it though. Returns works exact the same way as other parameters for format strings except you put a R in front of it. For instance for a function that accepts two vectors and returns a vector you use a format like "f[4]f[4]Rf[4]". I'm thinking about allowing arbitrary white space in the format string (or use comas as separators) to make it more readable. The return format *must* always come last and of course the corresponding argument you pass to the function has to be a pointer so that it can be filled with the return value.
2009-04-11hem.. other small fixElia Sarti
2009-04-112.5 / RNAElia Sarti
Committing quick RNA function calling RNA_function_call_direct* functions set à la fprintf. It works like this (with ptr being an RNA pointer to some ID): RNA_function_call_direct_lookup(ptr, "rename", "s", "MyCamera"); the format specifier would not be strictly needed but I prefer to keep this as it gives nice error handling in case some RNA function changes. Format strings are very easy and similar to python ones: "b" for booleans "i" for integers "f" for floats "s" for strings "e" for enums (using int values) "O" for pointers (using O as in py, we can change to P) "N" special NULL parameter, valid to skip optional parameters For bools, ints and floats you can use a special format specifier with [n] where n is the size of an array of that type. For instance "f[4]" to set a location/vector (it expects a pointer to float* holding the array). Return values still have to be implemented. Also I know the name is a bit long maybe we can cut it up at RNA_call_direct or simply RNA_call.
2009-04-11RNA:Brecht Van Lommel
* Added REQUIRED flag for function parameters. * Made dupliframes/verts/faces/groups an enum, and make it editable. * Enum bitflags were broken, fixed.
2009-04-10Syntax error, unexpected ).Guillermo S. Romero
2009-04-102.5 / RNAElia Sarti
Corrected a description.
2009-04-102.5 / RNA Elia Sarti
DNA_texture_types almost finished, missing still plugin type. I noticed many texture share the same noise settings maybe this can be grouped into a common function. Also testing out first commit.
2009-04-09RNA: makefiles aren't working correct on Mac currently,Brecht Van Lommel
temporary workaround.
2009-04-08RNA:Brecht Van Lommel
* Added the build system code to compile files named editors/*/*_api.c into the makesrna preprocessing. The reason to do this is to keep operators and API close together, but it doesn't fit well with the build system, especially Makefiles use an ugly hack here. * Some fixes to pass an RNA AnyType through the API, this will give a PointerRNA, for use in the interface code for example. * Added RNA wrapping of some UI template code as a test.
2009-04-072.5 - Two Bugfixes:Joshua Leung
* Insert Keyframe operator (IKEY) works in Pose Mode for bones again * 'Parent type' is now correctly wrapped in RNA. Previously, it had been wrapped as a bitfield, while it was in fact a plain enum. I found out when trying to manually fix some bugs in the Set Parent operator...
2009-04-07RNA: Commit of the API patch by vekoon. This adds Functions to RNA,Brecht Van Lommel
which can be defined to call C functions with defined parameters. * Parameters are RNA properties, with the same types. * Parameters are stored in a ParameterList, which is like a small stack with the values. This is then used to call the C function. * Includes Python integration. * Only one test function is part of this commit, ID.rename. * Integration with the editors/ module is not included in this commit, there's some issues to be worked out for that still.
2009-04-05Animato - RNA Wrapping:Joshua Leung
RNA-Paths + Array Indices for Keying Sets, F-Curves, and Drivers are now editable. We could disable these later if need be, it is useful to be able to edit these (especially for debugging purposes now).
2009-04-01Python Panels WIPCampbell Barton
- Register python panels - Added a generic class checking function BPY_class_validate() for panels/operators. - No button drawing yet Brecht, Added RNA_enum_value_from_id() and RNA_enum_id_from_value() to rna_access.c to do lookups between identifiers and values of EnumPropertyItem's, Not sure if these should go here.
2009-03-30UI:Brecht Van Lommel
* Added support for RNA pointer buttons. It's like the existing ID pointer buttons but with an icon, and autocomplete works. There's some drawing issues currently but don't want to interfere with the refactoring here. Also todo is support for things like vertex groups or bones.
2009-03-30 2.5Michael Fox
******* ported some of the scene buttons to the new system - added RNA_SceneRenderData struct to rna - added a warning print to uiItemR when it can't find the property - what is not there is due to relating entry not being in RNA - anim button does not work Im commiting this so we have much more wider test area then text and object buttons
2009-03-30editmesh accessor functions. most editmesh access now goes through:Joseph Eagar
EditMesh *EM_GetEditMesh(Mesh *me); void EM_EndEditMesh(Mesh *me, EditMesh *em); as discussed on the mailling list, this is to facilitate migration to bmesh. next step is to merge this this to the bmesh branch. this was done in the 2.5 branch to prevent too great a divergance. also, made makesdna/makesrna work on cygwin/msvc2008/scons.
2009-03-29UI:Brecht Van Lommel
* Added support for soft/hard range in the buttons code. Currently it works by only allowing to drag or click increment in the soft range, but typing a number value allows to go outside it. If the number is outside the soft range, the range will be extended, rounded to values like: .., 0.1, 0.2, 0.5, 1.0, 2.0, 5.0, 10.0, 20.0, 50.0, ..
2009-03-28- made epydoc generator write a list of words used in descriptionsCampbell Barton
- fix spelling mistakes in rna docs (and some comments)
2009-03-28- Added the Nurb struct as well as collections for BPoints and BezTriplesCampbell Barton
- Added nurb collection for curve objects
2009-03-262.5: Remove OOPS code from the outliner space, as discussedBrecht Van Lommel
this can be brought back as a new space if someone decides to work on it. This also fixes remaining issues with the outliner tree open and close buttons not working sometimes.