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-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-01-27Bullet-proofing mesh vertex group RNA wrapping, after double checkingJoshua Leung
on whether vertexgroup weight animation worked
2011-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
2011-01-11revert own recent fix for collection length, this is incorrect, the bug ↵Campbell Barton
needs to be fixed elsewhere.
2011-01-11remove misc unused vars and correct theme name for face angles.Campbell Barton
2011-01-11- bpy.data.lamps.new() now takes a type argument since lamp type also sets ↵Campbell Barton
class type this avoids needing to use ugly lamp.type_recast() after changing type. - default vertex color layer name was UTTex when added from python.
2011-01-10rna collection sizes for face data layers were invalid.Campbell Barton
This meant python could do... mesh.uv_textures[0] ...on a mesh with 1 vertex color layer instead.
2011-01-10comment/remove various unused vars,Campbell Barton
also make rna function for new images require width and hight args.
2011-01-09remove unused vars, comment some which look like they could be useful still. ↵Campbell Barton
have makesrna.c omit unused _data definitions for rna funcs with no args.
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-06Todo item:Ton Roosendaal
Auto-texture space now is more responsive and correct. - on transforming it, the buttons get redrawn to show option was reset - on enabling option, texture space is recalculated/reset
2011-01-03DAG_id_tag_update was being called with non object ID's and OB_RECALC_* ↵Campbell Barton
flags which only apply to objects. harmless but misleading.
2010-12-31Continue from my commit r33952, which disallowed floats to be wrapped as ints.Campbell Barton
this missed some cases, now also disallow ints to be wrapped as floats. This commit also exposed a number of cases where ints/floats were incorrectly wrapped. Bugs like [#25416] wont slip through the cracks anymore.
2010-12-20fix [#25283] Edge length display difficult to readCampbell Barton
- made theme colors for mesh edge len & face angle/area display. - use %g rather then %f for float display, trims unneeded zeros. - store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context. - use unsigned char for more color functions, avoids casting to glColorubv().
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-12-04Give functions that use printf style formatting GCC format attributes so if ↵Campbell Barton
incorrect formatting is used the compiler will warn of this. found & fixed 2x incorrect formatting args.
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-11-15- 'matrix_basis' for objects and pose bones, this is an alternative access ↵Campbell Barton
to directly adjusting the loc/scale/rot. - pose bone 'matrix_local' wasn't well named since it didn't work like object or regular bones. - pose bone matrix values for rna had array access rather then 4x4 matrix access. note: for pose bones update scripts by renaming 'matrix_local' --> 'matrix_basis'
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-07bugfix [#24168] verts[] was replaced with vertices[] but gives the old info ↵Campbell Barton
to user.
2010-09-03use set as a suffix (matches operators)Campbell Barton
- set_frame() --> frame_set() - set_context_pointer() --> context_pointer_set() material adding works for curves and metaballs, new function to remove materials. materials.link() didnt well fit how this is used elsewhere - order matters - it can be linked more than once. - remove(material), isnt that useful since you need to manage indicies. ... use list style functions instead. materials.append(mat) / materials.pop(index)
2010-08-27Fix for Mesh.uv_textures.new(name="my_uv") returning the wrong uvmap - ↵Dalai Felinto
reported by Vitor Balbio - not in tracker. The code was taking the last layer, but that is only valid if the mesh has only one kind of CustomData types (e.g. only UVMaps or only VertexColors). The solution I found is to call CustomData_get_named_layer_index instead. To avoid some situations where an uv with this name may already exist and the number of UVs is already the limit we are returning a CDL only when the texture is properly created. As a bonus that also fixes the same problem with VertexColor.
2010-08-27rna api changesCampbell Barton
- mesh.add_geometry(v, e, f) --> mesh.vertices.add(tot), mesh.edges.add(tot), mesh.faces.add(tot) - mesh.add_material(mat) --> mesh.materials.link(mat) changed material.link so it always adds a material even if it exists in the list, this behavior is good for users but not scripts since it can mess up indicies (some formats may have the same material set twice).
2010-08-25Bugfix: [#23472] mesh.uv_textures.new() creates a MeshColorLayerDalai Felinto
2010-08-24py/rna remove functions now all work in a similar way.Campbell Barton
- some remove() functions took an int argument rather then the item to remove. - disallow None argument. - raise an error if the item isnt in the collection.
2010-08-24move more active variables to be nested in collections.Campbell Barton
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-20fixed [#23400] Unable to import *.3ds/*.obj files with texturesCampbell Barton
changed some rna names to be more consistant - use_texture -> use_image, since it sets if 'image' is used. - use_map_color_diff -> use_map_color_diffuse since diffuse is used elsewhere in the same type.
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-19rna rename Spline/Curve/Text3DCampbell Barton
2010-08-19more rna renaming for non-animated properties: mainly Texface, Particle & ↵Campbell Barton
Pointcache changes. Changed some names when applying. - render was use_render, changed to show_viewport so call it show_render - texface shadow was use_shadow_face, changed to use_shadow_cast since this only affects casting. - transp was alpha_mode, changed to blend_type since its similar to other overlay blending where this property name is used.
2010-08-18more rna renaming.Campbell Barton
2010-08-18rna renaming, still only adjusting properties that wont be animated (at ↵Campbell Barton
least its very unlikely).
2010-08-18rna naming: verts -> verticesCampbell Barton
2010-08-17apply rna rename most of the show_*, names.Campbell Barton
2010-08-13- remove WM_operatortype_exists since its almost the same as ↵Campbell Barton
WM_operatortype_find - hopefully fix reported problem with MSVC.
2010-08-03rna pointer poll function, not used yet.Campbell Barton
2010-07-302.5: remove vertex normal flip option, this is more harmful than helpfulBrecht Van Lommel
in many cases, and also gave incorrect rim lighting.
2010-07-26[#23008] Wrong numbers in Edge LengthCampbell Barton
- tooltips didnt say how to get global values. - save a vector addition per vertex when drawing stats by using mul_mat3_m4_v3() instead of mul_m4_v3()
2010-07-24- typo: from "lenght" to "length" in rnaLuca Bonavita
fixes [#22997] typo in autocomplete/python api name in bpy.context.active_object.data.draw_edge_lenght not length https://projects.blender.org/tracker/index.php?func=detail&aid=22997&group_id=9&atid=498 no addons are affected by this change - also found a typo in particles toolbar
2010-07-15Apply first pass of edits to rna values from rna_booleans.txt.Campbell Barton
These are not animated and are best not change names like this too late in the release. ActionGroup.selected -> select: boolean Action Group is selected BezierSplinePoint.hidden -> hide: boolean Visibility status BezierSplinePoint.selected_control_point -> select_control_point: boolean Control point selection status BezierSplinePoint.selected_handle1 -> select_left_handle: boolean Handle 1 selection status BezierSplinePoint.selected_handle2 -> select_right_handle: boolean Handle 2 selection status Bone.restrict_select -> hide_select: boolean Bone is able to be selected Bone.selected -> select: boolean CurveMapPoint.selected -> select: boolean Selection state of the curve point EditBone.restrict_select -> hide_select: boolean Bone is able to be selected EditBone.selected -> select: boolean EditBone.selected_head -> select_head: boolean EditBone.selected_tail -> select_tail: boolean EditBone.locked -> lock: boolean Bone is not able to be transformed when in Edit Mode EditBone.hidden -> hide: boolean Bone is not visible when in Edit Mode NEGATE * FCurve.disabled -> enabled: boolean F-Curve could not be evaluated in past, so should be skipped when evaluating FCurve.locked -> lock: boolean F-Curve's settings cannot be edited FCurve.muted -> mute: boolean F-Curve is not evaluated FCurve.selected -> select: boolean F-Curve is selected for editing NEGATE * FCurve.visible -> hide: boolean F-Curve and its keyframes are shown in the Graph Editor graphs FCurveSample.selected -> select: boolean Selection status GPencilFrame.selected -> select: boolean Frame is selected for editing in the DopeSheet GPencilLayer.locked -> lock: boolean Protect layer from further editing and/or frame changes GPencilLayer.selected -> select: boolean Layer is selected for editing in the DopeSheet Keyframe.selected -> select: boolean Control point selection status Keyframe.selected_handle1 -> select_left_handle: boolean Handle 1 selection status Keyframe.selected_handle2 -> select_right_handle: boolean Handle 2 selection status MeshEdge.selected -> select: boolean MeshEdge.hidden -> hide: boolean MeshFace.hidden -> hide: boolean MeshFace.selected -> select: boolean MeshVertex.hidden -> hide: boolean MeshVertex.selected -> select: boolean MotionPathVert.selected -> select: boolean Path point is selected for editing NlaStrip.selected -> select: boolean NLA Strip is selected NlaTrack.locked -> lock: boolean NLA Track is locked NlaTrack.muted -> mute: boolean NLA Track is not evaluated NlaTrack.selected -> select: boolean NLA Track is selected Object.restrict_render -> hide_render: boolean Restrict renderability Object.restrict_select -> hide_select: boolean Restrict selection in the viewport Object.restrict_view -> hide: boolean Restrict visibility in the viewport Object.selected -> select: boolean Object selection state ObjectBase.selected -> select: boolean Object base selection state PoseBone.selected -> select: boolean Sequence.right_handle_selected -> select_right_handle: boolean Sequence.selected -> select: boolean SplinePoint.selected -> select_control_point: boolean Selection status TimelineMarker.selected -> select: boolean Marker selection state Sequence.left_handle_selected -> select_left_handle: boolean ActionGroup.locked -> lock: boolean Action Group is locked Bone.hidden -> hide: boolean Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes) SplinePoint.hidden -> hide: boolean Visibility status FModifier.muted -> mute: boolean F-Curve Modifier will not be evaluated note: rebaned uv_select to select_uv
2010-06-13Fixed bug ##22580, 'All Edges' display doesn't work unless enter & exit edit ↵Nicholas Bishop
mode for mesh * Pass the appropriate mesh flag into dm->drawEdges * Added the object and draw update notifiers to the RNA property
2010-05-04Great patch by Harley Acheson fixing about 80 typos and spellingDaniel Salazar
mistakes in makesrna
2010-04-12Fix [#21953] Texture space size seems not updated constantlyMatt Ebb
2010-04-12BGE: TexFace panel (from patch #21780 from Mitchell Stokes + some changes)Dalai Felinto
the patch exposes a rna property to get the active edit mode face. This is a hack. However it's a small patch (a.k.a. easy to revert later if needed). The official plan is to wait for BMesh before tackling it properly. Nevertheless TexFace panel is really important for BGE. Missing: operators to copy the current parameters to other selected faces. * note: what I changed from the original patch is the UI script. The pool wasn't defined and it was using tabs.
2010-03-24remove unused rna includesCampbell Barton
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-05Fix #21442: RNA mesh texture face layer was giving corrupt data whileBrecht Van Lommel
in edit mode. Accessing this data would require editmesh wrapping, so for now just don't allowed this to be accessed in edit mode.
2010-02-21Fix #21214 Changing frame range on render panel doesn't update on timeline...Elia Sarti
Was missing notifier Also made a description slightly more consistent