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
2019-03-08Fix T62317: missing Cycles viewport update when changing active camera.Brecht Van Lommel
2019-03-08Cleanup: spellingCampbell Barton
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Refactor CDData masks, to have one mask per mesh elem type.Bastien Montagne
We already have different storages for cddata of verts, edges etc., 'simply' do the same for the mask flags we use all around Blender code to request some data, or limit some operation to some layers, etc. Reason we need this is that some cddata types (like Normals) are actually shared between verts/polys/loops, and we don’t want to generate clnors everytime we request vnors! As a side note, this also does final fix to T59338, which was the trigger for this patch (need to request computed loop normals for another mesh than evaluated one). Reviewers: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D4407
2019-03-07Cleanup: use API to reset cursor rotationCampbell Barton
2019-03-073D View: view selected/all use empty object centerCampbell Barton
Empty object skipping now only skips the bounds, since you can select the empty by it's center point and want to navigate to it. Also share object skipping check between view all/selected.
2019-03-07Fix "View All" potential min/max use when all objects were skippedCampbell Barton
2019-03-07Fix 3D "View Selected" skip camera optionCampbell Barton
2019-03-073D View: skip hidden image empties when viewing allCampbell Barton
D4463 by @pablodp606
2019-03-07DRW: show image empty frame when the 'side' is hiddenCampbell Barton
This behavior matches back-face culled mesh objects, where the wire outline doesn't depend on the viewing angle. Applying this before empty visibility check for view framing, since it's strange if viewing all gives different results depending on back-face culling.
2019-03-06UI: Name changesWilliam Reynish
In accordance with T56648. - Render Border -> Render Region - Clipping Border -> Clipping Region - Instancing 'Scale' -> 'Scale to Face Size' - Instancing 'Rotation' -> 'Align to Vertex Normal' Python API is left as-is, for now. DIfferential revision: D4435
2019-03-05Fix T62202: circle select does not work on hair pointsJacques Lucke
2019-03-05Tool System: use set/add/subtract for all circle select operatorsCampbell Barton
This applies changes from the 3D view circle select to other operators.
2019-03-05Cleanup: rename RENDER_OVERRIDE -> HIDE_OVERLAYSCampbell Barton
Match the UI naming (changed since 2.7x).
2019-03-053D View: move pre-select mesh element access into gizmo APICampbell Barton
2019-03-03DNA: rename BezTriple alfa to tiltCampbell Barton
2019-03-03UI: subtle outline for negative 3D view gizmo axesCampbell Barton
Without this they can blend in visually with the backdrop of the gizmo.
2019-03-03UI: use grey for 3D view axis gizmo highlightCampbell Barton
Using white with low alpha made it hard to use on a white background. Since the axes themselves highlight to white.
2019-03-03UI: increase 3D view icon contrast over light colorsCampbell Barton
- Avoid using white with low alpha to make grey. Note that this is the second time we've run into this problem: T59626. - Use a light backdrop when the icons are dark so they're visible over a black background.
2019-03-01Cleanup: use unsigned types in 3D view editorCampbell Barton
2019-03-01Tool System: add a mode option to 3D view circle selectCampbell Barton
Support only basic operations: new/add/subtract.
2019-03-013D View: avoid redundant circle select updatesCampbell Barton
This refreshes on cursor motion so it's worth avoiding redundant updates, especially for multi-object edit-modes where many objects aren't even near the object being selected. This commit also moves to passing eSelectOp to circle select functions in preparation for adding a select mode tool option.
2019-03-013D View: move particle circle select out of object mode loopCampbell Barton
This doesn't support multi-object editing, no reason to check others.
2019-03-01Fix object mode lasso de-selectionCampbell Barton
Lasso actions that only de-selected were handled as if nothing changed.
2019-03-01RNA: move cursor into own structCampbell Barton
Without this it's impractical to subscribe to any change to the cursor. Fixes T61969 by having gizmos update on any change to the cursor.
2019-02-28Fix T61994: crash when box selecting instancesJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4427
2019-02-28Fix T61878: Selection does not allways work in wireframe modeClément Foucault
This draw surfaces if the xray option is disabled even in wireframe mode.
2019-02-283D View: only calculate view center when neededCampbell Barton
When orbit around selection was enabled the selection center was being calculated even when it wasn't needed.
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-26Fix (unreported): Snap to grid not considering Focal Length.mano-wii
2019-02-253D View: support for editing cursor rotationCampbell Barton
Add buttons for editing the cursor rotation as well as rotation modes, similar to object and pose bones.
2019-02-21UI: better widget drawing with thick line width.Harley Acheson
When the line width was larger than the UI scale, there was not enough space for thicker widget outlines to draw properly. Now widgets are made a little larger to accommodate the thicker outlines. Differential Revision: https://developer.blender.org/D4368
2019-02-21Fix T61786: local view not exiting correctly after recent changes.Brecht Van Lommel
2019-02-20Local view: add operator property to disable framing selected objects.Brecht Van Lommel
Default behavior is unchanged still, but can be changed in the keymap. From testing I think this needs better visual feedback to indicate that you are in local view, if the view does not move it's not as clear.
2019-02-20Local view: don't restore selection when exiting local view.Brecht Van Lommel
Losing the selection can be inconvenient, and it's easy to select all local objects before exiting local view if needed.
2019-02-20Measure Tool: delete now removes protractor when it's activeCampbell Barton
2019-02-20Measure Tool: use x/del key to remove the active rulerCampbell Barton
Dragging outside the view was only meant to be a temporary workaround.
2019-02-20WM: support dynamic keymap handlersCampbell Barton
Add getter callback support for 'WM_HANDLER_TYPE_KEYMAP' type handlers this is needed for key-maps which change based on the active tool. Replaces 'sneaky_handler' hack which temporarily inserted a handler.
2019-02-19Fix T61714, T61712: crash reloading images after recent changes.Brecht Van Lommel
Now that we are looping over all image users that were previously ignored, it shows some scene pointers are invalid. Always clear them on load, and don't keep scene permanently in the image user except for the image editor. Otherwise the pointer can go out of date.
2019-02-19DNA: rename select_color -> select_idCampbell Barton
The term color is misleading, it's an integer id that happens to be written to a color in some cases, then converted back to an integer.
2019-02-18Wireframe: Fix selection broken since recent wireframe refactorClément Foucault
2019-02-18DNA: rename Object.size -> scaleCampbell Barton
Resolves a common cause of confusion.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-17Cleanup: rename Mesh.edit_btmesh -> edit_meshCampbell Barton
When bmesh was in a branch we had both edit_mesh and edit_btmesh, now there is no reason to use this odd name.
2019-02-17Cleanup: move object bounding-box into runtime structCampbell Barton
2019-02-16DNA: rename near/far -> clip_start/clip_endCampbell Barton
Rename for Camera, View3D (also CameraParams & Render not DNA)
2019-02-14Fix T56665: Assert when selecting objectCampbell Barton
Selecting object w/ a different mode missed refreshing the screen areas current tool.
2019-02-10Cleanup: use shorter name for shader configCampbell Barton
The struct name is descriptive, this isn't going to be confused with other variables.