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-03-21move script directories for internal blender scripts.Campbell Barton
ui/ --> startup/bl_ui op/ --> startup/bl_operators scripts/startup/ is now the only auto-loading script dir which gives some speedup for blender loading too. ~/.blender/2.56/scripts/startup works for auto-loading scripts too.
2011-03-07use set's, since pythons 3.2's optimizer converts these to frozensets, ↵Campbell Barton
lookups are also faster then tuples (though this isn't a bottleneck).
2011-03-01Fix #26218: texture paintSergey Sharybin
- Added option "Fixed Texture" to the UI. Because of strange reason, this feature was implemented but hidden from users. Would be cool, if somebody familiar with 2d texture paiting check. - Fixed some issues in existing code of fixed texture paiting. It now handles brush radius and curve correct. - Also fixed issue with paiting with texture from node tree - it used to be painted with regular brush color instead of texture.
2011-02-282.5 UI scripts:Thomas Dinges
* Removed some unused code.
2011-02-26Image Editor:Thomas Dinges
* Added back selector for active UV texture. IRC Request by _BigWings_ :)
2011-02-25pep8 cleanupCampbell Barton
2011-02-23adjustments to recent commit:M.G. Kishalmi
* inv_ -> inverted_ * flagged image dirty after invert. * restored properties accidently cut out of unpack operator. brecht.beers[lmg]++ thanks for paying attention! :)
2011-02-23added image-editor operators:M.G. Kishalmi
Invert Image Colors (RGB) -- Invert Red Channel Invert Green Channel Invert Blue Channel Invert Alpha Channel mostly because of the recent changes in normalmap channels, so users can adopt old bakes quickly. though they might aswell prove useful in other situations.
2011-02-18- clear some warningsCampbell Barton
- rename layout.operator_enums -> operator_enum (since we have operator_menu_enum, only called in 4 places)
2011-02-11patch [#25809] Auto-Registration as utility function.Campbell Barton
This removes auto-registration, committed by Martin r30961. Realize this is a contentious topic but Brecht and myself both would rather opt-in registration. TODO: - addons need updating. - class list will be modified to use weakrefs (should have been done for existing system too). - will move bpy.types.(un)register functions into bpy.utils.(un)register_class, currently including these functions in a type list is internally ugly, scripts which loop over types also need to check for these.
2011-01-01pep8 cleanupCampbell Barton
2010-11-03bugfix [#24392] 2d Image paint editor: no clone/smear/soften tools etcCampbell Barton
2010-10-05patch [#24146] UV layout selection menu in UV editor ala CTRL+TAB in edit modeCampbell Barton
2010-10-02- spec hardness was missing redraw updateCampbell Barton
- missed rna rename in image ui - use BLI_math functions in gpu_draw.c (no functional changes)
2010-09-07ran through pep8 checkerCampbell Barton
2010-08-26rna api - replace panel properties bl_default_closed and bl_show_header with ↵Campbell Barton
bl_options which has 2 flags: 'DEFAULT_CLOSED' and 'HIDE_HEADER'. this matches operators which also uses bl_options like this
2010-08-24remove recently added rna function uilayout.prop_search_self() and instead ↵Campbell Barton
allow collections to be coerced into rna structs when they define a type. eg: row.prop_search_self(scene, "active", "keying_sets", text="") ...becomes row.prop_search(scene.keying_sets, "active", scene, "keying_sets", text="") This is more flexible since it works for other UI functions too.
2010-08-24- move more active properties into their collections:Campbell Barton
scene.active_keying_set --> scene.keying_sets.active ...same for active_uv_texture. active_vertex_color, active_keyconfig, - move mesh.add_uv_layer() and mesh.add_vertex_color() into their collections also have them return the newly created layer and dont set the layer active. uvtex = mesh.uv_layers.new(name) vcol = mesh.vertex_colors.new(name)
2010-08-23rename UI functionCampbell Barton
layout.prop_object() --> prop_search(). The internal name is uiItemPointerR, in python this can translate into into an Object, however this is misleading. It can be confused with a blender Object and uiItemPointerR can also be used for strings.
2010-08-21rna renaming (manual edits)Campbell Barton
2010-08-20rna data path names which are more likely to break animations.Campbell Barton
Added an operator "Update Animation Data", access from the search menu to update drivers and fcurves.
2010-08-18rna renaming, still only adjusting properties that wont be animated (at ↵Campbell Barton
least its very unlikely).
2010-08-18rna renaming for 'Brush' structCampbell Barton
2010-08-18rna naming: verts -> verticesCampbell Barton
2010-08-18apply rna naming for ToolSettingsCampbell Barton
2010-08-17apply rna rename most of the show_*, names.Campbell Barton
2010-08-17apply all rna naming changes for rna_space.cCampbell Barton
2010-08-13Fix #23297: python error caused empty brush panel in the image editor.Brecht Van Lommel
2010-08-09poll() as a python '@staticmethod' was too limiting and didnt allow useful ↵Campbell Barton
base class poll functions in many cases. now rna functions that dont have a 'self' are automatically assumed '@classmethods'. de-duplicated poll functions and made some minor tweaks too.
2010-08-06remove narrow ui featureCampbell Barton
- re-arranged UI in a way that gave far too much vert scrolling. - was added all over for simple things like making text="", layout engine should handle this. - Ton and Brecht are ok with removing this now. Ton would like to work on the layout engine to make it better support these cases.
2010-08-05bugfix [#23182] Using self.report() inside poll() gives crashCampbell Barton
poll() function is now a static method in python, this is more correct, matching C where the operator is not created to run poll. def poll(self, context): ... is now... @staticmethod def poll(context): ... Pythons way of doing static methods is a bit odd but cant be helped :| This does make subclassing poll functions with COMPAT_ENGINES break, so had to modify quite a few scripts for this.
2010-08-02RNA Types metaclass registrationMartin Poirier
See mailing list posts for details [1][2][3] Addons still need to be fixed; Campbell said he'd do it today. See any of the py files (outside netrender) in this commit for how to do it (it's rather simple). [1] http://lists.blender.org/pipermail/bf-committers/2010-February/026328.html [2] http://lists.blender.org/pipermail/bf-committers/2010-August/028311.html [3] http://lists.blender.org/pipermail/bf-committers/2010-August/028321.html
2010-07-30Preview commit in sculpt brushes broke resetting curves in other areas (rgb ↵Matt Ebb
curves etc). Fixed by adding a 'slope' parameter to curvemap_reset() to mirror curve presets around Y axis. Also removed curve preset with 'random' icon, wasn't doing what it looked like it should, this was intended only for hue correct node anyway.
2010-07-22yet another inconsistency fix curve in uv editmode was using the drop down ↵Tom Musgrove
menu for picking curves instead of the icons
2010-07-22finished making uv paint panel consistent with the 3d view painting panel, ↵Tom Musgrove
asked Matt and he said the inconsistency was unintentional
2010-07-21making this consistent with texture brush selector in the 3d viewportTom Musgrove
2010-07-10patch by manaphuun on IRC.Campbell Barton
2010-05-16Properties Window:Thomas Dinges
*The narrowui value was hard coded in all ui scripts, made an user preferences option. Basically this value determines on which area width, it should switch between dual/single column layout. ToDo: The Changes only take effect when reloading scripts/restarting Blender (after saving as default). Will maybe add the "Reload Scripts" operator next to the button in the future. * Small fix for Fluid Add Button, when in single column mode. Didn't expand like the other "Add" Buttons.
2010-05-07Add the option to show also the UVs of other selected objects in image Toni Alatalo
space / uv edit. The code was already there, and the option as a rna bool, but no ui to set it. Matt figured that the View menu in image space next to other uv stuff, which only shows when UVs are edited, is the right place. Works so that when entering editmode for an object to edit UVs, when have also other objects selected and this option on, also the UVs of those other objects are shown in the image view. Liquidape asked this on IRC, and we thought the feat doesn't exist, so I looked out of curiosity in the code as was thinking it would be easy to add. Was surprised to find it there already :) First time that did anything with 2.5, was sure fun enough to search thru the code to figure out how things work. Adding this ui thing proved to be exactly as trivial and nice as it should, and the things under the hood seemed nice, yay!
2010-05-03misc uninteresting stuff (killing time at airport commit)Campbell Barton
- pep8 updates - RNA_TwoDFilterActuator --> RNA_Filter2DActuator - minor changes to conolse namespace init.
2010-04-21Save a Copy, (operator option for save as),Campbell Barton
Too many times we have images in blend files that are just saved renders.
2010-04-17- for BGE mouse and keyboard events use tuples rather then listsCampbell Barton
- pep8 corrections
2010-04-06Patch [#21750] Add luma waveform and vectorscope to image viewMatt Ebb
by Xavier Thomas This adds the waveform monitor and vectorscope to the image editor 'scopes' region, bringing it inline (plus a bit more) with sequence editor functionality, and a big step closer to the end goal of unifying the display code for image/ comp/sequence editor. It's non-intrusive, using the same code paths as the histogram. There's still room for more tweaks - I modified the original patch, changing the openGL immediate mode drawing of the waveform display to vertex arrays for speed optimisation. Xavier can look at doing this for the vectorscope now too. Thanks very much Xavier!
2010-04-04pep8 cleanupCampbell Barton
2010-04-01Some minor python UI script fixes.Brecht Van Lommel
2010-03-30* Assign weight from bones in weight paint mode now respects paint faceBrecht Van Lommel
mask, also avoid making vertex groups if they will not be filled. * Add back image pin option in image editor header. * Fix deep shadow not respecting Cast Buffer Shadows option. * Tangent space normal map baking should work again now. * Fix a problem with particle duplis, due to own bugfix for #20350, the problem for that seems to be in dupliverts, not particles. * Fix external multires data link getting lost on exiting editmode. (commits 27776,27777,27830,27840,27841,27862 by Brecht from render25 branch)
2010-03-30Fix [#21711] Position of 2d cursor is not displayed correctly and cannot be set Matt Ebb
in uv/image editor properties panel Note: Moved UV editor 2d cursor to SpaceImage rather than View2d, so it's more accessible to RNA.
2010-03-26Fix for ben dansie, incorrect gamma with render baking.Matt Ebb
Linear/gamma issues weren't really considered in baking yet.
2010-03-24fix for keying set rna path attribute and object select menu incorrect args ↵Campbell Barton
to UI func.
2010-03-24oops forgot this!Robert Holcomb