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
2015-04-27Cleanup: rename GRAB_POINTER -> GRAB_CURSORCampbell Barton
Term pointer is overloaded already.
2015-01-26UV Unwrap: Correct aspect was invertedCampbell Barton
2014-12-11Fix T42859 smart UV unwrap does not support aspect correction.Antony Riakiotakis
Can be considered TODO but it's not bad to support either. Also added RNA api to get aspect ratio of assigned UV image - returns aspect corrected image dimensions so needs adjustments for uv editing.
2014-10-31Cleanup: namingCampbell Barton
2014-10-31Texture Paint Add Simple UVs:Antony Riakiotakis
Add simple uvs now does a cube unwrap and pack operation. Result is not optimal by far but it should not result in crashes and it will be quite usable for simple cases.
2014-07-23Bake-API: Test for cyclic node connectionDalai Felinto
If the active image node contributes to the final material shader (meaning it's either directly or indirectly connected to an Output Node) the user will receive an alert about circular dependency. Similar to what we do for Blender internal the baking will still happen, but the user will receive the alert which should prevent the image saving to happen if the result was not intentional. Core function to check for node output written by Lukas Toenne. Reviewers: lukastoenne, campbellbarton Differential Revision: https://developer.blender.org/D673
2014-07-21Math Lib: rename mul_serie_m3 to mul_m3_series & reorder argsCampbell Barton
Importantly, reversed mul_serie_m3 argument order (so it matches the m4 function)
2014-07-20Math Lib: use variable length args for mul_serie_m3,m4 (instead of trailing ↵Campbell Barton
NULL's)
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-26Code cleanup: use 'const' for arrays (editors)Campbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-02-14Code cleanup: duplicate headersCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-23Cleanup: int/short to bool in BKE_cdderivedmesh.h functions (and TRUE/FALSE ↵Bastien Montagne
to true/false in code using them).
2013-12-09View3D API: rename view3d_camera_get to ED_view3d_camera_data_getCampbell Barton
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-10-26rename give_cursor to ED_view3d_cursor3d_getCampbell Barton
2013-09-11uv-pack operator: option to rotate uv islands to fit in the optimal ↵Campbell Barton
rectangle when packing.
2013-08-07code cleanup: more confusion with 0/NULL/falseCampbell Barton
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-06-24add api calls for BM_mesh_active_vert/edge_get.Campbell Barton
inspecting the edit-selection inline was cumbersome.
2013-05-21Related to #35452: show warning when unwrapping object with negative scale, sameBrecht Van Lommel
as we already do for non-uniform scale.
2013-05-10avoid customdata lookups for selection test/enable disable.Campbell Barton
also add uvedit_face_select_set, uvedit_edge_select_set, uvedit_uv_select_set - since quite a few areas where setting based on a boolean.
2013-05-08code cleanup: remove references to BLI_rand.hCampbell Barton
2013-05-03remove unused random number generator, thanks Bao2 for spotting.Campbell Barton
2013-05-01fix [#35164] UV unwrapping crash blenderCampbell Barton
(own fail with misuse of alloca)
2013-04-19uv project from camera now sets defaults so the image maps to the camera bounds,Campbell Barton
also rename newly added `Mesh Debug` -> `Mesh Analysis`
2013-04-19style cleanupCampbell Barton
2013-04-19Fix #35011: UV unwrap giving poor results for ngons.Brecht Van Lommel
Problem is that the scanfill result gives poorly shaped triangles, which is fine for OpenGL drawing but does not work well for unwrapping. Another problem was that it was doing random float offsets to avoid some degenerate cases, but this meant that unwrapping a part of a mesh or the whole thing could give different results for a UV island. Now UV unwrap does own triangulation of ngons.
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-16Random number generator: replace a bunch of usage of the global random numberBrecht Van Lommel
generator with a local one. It's not thread safe and will not give repeatable results, so in most cases it should not be used. Also fixes #34992 where the noise texture of a displacement modifier was not properly random in opengl animation render, because the seed got reset to a fixed value by an unrelated function while for final render it changed each frame.
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-05code cleanup: use bool's for vgroup and editmode.Campbell Barton
2013-03-27report [#34772] Incorrect aspect for tex mapping from camera viewCampbell Barton
There was no good way to UV project from a camera with non-square view-border without it stretching the image (even using 'Correct Aspect'). While this isnt a bug its useful to do a UV projection without stretching the image, added 'Camera Bounds' option.
2013-03-27uv project tool: take scene aspect into account when calculating the camera ↵Campbell Barton
bounds.
2013-03-22python api: add functionality to remove uv-texture layers.Campbell Barton
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-02-17code cleanup: operator/function mismatchCampbell Barton
2013-01-15style cleanupCampbell Barton
2013-01-15Fix #33875: minimize stretch UV tool incremented in steps of 0.2 instead of 0.1,Brecht Van Lommel
and now also shows the shortcut keys for setting the blend value.
2013-01-14fix for own error with unwrap selection checking uvedit_have_selection() ↵Campbell Barton
failed with no UV layer. also add some safety checks for BM_ELEM_CD_GET_* macros.
2013-01-12minor speedup for construct_param_handle_subsurfed() break out of ↵Campbell Barton
texface_from_original_index() early and dont get the offset for each vertex.
2013-01-12reduce customdata lookups for UV drawing and tools.Campbell Barton
2013-01-12code cleanup: style and replace (float)sin, (float)cos with sinf, cosfCampbell Barton
2013-01-03fix bad left aligned text when zoomed out.Campbell Barton
also minor change to cylinder_project_exec() - delay getting the MTFace.
2012-12-27Fix: rotation of uv islands during stitch did not take uv aspect ratioAntony Riakiotakis
of image into account, distorting the islands. Now properly scale the components before rotating the island.
2012-12-17code cleanup: use 'const float *' when getting the 3d cursor and not editing it.Campbell Barton
2012-12-14style cleanupCampbell Barton
2012-12-13Part of bratwurst GSOC cleanup of subsurf unwrap code: Ommit subsurfAntony Riakiotakis
level in the operator and use the modifier level and subdivision type instead. Using subsurf only makes sense if the modifier is first so print an warning and turn off if this is not the case.